Questions tagged [top]

Command-line application for monitoring running processes.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
82 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
61 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
58 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
0answers
22 views

Add cpu usage values in linux

I am using top command to get the CPU stats i.e. top -bn1 | grep Cpu > %Cpu(s): 14.8 us, 9.4 sy, 0.0 ni, 75.4 id, 0.2 wa, 0.0 hi, 0.1 si, 0.0 st I want to add "us" and "sy" values and ...
0
votes
1answer
65 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
197 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
0answers
18 views

Is it possible to show scripts that were run with sudo and have them show up as being run by the non-root user instead in Top/PS

I have the following defined in the sudoer file: monitorUser ALL=(ALL) NOPASSWD: /bin/bash /path/toScripts/* On another VM I'm creating SSH sessions using the user monitorUser to run the scripts (...
0
votes
1answer
42 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
98 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 ...
7
votes
2answers
757 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
108 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
216 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 ...
0
votes
0answers
54 views

Monitor process, because writing stuck sometimes for 1 second

System Linux local 5.0.0-27-lowlatency #28-Ubuntu SMP PREEMPT Tue Aug 20 20:33:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Issue Sometimes, when I am writing, cursor stuck for second and then it ...
0
votes
0answers
74 views

Possible to find average CPU usage over time in top?

Is it possible to use top to get the CPU usage of the process over time? Running top with the d command allows me to change the delay, but does this change the rate at which it just refreshes (taking ...
2
votes
3answers
296 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
162 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
175 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
335 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/...
1
vote
1answer
2k 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
795 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
113 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
825 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
40 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
277 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
231 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 ...
4
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
253 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
10
votes
1answer
3k 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
54 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
176 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 ...
4
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
317 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 ...
1
vote
2answers
139 views

Simplify command in top

I'm using the following command to gather the information of child-PID: top -b -n1 -p 719011,719012,719013,719014,719015,719016,719017 | sed -e 's/USER/----/' -e 's/root/----/' -e 's/PR/--/' -e 's/...
0
votes
1answer
102 views

Getting a tidy print from top

PID %CPU %MEM COMMAND 719011 ---- -- 0 ---- --- ---- - 0.7 1.3 606:58.25 ...
0
votes
1answer
43 views

Top -p results into file

I want to add my own header to the print out from this command and save to a file: top -p 1198172,1198173,1198174.1198175,1198176,1198177,1198178 | awk '{print $1,"---",$9,"---",$10,"---",$12}'
0
votes
1answer
2k views

Root process suddenly uses gzip and takes up %75> CPU

I've been noticing late that my laptop will slow down suddenly, and the culprit is usually gzip being launched by a root process. This happens occassionally and I have no idea what's causing it. It ...
2
votes
2answers
3k views

how to save CPU logs or GPU usage values?

folks! I want to check my CPU logs continuously. I used top and htop commands. But I just check them during simulations. Now I want to run a real ROBOT for approx 2 hours (my laptop would be on ...
0
votes
0answers
175 views

Error: You must specify exactly one target process

what is the syntax to use cpulimit to throttle Web Content? Note the space between Web and Content. top - 09:16:00 up 1:09, 2 users, load average: 1.80, 1.70, 1.77 Tasks: 215 total, 2 running, ...
0
votes
1answer
62 views

How to replace the top shell script? [closed]

Can the top command in /usr/bin be replaced? I read on superuser that it can hide processes if compromised. I want to delete top and get a fresh new script using apt-get from Ubuntu official ...
0
votes
1answer
139 views

How to get % cpu and % memory of process during OpenSSL encryption [duplicate]

I am running an OpenSSL script. How to get % cpu and % memory? Normally I am using top command in other terminal. top is returning % CPU and % memory but for noting down it is taking time. Is there ...
1
vote
2answers
5k views

Apache process in TOP command

This is a screenshot of TOP command on my server. Which one of the processes are for Apache? Can't see any httpd
1
vote
0answers
126 views

Title bar problem with Ambiance theme in Ubuntu 16.04

I was messing around, installing themes which went well. However, I might have tweaked something that I can't roll back which is the top menu panel font as shown in this picture: I am keeping a ...
2
votes
1answer
2k views

How to set default nice value for a particular program?

Whenever I want to launch a program with a custom priority level, I have to type $nice -5 <Program> in the terminal. I want to set the custom priority level to particular program as default ...
0
votes
1answer
36 views

My machine has running multiple application but in top utility it is showing only one process. Is it a bug in top utility?

While using top utility, I noticed that it is showing total tasks: 267, 1 running, 266 sleeping. But I am running multiple applications (MP3 player, Browser, Virtualbox) at the same time in my machine....