Search Results

Search: Posts Made By: st11669
2,293
Posted By st11669
Tried it does not work in RHEL 5.
Tried it does not work in RHEL 5.
2,293
Posted By st11669
I tried it, it does not make any difference.
I tried it, it does not make any difference.
2,293
Posted By st11669
cat tt11.ksh #!/bin/ksh ps -eaf |grep...
cat tt11.ksh
#!/bin/ksh
ps -eaf |grep tt11.ksh|grep -v grep
count=`ps -eaf |grep tt11.ksh|grep -v grep`
echo ""
echo "$count"
echo "----"

[itmuser@njctivtemspr01 scripts]$ ./tt11.ksh...
2,293
Posted By st11669
Strange behavior returning incorrect count
On AIX When I Run the commands below I get -

cat tt11.ksh

#!/bin/ksh
ps -eaf |grep tt11.ksh|grep -v grep|wc -l
count=`ps -eaf |grep tt11.ksh|grep -v grep|wc -l`
echo "value of count is...
Showing results 1 to 4 of 4

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