PDA

View Full Version : [ubuntu] ps question



remo2
October 3rd, 2013, 07:19 PM
When you give the command ps aux, so what does that tell you?
How does the command ps-el differs from the previous one?
When you connect to server, and type the command ps aux, what happens?

Kirboosy
October 3rd, 2013, 08:06 PM
Welcome to the forums!

aux -- To see every process on the system using BSD syntax:


ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

ef -- To see every process on the system using standard syntax:


ps -ef
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD

Hope that helps!
~Caboose
PS if you would like more information try using the man pages.

man ps
Pressing 'Q' will close the man pages for you when you are done.

Lars Noodén
October 3rd, 2013, 08:18 PM
Two others that are useful would be pgrep and top.



pgrep -lf firefox