I was this close )( to posting a comment on Ezee Talk about "why not make a video about HTOP?" and then I thought "Joe Collins has made so many videos that answered so many questions..." TH-cam search...and here it is. And, once again, it answered so many questions! Thank you!
Joe, thanks for bringing my attention to the useful features of htop. I have had it installed for some time already but never really use it. But this morning I needed to stop all my Chrome processes, which was like 7 or 8 processes. I would have normally kill it one at a time from terminal which is very tedious and painful. But then I remembered htop filter feature you mentioned in the video. So I called up htop and filter out all the Chrome processes. From the tree view I can see that they all go back to one single process. So I just kill that parent process and that took care of the others. And it was so easy killing process graphically with htop. Don't need to ps for the pid and then kill -SIGTERM pid. Just highlight the process and F9 and select the signal to send the process. It was a breeze. Thank you very much.
I have always thought of a process as: _a program in execution_ . Like, if you write a program to compute first 100 primes for example and compile it. Before you actually run it then it is not a process and wouldn’t show up in htop. It is not using memory nor CPU (resources). Only resource it uses is disk space. But when you do run it then it becomes a process. You can now find on htop and it is now taking up memory and CPU. For my fellow Mac Users your GUI version of this is Activity Monitor.
I had no idea there was htop - I have been using top forever, but htop looks better for sure. My computer acts as the DVR for the house, so some shows I render down to mp4 to show up on our Roku's and use nice for that transcoding... but how handy to "renice" on the fly like that if a process is starting to take over. Great job, Joe!
I am still a newbie and in the 4 months I have tinkered with Linux distros, I have not yet given any thought to htop until today. So the first thing that I did was go to TH-cam and look for one of your videos. I watched this with the June 27th release of AntiX-16 running on my SSD. I have a fancy mini-ITX computer with i7 6700k ( which I can only guess is over-kill for any Linux distro ? ) and I have 16 GB of fast DDR4 ( but no graphics card, yet ). I just took a look at htop, and it is hard to see the computer even knows AntiX is running at all. 8 threads are shown. Each varies from 0.0 % to 0.5 % with occasional spikes on Thread Number 2 varies from 0.8 % to a max of 2.0 %. Thread Numbers 5, 6, & 7 are almost always zero with spikes up to 0.5 on 6 & 7 and 0.9 on # 5. And that is just with TH-cam running via FireFox 45 ESR. Anyways, I better rush out and get me a water-cooler for my CPU. LOL ! On a related note, I think my new ASUS Impact motherboard has had no issues with Linux since I built the computer 4 months ago. I have not yet tested the U2 bus on the motherboard for the new Intel SSD's, nor the Type C USB or the 3.1 USB, or the graphics card slot. Every Linux distro I have tried, ( Mint 17.3 & 18, Ubuntu Gnome 16.10, Manjaro 16.08, ChaletOs, SlackEx, ExTiX, Korora 24, and AntiX and a few others ) the components of the motherboard worked out of the box. I have been on AntiX for several hours today, and no issues. I like the system information function which gives a very detailed look at the hardware. I haven't found a similar thing in other distros yet. Still having fun with Linux, and can see the light at the end of the tunnel, that I will no longer be a newbie. ( Meaning, I haven't yet tried Deepin or Peppermint 7, or spent much time messing with printers, and no time messing with graphics cards, and have only installed distros on this one computer )
Thanks for this!! Just installed it and it's a lot better than the standard Terminal and xterm. I have been using Yakuake too and I like it but Htop is a lot better and so much more control.
I had always only used top. I find the Htop colors hard to see. Also, I didn't know how to get the options to work. Because the F keys d were confusing. After watching this video I had another look and the reason I had problems was because my linux has the F keys already asigned. For instance F1 does not trigger the Htop help, it triggers the linux help. So I decided to try it in a separate TTY ctrl-alt-F1 and it works fine in there. There is also a graphical Task Manager, which is also quite nice. Depending on what a person can get running.
Hi Joe, last week I was playing around with Htop and was wondering how you can use htop to monitor your system over a period of time with a certain time interval? I saw some screen shots of somebody monitoring his server between 8am and 10 am with an interval of 10 min. do you know how this can be done? I started learning and using Linux for 1 year know and most things I could find online, but this I cannot find. I verry much love you Linux videos. I'm currently running Linux Mint 17.3 on a 10 year old Dell machine. Works fine for me.
So, I know how htop works but one thing really bothers me is even though it is consuming 1GB or 8GB ram you can clearly see the bars on it's left are at full. Why is that? This really bothers me and I can't seem to figure it out why
Thanks for the great information Joe. Quick question: I am unable to access the Filter feature. I see "Invert" instead of "Filter" for F4. Is there a way to change this? I am using GNOME 2.28.2.
is there any way to know what process is crashing constantly? thanks and nice video. btw im using my iphone X running htop and making it more stable and look for errors, i started using cocoatop for iphone but htop is more detailed
joe im rendering a video, a BIG one and my laptop gets to 190F i set the Nice to 19 but it still gets to 190 how can i get it to go lower or to use less CPU ?
correction on this video im trying to render all processor are about 100% and thats with Nice at 19 and the gnome monitor very low priority but other videos are about 50% and one about 100%
That is stumpier because I don't know the program. Look in the configuration and see if there's a way to limit CPU usage. Sometimes you can put a cap on it so the machine won't run as hard but it will take longer, of coarse. :)
+Miguel Sensacion All of the engineers I've heard talk about swap say you really need to have it no matter what OS you're running. There are some programs that use it and the system uses it to dump memory when it hibernates. You can adjust the 'swappiness' in Linux to make the system only use swap when it desperately needs it. I always make a swap partition or use a swap file. :)
+Joe Collins, I've always set up a swapfile for use in Linux and for some reason it's not being used at all. I've got about 7.5 gigabytes of system memory and there are moments when I do notice some lag but mostly delays when I'm starting something like VLC Player. I've actually tried adjusting and correcting the space with gparted but still no results.
+Jefferson Grindle If you run System Monitor or Htop does it show the swap space as being available? If not, it may mean that the system is not mounting it and you'll have to edit your fstab file so it can find it. If it does show it as being available and it's just not putting anything in there. That might mean that you're just not using all that much memory. My machine with 8 GB's of ram never, ever uses the swap space at all. I have never seen it do it in 5 years. :)
+Joe Collins I think that the system isn't mounting it. I checked it by going sudo in the terminal and running gparted. It's there as I created it but it's not being mounted by the system. I thought about resizing it because it's only 4G so I'll have to edit my fstab file. I'm not really versed yet on the file editing although I can do it, I just need some specific direction on what to do.
Its funny cause I just installed this yesterday.... also there is powertop in the repos too. In my Linux netbook, I got a dual core AMD E-350 APU and Mint runs quite "nicely" on it.
I’ve fallen in love with this tool. It’s now indispensable to me, and I can’t imagine living without it. Thanks Joe😍
Love htop and never really think about it, I take it for granted.
I was this close )( to posting a comment on Ezee Talk about "why not make a video about HTOP?" and then I thought "Joe Collins has made so many videos that answered so many questions..." TH-cam search...and here it is. And, once again, it answered so many questions! Thank you!
Joe, thanks for bringing my attention to the useful features of htop. I have had it installed for some time already but never really use it. But this morning I needed to stop all my Chrome processes, which was like 7 or 8 processes. I would have normally kill it one at a time from terminal which is very tedious and painful. But then I remembered htop filter feature you mentioned in the video. So I called up htop and filter out all the Chrome processes. From the tree view I can see that they all go back to one single process. So I just kill that parent process and that took care of the others. And it was so easy killing process graphically with htop. Don't need to ps for the pid and then kill -SIGTERM pid. Just highlight the process and F9 and select the signal to send the process. It was a breeze. Thank you very much.
+Talji Mera Very cool. That's why I do these videos. :)
I have always thought of a process as: _a program in execution_ .
Like, if you write a program to compute first 100 primes for example and compile it.
Before you actually run it then it is not a process and wouldn’t show up in htop. It is not using memory nor CPU (resources). Only resource it uses is disk space.
But when you do run it then it becomes a process. You can now find on htop and it is now taking up memory and CPU.
For my fellow Mac Users your GUI version of this is Activity Monitor.
That is an amazing too. I remember the "good old days" of using command-line ps, kill, and other ancient tools.
steel helpful 3years after!.... love your channel!
Huge thanks for this video
+1 for the "NICE" explanation F8 - something missing is how to untag all the "geary" commands
I had no idea there was htop - I have been using top forever, but htop looks better for sure. My computer acts as the DVR for the house, so some shows I render down to mp4 to show up on our Roku's and use nice for that transcoding... but how handy to "renice" on the fly like that if a process is starting to take over. Great job, Joe!
+dixielandfarm How is that going? I'm wanting to do a Linux DVR.
I am still a newbie and in the 4 months I have tinkered with Linux distros, I have not yet given any thought to htop until today. So the first thing that I did was go to TH-cam and look for one of your videos. I watched this with the June 27th release of AntiX-16 running on my SSD. I have a fancy mini-ITX computer with i7 6700k ( which I can only guess is over-kill for any Linux distro ? ) and I have 16 GB of fast DDR4 ( but no graphics card, yet ). I just took a look at htop, and it is hard to see the computer even knows AntiX is running at all. 8 threads are shown. Each varies from 0.0 % to 0.5 % with occasional spikes on Thread Number 2 varies from 0.8 % to a max of 2.0 %. Thread Numbers 5, 6, & 7 are almost always zero with spikes up to 0.5 on 6 & 7 and 0.9 on # 5. And that is just with TH-cam running via FireFox 45 ESR. Anyways, I better rush out and get me a water-cooler for my CPU. LOL !
On a related note,
I think my new ASUS Impact motherboard has had no issues with Linux since I built the computer 4 months ago. I have not yet tested the U2 bus on the motherboard for the new Intel SSD's, nor the Type C USB or the 3.1 USB, or the graphics card slot. Every Linux distro I have tried, ( Mint 17.3 & 18, Ubuntu Gnome 16.10, Manjaro 16.08, ChaletOs, SlackEx, ExTiX, Korora 24, and AntiX and a few others ) the components of the motherboard worked out of the box. I have been on AntiX for several hours today, and no issues. I like the system information function which gives a very detailed look at the hardware. I haven't found a similar thing in other distros yet. Still having fun with Linux, and can see the light at the end of the tunnel, that I will no longer be a newbie. ( Meaning, I haven't yet tried Deepin or Peppermint 7, or spent much time messing with printers, and no time messing with graphics cards, and have only installed distros on this one computer )
Thanks for this!! Just installed it and it's a lot better than the standard Terminal and xterm. I have been using Yakuake too and I like it but Htop is a lot better and so much more control.
I had always only used top. I find the Htop colors hard to see. Also, I didn't know how to get the options to work.
Because the F keys d were confusing.
After watching this video I had another look and the reason I had problems was because my linux has the F keys already asigned. For instance F1 does not trigger the Htop help, it triggers the linux help.
So I decided to try it in a separate TTY ctrl-alt-F1 and it works fine in there.
There is also a graphical Task Manager, which is also quite nice.
Depending on what a person can get running.
Hi Joe, last week I was playing around with Htop and was wondering how you can use htop to monitor your system over a period of time with a certain time interval? I saw some screen shots of somebody monitoring his server between 8am and 10 am with an interval of 10 min. do you know how this can be done? I started learning and using Linux for 1 year know and most things I could find online, but this I cannot find. I verry much love you Linux videos. I'm currently running Linux Mint 17.3 on a 10 year old Dell machine. Works fine for me.
Awesome 👍 Hope you are pro now😜
What do the colors on the top bars signify? Also, are "threads" identified?
Is it possible to see network traffic? Thanks
Thank you Joe, you helped me understand htop for my class project :)
So, I know how htop works but one thing really bothers me is even though it is consuming 1GB or 8GB ram you can clearly see the bars on it's left are at full. Why is that? This really bothers me and I can't seem to figure it out why
That load average is overloaded right?
how do you change from CPU to MEM
hey can someone explain to me also what the other columns show? virt, res, shr, s, time+, i think i already got what cpu% and mem% mean. thanks
Thanks for the great information Joe. Quick question:
I am unable to access the Filter feature. I see "Invert" instead of "Filter" for F4. Is there a way to change this? I am using GNOME 2.28.2.
What is the interpretation of green/blue/yellow colors in memory bar?
you can get the meaning by typing "h" on htop
is there any way to know what process is crashing constantly? thanks and nice video. btw im using my iphone X running htop and making it more stable and look for errors, i started using cocoatop for iphone but htop is more detailed
The software doesn't always know if something is running or crashed. You just have to look at the logs and watch the system. :)
great explanation of htop, thank you!
You are welcome!
How to see throttling?
like the way u explain......... plz keep continue
What does the "M" mean in the "VIRT" and "RES"?
Megabytes. :)
very helpful, thank You :)
joe im rendering a video, a BIG one and my laptop gets to 190F i set the Nice to 19 but it still gets to 190 how can i get it to go lower or to use less CPU ?
What program are you using to render the video? :)
shotcut, one processor still goes to 100% the others are about 50 or so.
correction on this video im trying to render all processor are about 100% and thats with Nice at 19 and the gnome monitor very low priority but other videos are about 50% and one about 100%
That is stumpier because I don't know the program. Look in the configuration and see if there's a way to limit CPU usage. Sometimes you can put a cap on it so the machine won't run as hard but it will take longer, of coarse. :)
nothing in the program. one more Q when i change the priority do they change back to default after reboot ?
Great video - thanks!
Excellent video. Thanks.
Thanks Joe! Great video.
Thank you very much for the vid this is new info for me and it will be a great help in the future
On mine there are no percentages in the cpu bars or memory bar , I tried on 2 machines
Press F2 for setup. Then arrow down to Colors - then pick a color scheme.
Thanks Doug
What font are you using in the terminal?
+17Haxor17 Which ever one Mint uses. I just made it really big for videos. :)
+Joe Collins Ok ,thanks! :D
Genial, gracias !!
I honestly don't see a need for swap anymore if you're using more than 8GB of RAM. What do you all think?
+Miguel Sensacion All of the engineers I've heard talk about swap say you really need to have it no matter what OS you're running. There are some programs that use it and the system uses it to dump memory when it hibernates. You can adjust the 'swappiness' in Linux to make the system only use swap when it desperately needs it. I always make a swap partition or use a swap file. :)
+Joe Collins, I've always set up a swapfile for use in Linux and for some reason it's not being used at all. I've got about 7.5 gigabytes of system memory and there are moments when I do notice some lag but mostly delays when I'm starting something like VLC Player. I've actually tried adjusting and correcting the space with gparted but still no results.
Jefferson Grindle I've found that even running VM'S I still don't meet or exceed the Ram on my system. System runs great.
+Jefferson Grindle If you run System Monitor or Htop does it show the swap space as being available? If not, it may mean that the system is not mounting it and you'll have to edit your fstab file so it can find it. If it does show it as being available and it's just not putting anything in there. That might mean that you're just not using all that much memory. My machine with 8 GB's of ram never, ever uses the swap space at all. I have never seen it do it in 5 years. :)
+Joe Collins I think that the system isn't mounting it. I checked it by going sudo in the terminal and running gparted. It's there as I created it but it's not being mounted by the system. I thought about resizing it because it's only 4G so I'll have to edit my fstab file. I'm not really versed yet on the file editing although I can do it, I just need some specific direction on what to do.
Cheers buddy!
Cool!
can anybody help me with finding out why my laptop uses around 80% of memory even w/o anything significant running?g
A great deal of that is data caching. It doesn't effect performance in a negative way at all... If it sin't complaining, don't worry about it much. :)
Its funny cause I just installed this yesterday.... also there is powertop in the repos too.
In my Linux netbook, I got a dual core AMD E-350 APU and Mint runs quite "nicely" on it.
which desktop environment do you have? I have just switched to XFCE due to numerous accounts of it being better to run on low spec laptops.
+Derpface 123
Cinnamon.
Rodriguez Edward Thompson Donald Lee Margaret
`simplescreenrecord` will burn the CPU :) but like for the video
geary may not be nice, but you certainly are.
Moore Donna Young Shirley Moore Sandra