The following ksh script display all active ScanFileClient jobs
in the system. want to add more functionality to this script by adding a line number to all displayed jobs.
Any help is greatly appreciated.
ps -ef|grep -n ScanFileClient|grep -v grep|tr -s ' '|cut -d ' ' -f 3,11,12|xargs -n1 -i echo {} Active
This help me monitor how many a particular jobs are running.
in the system. want to add more functionality to this script by adding a line number to all displayed jobs.
Any help is greatly appreciated.
ps -ef|grep -n ScanFileClient|grep -v grep|tr -s ' '|cut -d ' ' -f 3,11,12|xargs -n1 -i echo {} Active
This help me monitor how many a particular jobs are running.