top -c
Top lists all the processes, there are good options to filter the processes by username by using the option -u but I am wondering if there is any easy way to filter the processes based on processname listed under COMMAND column of the top…
If you call the top command, you get all the running processes. But how can I limit the output only to a certain process name like "java"?
I've tried this
top -l 2 | grep java
but in this way you get only snapshots and not a continuously updated…
When you run top and see all running processes, I've always wanted to know just what everything actually means. e.g. all the various single-letter state codes for a running process (R = Running, S = Sleeping, etc...)
Where can I find this?
I am inspecting a Java process in Linux using
top -H
However, I cannot read the name of the thread in the "COMMAND" column (because it is too long). If I use 'c' to expand the full name of the process, then it is still to long to fit.
How can I…
Does anyone know what the 2-letter abbreviations mean in the %CPU line in the header above the top table of processes? Here's a sample output from running top.
top - 15:10:34 up 8 days, 5:11, 1 user, load average: 0.10, 3.80, 26.82
Tasks: 1…
The problem comes up when you run couple of python scripts. in top at command, it shows only 'python' with these scripts. How to rename a process or otherwise tag it so that I could tell them apart in top?
What does it exactly mean to have a 350% cpu usage (by a process) on a
4-CPU box? The process is a 'mysqld' which is currently being
'bombarded' by a simulated OLTP scenario.
Any pointers appreciated.
I am using Ubuntu 12.04 and have recently started working on bash. I need to display say memory or CPU in ascending order.
command : top
shift F, this shows window of all the column. I select n for memory and it is ordered in descending order. Same…
I would like to change the name of the ruby process that gets displayed in the linux/unix top command. I have tried the
$0='miname'
approach but it only works with the ps command and in top the process keeps getting displayed as "ruby"
What causes these sleeping processes that I see in top? If I were to call PHP's sleep() function, would that add to the sleeping count I see in top? Are there any disadvantages to having a high number in sleeping?
what 'man top' said is: RES = CODE + DATA
q: RES -- Resident size (kb)
The non-swapped physical memory a task has used.
RES = CODE + DATA.
r: CODE -- Code size (kb)
The amount of physical memory devoted to executable code, also known as the 'text …
I have a problem that makes me mad. I am running top in batch mode with the following command,
top -b -n 1
The problem is I can run top in batch mode 100 times but the CPU usage never changes past the original value. The memory usage changes as…
Where does top application gets it's data on Linux? I would be interested in real-time CPU load/pid data.(I read allmost all documentation in /proc/pid man page, but the info isn't there).
The pid is a jboss. I need the data lightweight (to be…
I wish to suppress the general information for the top command
using a top parameter.
By general information I mean the below stuff :
top - 09:35:05 up 3:26, 2 users, load average: 0.29, 0.22, 0.21
Tasks: 1 total, 0 running, 1 sleeping, …