top-command Questions
18
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 yo...
Snead asked 16/9, 2010 at 14:42
11
Solved
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 ...
Squier asked 22/8, 2012 at 14:39
7
Solved
Is there a htop/top on Linux where I get to sort processes by network usage?
Donnenfeld asked 15/12, 2008 at 10:50
3
Solved
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 ...
Stovepipe asked 21/11, 2008 at 1:11
7
Solved
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...
Scleroprotein asked 3/5, 2016 at 4:0
10
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 p...
Sunflower asked 21/1, 2011 at 21:50
2
Solved
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 ...
Twinkle asked 29/9, 2011 at 8:34
5
Solved
I was trying to execute this command
echo exec("top");
and
echo exec("/usr/bin/top");
neither works (returns blank output)
does anybody know why?
Detect asked 11/7, 2011 at 16:48
7
Solved
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...
Aeon asked 16/1, 2009 at 14:54
5
Solved
When running top -b -n 1, the command always returns the same CPU values.
Consider the following test run 5 times in succession:
[user@server ~]$ top -b -n 5 -d.2 | grep "Cpu(s)"
Cpu(s): 18.5%us,...
Apollo asked 9/2, 2011 at 0:42
2
Solved
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 pas...
Suspiration asked 1/12, 2010 at 14:53
1
Solved
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 us...
Loya asked 23/9, 2014 at 20:50
2
Solved
I want to use top in order to monitor numerous processes by process name. I already know about doing $ top -p $(pgrep -d ',' <pattern>) but top only limits me to 20 pids. Is there a way to al...
Luke asked 14/8, 2014 at 19:19
4
Solved
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 num...
Tridimensional asked 4/10, 2010 at 9:2
3
Solved
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 sele...
Kaiserism asked 2/9, 2013 at 19:2
4
Solved
I'm making a small Android application to show current total CPU usage like tab Performance in Windows Task Manager.
I use "top -m 1 -n 1 -d 1" to get CPU usage, but i do not really understand the ...
Fischer asked 26/5, 2011 at 5:44
6
Solved
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 ap...
Autocrat asked 23/6, 2009 at 12:48
1
In Unix/Linux the top command has the -H option to give a more details information about the threads within a process.
On Macosx there seems to be no -H option! Is there anything similar for Macosx...
Hersch asked 28/3, 2011 at 15:9
2
Solved
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...
Acidforming asked 28/1, 2011 at 10:17
7
Solved
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...
Skier asked 26/2, 2009 at 15:14
1
Solved
I am trying to use GNU coreutil top's formula for calculating CPU usages in percentage.
But top is using some half_total, to calculate the percentage, which is adding 0.5 to the percentage.
In uti...
Albertson asked 16/2, 2009 at 11:14
1
© 2022 - 2024 — McMap. All rights reserved.