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

learn more… | top users | synonyms

3
votes
1answer
841 views

Weird process CPU time output on Ubuntu under Amazon EC2

I have just started a large instance using ami-fa01f193 AMI. When I use ps aux, a bunch of random processes will show HUGE numbers for the CPU time used. Looks like some sort of overflow. Did someone ...
1
vote
4answers
904 views

“ps -ew” won't show wide output

It only shows the first 15 characters from /proc/pid/stat. But "ps -w pid" shows wide output. Why? Is this a bug? Thanks.
2
votes
2answers
1k views

How do get apache display url request in Top and PS?

Is there a way to get apache to display the url that it is handling in top and ps? This would help us nail down performance issues much more faster. Thanks.
0
votes
2answers
461 views

What is the meaning of this result from running 'lsof -i:8080'?

When I run the following command: lsof -i:8080 This is the result: node 32419 root 6u IPv4 122865 TCP localhost.localdomain:webcache (LISTEN) That result is different from that of ...
0
votes
1answer
163 views

ps segfaults on CentOS

I have a CentOS- 5.5 server with python2.6 installed from epel repo(disabled by default). It keeps segfaulting. I also have maatkit from epel repo installed. In addition, am running percona as a ...
4
votes
2answers
602 views

Linux: ps -awx vs. ps -awwx

Does anyone know the difference of ps -awx vs. ps -awwx? I'm tracking down some processes, and I see significantly more information when I add an additional "w". Does this work like in other cases ...
0
votes
1answer
137 views

After updating debian lenny, ps stops recognising my users

Since upgrading my debian lenny box with apt-get, ps seems to be behaving strangely, and also if i run top i see under the user column the ids, not the names. whoami => foo ps -U foo => ERROR: ...
1
vote
4answers
692 views

ps aux as non-root doesn't show all processes

i'm using an ubuntu 10.04 server... when i run ps aux as root i see all processes when i run ps aux as nonroot i see JUST the processes of the current user after a bit of research i found the ...
1
vote
5answers
234 views

What does “-k start” mean in the output of ps command

I try to run an apache instance. It doesn't run properly. I am trying to get some diagnostic information. I gave ps command and the apache instance that don't run properly are output with -k start. ...
2
votes
2answers
2k views

Monitor all newly spawned processes on a Linux machine

Sometimes a process comes and goes faster than I can ps aux, I tried watch -d -n0.1 "ps aux | tail" but again, that's restricted to 1/10th of a second. What I really want is to run a command and ...
3
votes
4answers
195 views

I want to find something and kill it

I keep running these two commands over and over: $ ps aux | grep php | grep -v grep www-data 3663 100 14.8 328620 304900 ? R 12:56 0:54 php /home/jason/projects/mcif/./symfony ...
1
vote
3answers
1k views

Can 'ps' show me only all processes I own, plus all their ancestors, in tree format?

Here's what I want to do: I want to get a tree-formatted list of processes from ps (as when you do ps auxwwf), but only of processes that are either owned by me, or are ancestors of processes owned by ...
4
votes
4answers
151 views

Is one type of options to ps preferred?

GNU ps supports BSD-style options, UNIX-style options, and GNU long options. Is using one of these types (in scripts and at the command line) preferred over the others? I get the impression from the ...
13
votes
3answers
6k views

Show full process name in top

I'm running a rails stack on ubuntu. When I ps -AF, I get a descriptive process name set by the apache module like 00:00:43 Rails: /var/www... which is really helpful in diagnosing load issues. ...
0
votes
2answers
866 views

In Linux, when I use the PS command, why do I see multiple lines for www-data?

I have a LAMP server that uses ubuntu 9.10, apache2, mysql5 and php5. When I login as root through the shell, I run a "ps aux" command and see something like the following www-data 3151 0.1 4.3 ...
2
votes
2answers
209 views

Provide Description for a Command for 'ps' Command Visibility

So the problem I want to find a tidy solution for is that when I log into a server (I have some Solaris and RHEL instances about), I try to find out what applications are running: $ ps -auxww | grep ...
3
votes
1answer
5k views

busybox - how to list process priority?

How to list process priority on an embedded linux with busybox?
1
vote
3answers
7k views

Getting full path of executables in ps auxwww output

Consider the following lines from a "ps auxwww" output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4262 0.0 0,1 76592 1104 s005 Ss 10:02am ...
10
votes
2answers
3k 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?
0
votes
2answers
3k 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 ...