People who code: we want your input. Take the Survey

Questions tagged [top]

Command-line application for monitoring running processes.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Output of `top` command not saved to variable

I created the follow bash script, called ./notify-me.sh, in Ubuntu: #!/bin/bash emailmessage=$(top -b -o %CPU) echo $emailmessage But when I run this script by doing ./notify-me.sh and pressing the ...
3
votes
1answer
231 views

System information disabled due to load higher than 4.0 but it ain't higher than 4.0

On one of my Raspberry PI's I got the following warning after login: System information disabled due to load higher than 4.0 But top doesn't reflect that (see screenshot), am I missing something?
2
votes
3answers
76 views

Find the total CPU usage on Ubuntu server version 20.10 without installing additional tools

I need to find the total CPU(s) usage of the server without installing additional tools. Do I understand correctly that the field id of the top command in CPU(s) line can help me with it? Can I do 100 ...
1
vote
2answers
45 views

how to find the jobs run by each local users

I am interested in finding what applications/scripts are executed by each linux user. I can find the number of jobs run by a specific user with the following command ps -u <USERNAME> -U <...
0
votes
2answers
66 views

How to show actual memory usage instead of “%MEM”

In Linux, when using top to see how much memory a process is using, how do you force the thing to actually tell you how much memory things are using (instead of having it obfuscate the actual value by ...
0
votes
0answers
36 views

How do I launch the network manager pop-up menu window displayed in attachment within Ubuntu 18.04 and LXDE?

I would like to know: What is the name of the program that manages the network icon on the top bar of Ubuntu 18.04 with LXDE? The network icon I meant gets highlighted with a red circle on the ...
0
votes
0answers
93 views

comparing CPU utilization obtained from top command and psutil

So i was playing around with psutil and top command. I'm trying to understand how they are computed. From what i understand, %CPU is computed ( in top command ) by calculating the total CPU time of ...
-1
votes
2answers
75 views

How do I interpret output from “top” command? How do I see actual CPU load?

I thought top showed how heavy the load was on the CPU (& mem). Baffled by results showing >275% CPU usage (see output from top at the bottom), I read a bit in the documentation, and it looks ...
0
votes
0answers
48 views

unknown users when running top command

When I run top command there is 1 users listed but then other users are listed in running proecesses they are message+, kernoops, and syslog, I am trying to work out if my system is compromised but am ...
0
votes
1answer
106 views

top command till a process runs out

I'm running a process and I want to store its CPU usage. So I used top command { test_case.sh > out.log ; } && { sleep 2s ; x=`pidof test_case` ; top -p $x -d 5 -b > cpu.log ; } But the ...
0
votes
0answers
28 views

Unknown user 2003 running haiduc command in my vps

There is an unknown user named 2003 running command haiduc on my vps when i run the command 'top'. However the user 2003 does not exist. Does anybody know what this is?
0
votes
0answers
83 views

How to get (from terminal) total number of threads per core?

I want to know how can I get the total number of running threads per core (in the runqueue) in the terminal (to be used in a bash script)?
5
votes
1answer
394 views

How to set memory usage sort in top command as default?

I want to sort the memory usage in top command as default. So that i do not have to sort in every i run top command. How to do that? Thanks in advance....
1
vote
0answers
138 views

Context menu missing when right-clicking on top panel in Ubuntu 20.04

I did a clean install of 20.04 a couple of days ago and have been customizing my machine since then. When I right-click on the top panel, the context menu doesn't appear. I am used to using earlier ...
0
votes
0answers
100 views

why usage of memory is showed different in system monitor, and stacer or top command?

i looked out for some troubleshooting and i saw this today and i wondered why there is much difference between gnome system monitor and top command or stacer software, a system utility software, but ...
0
votes
0answers
96 views

/usr/bin/top input/output error

i dont know why but for a 3 days my laptop just use a lot of cpu in ubuntu , then nothing works properly , i cant see resources in system monitor and when im using top cammonad its just saying /usr/...
0
votes
0answers
31 views

hide unity bar kodi joined display

I have a laptop running Ubuntu 20.04, with a 42" LG TV joined display. Opening kodi from either location opens it in the laptop screen. "" minimizes it, then I can drag it to the LG &...
2
votes
2answers
2k views

Check how many processor cores my Python code is running on?

I want to check how many cores my Python script is using. Suppose that I have this code: while True: print('Hello World!') When I run top, it gives the CPU, Memory, percentage in addition to ...
0
votes
2answers
373 views

Calculate CPU usage from top command

I have to display the CPU usage on my application and update it in real time. I am using following command to get the CPU usage: top -b -n 2 | grep Cpu | awk '{printf "CPU Load:%.2f\n", $(NF-13) + $(...
0
votes
1answer
478 views

How to investigate an unknown process called `frontend` pegging CPU all the time

As my laptop (Dell precision 16Gb, ubuntu 18.4) had been slower than usual, I had a look at top. Here I have a process, called frontend pegging 50% of the CPU. PID USER PR NI VIRT RES ...
0
votes
1answer
203 views

Distance between icons

Anybody knows how to change distance between icons in top panel ubuntu 18.04? I need to do it smaller
1
vote
0answers
270 views

Ubuntu Studio running slow after some months

I am a Ubuntu Studio user and general Linux novice. I installed the latest Ubuntu Studio on my Dell Vostro 400 Q6600 quad-core, and it ran perfectly for many months. Now it's unusable. When I boot up,...
0
votes
1answer
125 views

Cannot see process of service in top or ps

Status of my Postfix service is systemctl status postfix: ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) ...
0
votes
1answer
203 views

Monitor number of running processor cores via terminal

I have a server where there are 144 procs and is being used by multiple people with the same account id. Is there any way I can see how many processors are free (in the terminal) so that I can ...
8
votes
2answers
3k views

How to permanently set refresh interval for top command?

I'm just looking at the tutorials for top command and came to know that the refresh interval can be overridden by hitting S on the keyboard while the top command is displaying information. The ...
0
votes
1answer
205 views

what happens when pressing Enter when “top” command is run

when I run top, I see list of Linux processes. but when I press Enter, it will change and I don't understand what happens. Also when I press other button f,g and h somethings happens. please explain ...
1
vote
2answers
464 views

KSysGuard Reporting Memory Usage Incorrectly

A couple of times recently I've noticed my laptop running a bit slow and the disk light flickering a lot. It's an i7 with SSD and 12GB RAM, so I'm not really expecting much slowness when just ...
2
votes
3answers
448 views

cutting 'used memory' from top command

Using the top -b -n1 command I can get the resources utilised by my system for that instance. However, I actually need specific values out of it. I need things like, overall CPU usage, overall memory ...
0
votes
4answers
327 views

Find out what is starting processes by command

My machine keeps starting processes with command "java" (listed under "command" column in top), that proceed to eat up all my resources for a few seconds, then disapear, a few seconds later a new one ...
1
vote
1answer
373 views

Help uninstalling 3rd party software

I recently installed Cisco Anyconnect in order to VPN into my university's intranet when off site. This software, however, has gone rouge and is crashing my computer regularly. Here is a top example: ...
2
votes
1answer
612 views

Crontab command not register the top command result into the output file

I'm using Ubuntu 16.04 and I created a sh file. cd /home/malus echo "______________________________________________________________________" >> /home/malus/top.txt date >> /home/malus/...
5
votes
1answer
4k views

multi-core CPU usage

I am using the Windows Subsystem for Linux (WSL), and I am unexperimented in the capabilites of linux. Recently, I've been wanting to get better insight in the CPU usage of processes, but I am getting ...
2
votes
1answer
1k views

vim using up 100% CPU, can't kill it

Every so often (about once a month), my vim starts eating resources like crazy, and I'm unable to kill it. Here's an example: I ran: kill 13799 To no effect. I would like to know: 1) Could be vim ...
3
votes
0answers
255 views

What is the “store” process?

Looking through top, I saw a process called "store" taking up one of my CPUs. What is this process? Perhaps it is referring to the app store? If so, I wonder why it is working in the background. ...
1
vote
0answers
28 views

How can I see the total memory used by, for example, google and firefox processes? [duplicate]

top and ps show multiple processes for these applications. Is there a simple command to show only one entry for each application showing the total? I don't believe this is a duplicate of How can I ...
0
votes
1answer
1k views

CPU core stuck at 100% utilization

I noticed that my laptop's fans were running continuously at high RPM for a few hours. I installed HTOP to check CPU utilization, and found that one of the 8 cores is stuck at 100%. Even after ...
1
vote
0answers
108 views

How to increase the number of characters in top's COMMAND column?

OS: Ubuntu 18.04.1 When I run top from gnome-terminal as a maximized window, I see that entries in the "COMMAND" column don't exceed fifteen characters. (I'm not asking about the command-line mode ...
1
vote
0answers
323 views

Task/Resource Manager Memory Usage Accuracy Ubuntu 18

I'm running Ubuntu 18.04LTS (8GB RAM) and I noticed how the Gnome task manager, the "top" and "htop" applications give me 3 considerably different memory usage figures. For instance, right now: ...
1
vote
1answer
438 views

Disable bold font in 'top' command

I want to have a custom 'watch' command that also includes the output of a single round of top -n 1, but the escape characters do not translate well. Is there a way to disable the bold font of the top ...
5
votes
1answer
3k views

Gnome Shell and high cpu usage

I am running ubuntu 18.04 on a old(ish) laptop, it's a hp dv7 6180sl with upgraded ram (16gb) and SSD. It's old but still fast enough for my job. Since a few ubuntu versions (I always do a complete ...
1
vote
2answers
727 views

How to analyze video card RAM and GPU load? [duplicate]

I would like to analyze my video card performance (RAM, load, etc) the way that top, free and lscpu does for my main hardware. Is there an app to do this?
0
votes
1answer
19 views

Why showing double vhost-2473 in KVM?

why system showing double vhost-2473? I have installed KVM and created a Guest machine with two interfaces on the Ubuntu-14.04 server. When I keep running the Guest machine, the Host machine showing ...
30
votes
5answers
6k views

How do I quit top without leaving the output on the terminal?

How do I get top to quit similarly to the way less quits, that is, not leaving behind its output on the screen? This is the version I have: procps-ng version 3.3.9
13
votes
1answer
4k views

GNOME system monitor and top showing different CPU usage

When I play a movie with SMPlayer (video:mpv) and I check my CPU usage with GNOME system monitor, it shows %4 or %5 CPU usage (1 second update interval), but htop shows %45 CPU usage: top shows the ...
5
votes
0answers
1k views

Gnome Shell Memory Leak [closed]

I am running Ubuntu 17.10 with an Nvidia GTX 1070 and gnome-shell, also I have 16G of memory. Recently the process gnome-shell running after a few hours starts taking a lot of memory and the computer ...
-1
votes
1answer
92 views

What's the difference between two PID processes?

What's the difference between the two processes here, they both have similar files and dir inside them?
1
vote
1answer
1k views

What processes are running on which CPU?

Running "top" shows you how much CPU power is used by each process. Suppose you have several CPUs. Is there a utility that shows you the same information as top, but for each individual CPU? For ...
1
vote
1answer
219 views

Ubuntu: Server is left with only 716 MB free RAM out of 62 GB RAM [duplicate]

My server has 62 GB RAM but now i can see only 716 MB RAM is free. Below is the output of free -lh command total used free shared buffers cached Mem: 62G ...
5
votes
2answers
2k views

How to display cpu usage respectively?

Here is my cpu part of info(omitted unnecessary). cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Celeron(R) CPU G1840 @ 2.80GHz ...
1
vote
1answer
408 views

Does running top and/or gnome-system monitor slow down your computer?

In a computer with multiple monitors, is there any harm in or reason not to keep a terminal with top or gnome-system-monitor open on a screen? I like knowing if some software I'm running is starting ...