📄 3dmosmon.spec
字号:
Name: 3dmosmonSummary: 3dmosmonVersion: 0.2Release: 1Group: Applications/SystemCopyright: GPLPackager: M. RechenburgDistribution: RPM-SOURCE DISTRIBUTIONPrefix: /Provides: 3dmosmonrequires:Url: http://www.hick.org/~johnycsh/Vendor: johnycsh@crazy.hick.org%descriptiona 3D-cluster monitor for openMosix/Mosix cluster%postcat /etc/services | grep mosstatdif [ $? == 1 ]then echo "" >> /etc/services echo "mosstatd 10050/tcp #openMosix/Mosix stat daemon" >> /etc/servicesfi# configure inetd if the config-file is there ...... maybe running on inetdif [ -f /etc/inetd.conf ]; then cat /etc/inetd.conf | grep mosstatd >/dev/null 2>&1 # if there is no mosstatd severice already if [ $? == 1 ]; then echo "" >> /etc/inetd.conf echo "# mosstatd service for 3dmon" >> /etc/inetd.conf echo "mosstatd stream tcp nowait root /usr/bin/mosstatd" >> /etc/inetd.conf echo "" >> /etc/inetd.conf fi if [ -x /etc/init.d/inetd ]; then /etc/init.d/inetd restart >/dev/null 2>&1 fifi# restart xinetd ...... maybe running on xinetdif [ -x /etc/init.d/xinetd ]; then /etc/init.d/xinetd restart 2>&1fiecho "Installation finished!" > /dev/stderrecho "You can now execute :" > /dev/stderrecho "3dmosmon [mosstadt_server_hostname]" > /dev/stderrecho "e.g. 3dmosmon localhost" > /dev/stderrecho "" > /dev/stderrecho "If you have neiter xinetd nor inetd running" > /dev/stderrecho "you have to start the mosstatd-daemon manually" > /dev/stderrecho "by its init-script /etc/init.d/mosstatd" > /dev/stderrecho "e.g. /etc/init.d/mosstatd start" > /dev/stderrecho "" > /dev/stderr%Files/usr/local/3dmon/usr/bin/3dmosmon/usr/bin/mosstatd/etc/xinetd.d/mosstatd/etc/init.d/mosstatd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -