Questions tagged [ps]

In most Unix-like operating systems, the "ps" program displays the currently-running processes.

Filter by
Sorted by
Tagged with
63 votes
8 answers
24k views

How to prevent "ps" reporting its own process?

$ ps | grep django 28006 ttys004 0:01.12 /usr/bin/python bin/django celeryd --beat 51393 ttys005 0:01.45 /usr/bin/python bin/django celeryd -l INFO 51472 ttys005 0:01.29 /usr/bin/python bin/...
Steve Bennett's user avatar
21 votes
2 answers
23k views

How is memory usage reported in Linux?

Using ps, I can see the size, the vsize (same as top's VIRT?), and the rss (same as top's RES?). (One more I see in top is SHR.) Could someone summarize for me what these different fields mean?
Jim Hunziker's user avatar
  • 1,862
6 votes
3 answers
3k views

Wchan section in ps output not showing anything

I know that if a process go into D state then it means that it is in uninterruptable state. The process can not be killed by any signal. It will only come out of that state on reboot or if I/O wait is ...
shivams's user avatar
  • 499
4 votes
1 answer
2k views

How to get /proc/[pid]/cmdline to contain command arguments?

I am running into an issue where some of my Ubuntu/Debian servers do not show the arguments passed to rake in either top or ps. I have tracked this problem down to a variation in output given by /...
wbharding's user avatar
  • 441
3 votes
1 answer
898 views

top, w, ps showing wrong CPU times

I've spotted this trait recently on some of my Ubuntu servers (10.04.2) on Amazon EC2 (not noticed this on any physical boxes), and can't quite comprehend how it's getting these figures. They can't be ...
dannosaur's user avatar
  • 993
1 vote
2 answers
360 views

How may I know the amount of memory used by each one of my apache sites?

When I run ps aux I get the following process table http://pastebin.com/NJsASBek that shows how much memory is being used by each one of the subprocess. We can see apache proceess are shown like this: ...
quarry32's user avatar
  • 255
0 votes
2 answers
13k views

How can you see clearly process data from ps -u $user?

The question is based on this thread. Problem: to find an installation within the process data I would like to know how you can see from the following data that I have the updates of MacPorts' ports ...
Léo Léopold Hertz 준영's user avatar