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

learn more… | top users | synonyms

0
votes
2answers
4k views

Who is user 500?

after runnning ps aux command I see this line 500 23931 0.0 0.6 63764 6880 ? S 08:49 0:01 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/config I'm a beginner in this whole vps ...
0
votes
1answer
864 views

RHEL/Apache - meaning of WCHAN=“semtim”

What is the meaning of WCHAN="semtim"? ps -ylC httpd S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD S 0 25330 1 0 78 0 16168 170563 - ? 00:00:14 httpd R ...
0
votes
2answers
513 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
93 views

Accurately get memory usage on Linux

I am trying to incorporate this feature into a script I am writing. From what I understand "free -m" does not report accurately. From what I understand the memory is used, Linux does not "free" it ...
0
votes
2answers
131 views

Getting Running Script Names Via PS

I need to get a list of all running PHP scripts but piping PS thru grep just gives me a list of all references to PHP files How do I accomplish this? Is this even possible? ...
0
votes
3answers
689 views

Excluding child processes from ps

Background: To reload app configuration I need to kill -HUP the parent processes' PIDs. To find PIDs I currently use ps auxf | grep gunicorn with the following example output: $ ps auxf | grep ...
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 ...
0
votes
1answer
55 views

Identifying particular node processes in htop

I have a app that starts a number of nodeJs processes. The processes are not all running the same JS code, there are about three types of 'roles' for the processes. Currently if I run something like ...
0
votes
1answer
24 views

Monitoring Port Requests for Command

I have a command which I am running that starts a process listening on a port. I am currently getting the following error. socket exception: Address already in use The problem is, I don't know what ...
0
votes
1answer
74 views

Finding out total PHP usage in MB's

I'm trying to find out total memory used by all PHP processes on my CentOS server. After some grepping and awking this is my final command. ps -e | grep php | awk '{print $1}' | xargs pmap | grep ...
0
votes
1answer
131 views

ps throws error /proc/PID: No such file or directory

Can you please tell me why "ps auxw" returned me the following error ? /proc/15067: No such file or directory The following is the process which was running at that time and was listed by PS. ftpib ...
0
votes
0answers
2 views

ps wchan column kernel functions

I have a situation were php-fpm stops processing requests, and when I do a ps there are over 200 php-fpm processes in a sig_something_wait. What I am looking for is good resource that lists the ...
0
votes
0answers
27 views

Invalid format output from ps etime

We have some scripts that run to detect long running processes. It works using ps and etime e.g ps -eo uid,pid,etime This part works fine except that occasionally we get an etime back with an ...
0
votes
0answers
187 views

Docker memory leak?

I'm running Docker 0.9.0 uname -a Linux 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I have 40 containers running at once. Each container is fairly ...
0
votes
0answers
51 views

ps / top crash on call with Signal 11 SEGV

since some days i have a weird issue using ps and top. Each time i try to call them via script or command line, they crash with "Signal 11 (SEGV)" and i didn't manage to repair that. I dont even know, ...
0
votes
0answers
25 views

different result of counting the number of processes with ps command

Script A : #!/bin/bash cmdname=$1 process_num=$(ps -e | grep $cmdname | wc -l) timestamp=$(date +%s) echo -e "$timestamp\t process_num=$process_num" Script B: #!/bin/bash cmdname=$1 ...
0
votes
1answer
459 views

load-causing processes disappearing from “top” ps -o pcpu shows bogus numbers

I administer a large number of servers, and I have this problem only with Ubuntu 10.04 LTS: I run a server under normal load (say load average 3.0 on an 8-core server). The "top" command shows ...
0
votes
1answer
403 views

Enable foreign users processes listing

how can I enable under Debian 6 to list the processes of a foreign user? I have the user nagios but this user can only list his own processes. Br
0
votes
1answer
165 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 ...
0
votes
1answer
141 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
votes
3answers
116 views

How to solve memory issues in Linux

How to get details of a process that is taking RAM. From top command i have found that Mysql is taking too much ram how can i know why Mysql is taking too much ram far from usual behavior? Is there ...