1833772 Members
2336 Online
110063 Solutions
New Discussion

help on ps command

 
Chakravarthi
Trusted Contributor

help on ps command

Hi all,

What ever process i can see using

ps -efl | grep cant be viewed, if the following command is used

ps -eo " pid pcpu" -o comm | grep < process name>

do i need to use any additional paramaters,

the process which i'm checking is started on command line

regards
chakri
4 REPLIES 4
H.Merijn Brand (procura
Honored Contributor

Re: help on ps command

I think -o needs $UNIX95 to be set

try

# UNIX95=1 ps -eo " pid pcpu" -o comm
Enjoy, Have FUN! H.Merijn
T G Manikandan
Honored Contributor

Re: help on ps command

memory usage
#UNIX95= ps -e -o ruser,vsz=Kbytes -o args

cpu usage
#UNIX95= ps -e -o ruser,pcpu,comm -o args
T G Manikandan
Honored Contributor

Re: help on ps command

chak,
It seems there are lot of threads on the same issue,requesting you to make sure that you complete the future questions related to a issue in a single post.




Thanks
FireDragon.Xu
Advisor

Re: help on ps command

Hi,all:
What is that mean:
#UNIX95= ps -e -o ruser,vsz=Kbytes -o args


Tks.
I believe i can fly!