Super User is a question and answer site for computer enthusiasts and power users. 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

im on a red hat server and i did ps -a and see all running processes.

CMD> ps -a
  PID TTY          TIME CMD
 1857 pts/5    00:00:00 ps
 9011 pts/1    00:00:00 su
 9097 pts/1    00:00:00 csh
20515 pts/1    00:00:00 su
20658 pts/1    00:00:00 bash

How can I get more information on these processes so i know, per say, which program name is associated with these pids?

share|improve this question
You just need a few more args. Try 'ps aux' or 'pstree' may be more helpful. – Spencer5051 Jan 30 '14 at 21:23
up vote 0 down vote accepted

If you still want to use ps, then you can use:

ps aux

Explanation of the parameters:

  • a: lists processes spawned by any user (by default it only displays your processes)
  • x: lists processes without a TTY too, for example processes started by automatic runscripts and/or internal system processes
  • u: displays more information, like the user who started the process, CPU/MEM usage and much more things.

You can find more information about ps in its man page. There's plenty of stuff.

If you prefer a more an interactive solution (which allows you to kill processes, sort them or more), you can try top, which looks like this: top

Or htop, which is easier to use and looks really cool: htop

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .