Top "Ps" questions

ps is the UNIX command for retreiving process information.

ps: Clean way to only get parent processes?

I use ps ef and ps rf a lot. Here is a sample output for ps rf: PID TTY STAT …

linux bash shell command-line ps
how do I get the process list in Python?

How do I get a process list of all running processes from Python, on Unix, containing then name of the …

python unix kill ps processlist
How to display the current process tree of a bash session?

I would like to create a bash alias that gives me the process tree from the current bash session I …

bash process vi ps
ps aux | grep returns pid for itself too

I am using this command to get the process ID of another command: ps aux | grep 7000.conf | awk '{print $2}…

bash pid ps
How to change argv0 in bash so command shows up with different name in ps?

In a C program I can write argv[0] and the new name shows up in a ps listing. How can …

bash argv ps
How to always cut the PID from `ps aux` command?

I'd like to get the pid from my processes. I do ps aux | cut -d ' ' -f 2 but I …

grep cut ps
How to get rid of the headers in a ps command in Mac OS X ?

I use a specific ps command namely ps -p <pid> -o %cpu, %mem which gives me a result …

macos bash shell ps
How to get all process ids without ps command on Linux

How to get all process ids (pid) (similar to: $ ps aux) but without using ps.

linux shell command ps
Extend ps output to more than 80 characters in Solaris 8

How do you extend the output of ps -fe in Solaris so that it displays more than 80 characters? My process …

shell unix solaris ps
How do I get the full path for a process on OS X?

I know that I can get the PID for a process by using ps, but how to a find the …

macos process path pid ps