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

learn more… | top users | synonyms

2
votes
1answer
189 views

What's pgrp in this context?

gdb puts the debugged process in its own pgrp and sets the terminal to that pgrp. (Try e.g. ps j on the PIDs of gdb and your program being debugged.) Quoted from here. And what does it ...
2
votes
2answers
344 views

Where does the name in the “COMMAND” field of `ps aux` come from?

I understand it displays the command with arguments, or when unavailable the command in square brackets. But where do the names come from for processes such as passenger worker ruby instances, which ...
3
votes
3answers
562 views

How do I kill a runaway cronjob

I have a cronjob that is set to run constantly. It's a php file that streams data from twitter. However twitter goes down every once a while or we lose connection so I have cron checking back every ...
1
vote
1answer
149 views

Solaris ps output interpretation

I have a program that regularly forks and execs other programs. Occasionally, the programs that it starts get stuck in their processing and new programs never seem to start processing. We eventually ...
3
votes
2answers
1k 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
1k 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
2k 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
641 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
174 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
710 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
144 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
782 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
253 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. ...
3
votes
3answers
3k 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
198 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
2k 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
153 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 ...
17
votes
3answers
9k 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
920 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
213 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
6k views

busybox - how to list process priority?

How to list process priority on an embedded linux with busybox?
1
vote
4answers
9k 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 ...
12
votes
2answers
4k 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 ...