Application Control Scripts on Unix

ⅰ亾dé卋堺 提交于 2019-12-11 17:55:06

问题


I'm looking for some software that allows me to control a server based application, that is, there are bunch of interdependent processes that I'd like to be able to start up, shut down and monitor in a controller manner.

I've come across programs like Autosys, but that's expensive and very much over the top for what I want. I've also seen AppCtl, but that seems not to handle dependencies. Maybe it would be possible to repurpose the init scripts?

Oh, and as an added complication it should be able to run on a Solaris 10 or Linux box without installing any new binaries. On the boxes I've seen recently, that means shell scripts and Perl but not Python.

Do any such programs exist or do I need to dust off my copy of Programming Perl?


回答1:


Try Supervise, which is what qmail uses to keep track of it's services/startup applications:

http://cr.yp.to/daemontools/supervise.html




回答2:


G'day,

Have a look in /etc/init.d for something similar and use that as a basis. See also crontab, or maybe at, to run on a regular basis.

cheers,

Rob




回答3:


Solaris-only as far as I know, but wouldn't Solaris 10's SMF do what you want?




回答4:


Try GNU Batch. It looks like it supports what you need.

http://www.gnu.org/software/gnubatch/



来源:https://stackoverflow.com/questions/37851/application-control-scripts-on-unix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!