Tuesday, February 25, 2014

                            PROCESS LIST : ps COMMAND
In embedded linux system It is often required to see the list of process which is running on the embedded linux system . In linux it is possible to generate a process  list by writing the following command.
ps  -[option ]
option consist of
-a : list of information about all the process except group loader/process
-A : list of information of all the process
-e :  list of information of all the process which are running
-d: list of information about all the process except session loader
-f : generate a full list
-j : list of session id and group id
-l : generate a long list

it is often used one or more option in together.  Most of the cases I use ps -ef  command to generate a
list which contain all the process those are running
More nicely
ps -ef | grep process_name_to see > processname.txt

which will write the desired process status into destination file.