Search Results

Search: Posts Made By: centurygalactus
64,519
Posted By centurygalactus
script to monitor process running on server and posting a mail if any process is dead
Hi, This is the answer to your query.

bash-3.00$ vi ProcessMonitoring.sh
#!/bin/ksh
puser=1
for name in `cat perf_listfile`
do
puser=`ps -ef | grep $name |grep root | awk ' {print $1}'`...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy