Search Results

Search: Posts Made By: swkambli
2,480
Posted By swkambli
formatting output
my script is as follows
cnt=`ps -ef |grep pmon|grep -v grep|awk 'END {{print NR}}'`
cnt2=`ps -ef |grep tns|grep -v grep|awk 'END {{print NR}}'`
if [ $cnt = 2 ]
then
if [ $cnt2 = 1 ]
...
Showing results 1 to 1 of 1

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