0
votes
2answers
93 views

Is there a top like tool that shows processes and ports, live?

I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process ...
0
votes
1answer
126 views

How filter top output by the COMMAND column?

I want get the same result when pressing u to filter by USER, but instead using the column COMMAND and of course, I need this live (I mean, updating constantly) ;) I'm on Ubuntu.
0
votes
0answers
168 views

Top shows md127_raid1 with high CPU load?

I have a new server, when I use "top" to see busy processes I usually see md127_raid1 either at the top or close to the top What is this process doing? How can I easily verify that the raid is ...
1
vote
1answer
494 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 ...
0
votes
1answer
73 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
3
votes
1answer
1k views

top process state column under FreeBSD

When running top interactively, I can see various words in the state column : nanslp, biord, select, uwait, lockf, pause, kqread, piperd, sbwait ... Some like nanslp or kqread are self ...
1
vote
1answer
123 views

ps -o pcpu on Debian Squeeze is giving meaningless numbers

I'm trying to get the CPU percentage for processes on a busy server out of ps, but it's giving me nonsensical numbers. Here's a truncated example: $ ps -eo pcpu,pid | sort -n %CPU PID ... 36.5 ...
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
-1
votes
1answer
568 views

What do negative numbers under TIME+ in htop mean?

What do the red negative numbers I'm seeing displayed in htop mean? Should I be worried?
0
votes
4answers
784 views

Hiding other users' processes on top

I'm running a Debian server and giving out shell access for a handful of friends. I'd like to hide the running processes from those normal users, so that for example top only shows their own ...
0
votes
1answer
348 views

Seeing when was the last time a process ran in linux

Looking at top output on my linux server, I see a root owned process that is always in S mode whenever I look. How can I find out when was the last time it actually ran on a cpu and did something? ...
1
vote
2answers
434 views

FreeBSD: how can I make “top” not cut off commands?

I use top in a perl script for storing information about the system in DB. The actual command is: top -b -d1 -a all However the COMMAND field seems to be 60 chars max and everything else is cut ...
2
votes
4answers
2k views

Linux high memory usage (top total mismatch)

I havea poor mans vps - 256MB dedicated RAM. I have installed LAMP. No website is currently UP on the server yet. The memory usage is still 225MB (only 31 MB free). I have measured using top and ...
1
vote
7answers
1k views

Is it possible to change the cmdline of a running process (to more easily identify it in top, for example)?

I run a number of linux servers with VMware Server 2. When their response time is not so hot or the load average goes up, I open up top to see what's going on, or for our production servers I have top ...
1
vote
2answers
474 views

How to log processes shown in top by user to a text file?

I need to log all processes (including the amount of CPU usage used, the time it was running for, etc...) to a txt file; preferably one entry per line as it appears in top. The user appears to be ...
3
votes
2answers
2k views

top in batch mode, need CPU% for every core

I know that after running top, I can press '1' and get a list of the CPUs with their utilization percentages. I suspect I can do this in batch mode too with the -b option, but I don't know how, and I ...
13
votes
3answers
7k 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
523 views

Exclude a process from being listed in `top`

Is it possible to exclude some processes from being reported by top? For example, I would like to exclude itself from its listing (ie, I don't want top to show in the process list). I would also ...
1
vote
3answers
99 views

Opening an existing process

I am using Eclipse in Linux through a remote connection (xrdp). My internet got disconnected, so I got disconnected from the server while eclipse was running. Now I logged in again, and I do the ...
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 ...
0
votes
1answer
267 views

[Unix]How do I know this particular mysql process belong to what process on `show processlist`

As stated on question's title, I ran into situations and I need to check something. Here's the condition. When I do top, I see mysql process with ID, say 1234. But, when I execute show processlist ...
1
vote
3answers
89 views

Why one process is taking so many resources

My website is being very slow or non-responsive. A quick look at the top command shows me something like this: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1709 mysql 20 ...
2
votes
5answers
767 views

%CPU for a process

Looking at the output of top on our server, one of my colleagues told me that the fact that some processes got less than 100 "%CPU" was because I was running too many processes. He added that based on ...