由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - script to restart a process, 巨菜问题
相关主题
A question about cron jobsolaris的ssh为什么后台执行的时候进程不退出?
俺的自白书about syslog.conf
关于man的小问题Re: Anybody knows how to block other people's "finger"?. Thanks a lot!
how to use batch file to ftp files in UNIX?[转载] 谁有win2000 or win98的启动盘
急,定时运行程序的问题大侠!!
[转载] Cron problem!怎么才能让netscape的字体变大?
cron, crontab or at?YAHOO MESSENGER 求教
at是每天运行定点吗? (转载)xterm 的外框不见了
相关话题的讨论汇总
话题: process话题: restart话题: 巨菜话题: script话题: exit
进入Unix版参与讨论
1 (共1页)
f**t
发帖数: 14
1
Hi, All:
Can anyone give a link or post a script to restart a process if the process
exit ?
In other words, I want the process always running, however, for some reasons,
if it exit, the script (which can be run in crontab) will restart the process
?
I did some google search, I cannot find it.
对不起大家, 巨菜问题
Thanks.
c****j
发帖数: 258
2
add it in /etc/inittab with action respawn

【在 f**t 的大作中提到】
: Hi, All:
: Can anyone give a link or post a script to restart a process if the process
: exit ?
: In other words, I want the process always running, however, for some reasons,
: if it exit, the script (which can be run in crontab) will restart the process
: ?
: I did some google search, I cannot find it.
: 对不起大家, 巨菜问题
: Thanks.

1 (共1页)
进入Unix版参与讨论
相关主题
xterm 的外框不见了急,定时运行程序的问题
how to repair?turn off a Sun workstation[转载] Cron problem!
土问题:关于重新启动比较大的unix server (转载)cron, crontab or at?
Need help: Apache 2 problem, Solaris 10at是每天运行定点吗? (转载)
A question about cron jobsolaris的ssh为什么后台执行的时候进程不退出?
俺的自白书about syslog.conf
关于man的小问题Re: Anybody knows how to block other people's "finger"?. Thanks a lot!
how to use batch file to ftp files in UNIX?[转载] 谁有win2000 or win98的启动盘
相关话题的讨论汇总
话题: process话题: restart话题: 巨菜话题: script话题: exit