Articles

Need a script for UNIX to monitor a process running for days

November 12, 2012 at 05:07:14
Specs: UNIX, 8 Gig

Hi All,

Please let me know if we can monitor a particular UNIX process via Script which are running from days and provide the output on another log file as 0 (Zero) for none and 1 for yes.

Regards,

Gaurav


See More: Need a script for UNIX to monitor a process running for days

Report •


#1
November 12, 2012 at 13:44:10

You maybe able to do it using the top command as a cron job.

top | grep process >> output_file

Add that as a cron job.

How do you know when a politician is lying? His mouth is moving.


Report •
Related Solutions


Ask Question