Unix ps command is used to list down the currently running process in the system.
There are various flags ps is used with . Most commonly used flag with ps are -e and -f
-e : This option is used to list all the threads
-f : This option is used to list the complete format of the process.
Usage :
ps -ef
This might return a huge list of processes , the ideal way is if you know the terms in the process format like "java" and grep on that .
Usage :
ps -ef | grep java
There are various flags ps is used with . Most commonly used flag with ps are -e and -f
-e : This option is used to list all the threads
-f : This option is used to list the complete format of the process.
Usage :
ps -ef
This might return a huge list of processes , the ideal way is if you know the terms in the process format like "java" and grep on that .
Usage :
ps -ef | grep java
No comments:
Post a Comment