Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

WHen i do ps -A

Then i get the list of all processes , Is there any tutorial which explains which process is doing what

share|improve this question

Usually you'll get an idea what each process does in its man page. Just run man $processname (e. g. man init) to open the corresponding man page.

Processes shown within square brackets in the output of ps -ef (e. g. [kthreadd]) are kernel process for which you won't find a man page.

share|improve this answer
Is there any place on web where i can get kernel process info – John Jun 28 '10 at 6:39
The kernel processes are usually described in the documentation of the respective kernel subsystem, see… – joschi Jun 28 '10 at 6:55

ps -A x will list the processes as well as the command line arguments used (which is really useful). netstat -tup will list all tcp and udp connections as well as the process driving those connections. Run as root if some process ids are blanked out. lsof -p pid will list all the open handles currently owned by the process associated with pid. This information usually encapsulates files and sockets, very useful for figuring if a process has got a lock on a file. grep, awk, sort and uniq are great tools for ordering and filtering the data generated by the ps, netstat and lsof commands.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.