freelanceprogrammers.org Forum Index » Perl
Hot to check a process is running; if not start it
Joined: 18 Mar 2005
Posts: 21
Hot to check a process is running; if not start it
Hi friends,
i wanted to create a daemon and wants to be assured it is running successfully.
so i think of making a script in perl which will see that the process is running
and if not start the process.
I need inputs on how to check , i know of the command like ps -ef and should i
store the output in a variable and do regex for the file name or what.
Pl. help
Regards,
Abhishek jain
[Non-text portions of this message have been removed]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







