What is the command for seeing a long listing of all the processes running on your unix box?

Ps -ef

Showing Answers 1 - 6 of 6 Answers

srivijaya goru

  • Aug 22nd, 2005
 

ps , ps -aux , ps -ef ,top 

sag

  • Jun 6th, 2007
 

It's Solaris hence your ps -aux won't work.  prstat is one more commonly used tool.

prstat is good command for displaying long listing of all process also it will display  Total number of  process  at  the  end  of  the  output . it will display in following manner.
PID    USERNAME     SIZE     RSS      STATE     PRI    NICE      TIME  CPU     PROCESS/NLWP 


I don't about NLWP at the end of this output, if anybod have knowledge please let me know.

shamithlal

  • Jun 22nd, 2010
 

"ps -aef"  must be good I guess..

For some services known you would use something like below..

ps -aef | grep -lp  ... lpd daemon would be running for printer services
ps -aef | grep -i smb ... smb would be running for samba service..
also
ps -aef | grep -i nmb ... also nmbd wud b running for samba
ps -aef | grep -i nfs ... nfsd daemon for NFS
ps -aef | grep -i yp ... ypserv daemon for NIS

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions