Using htop to Monitor System Processes on Linux Uporaba htop za spremljanje procesov na sistemu Linux
Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. Večina ljudi pozna Linux so uporabili zgornji vrstici ukaz korist videti, kaj je pri tem procesu najbolj procesorja ali pomnilnika. There's a similar utility called htop that is much easier to use for normal tasks. Obstaja podoben pripomoček imenovan htop, da je veliko lažje, da lahko uporabljajo za običajne naloge.
The first great thing about htop is that it will show you your usage per CPU, as well as a meaningful text graph of your memory and swap usage right at the top. Prvi velik htop stvar je, da bo razstava vi ste uporabljali na CPU, kot tudi pomemben graf besedilo vaš spomin in uporabe swap desno na vrhu. I find this much easier to understand at a glance than the default output from top. Zame je to veliko lažje razumeti na prvi pogled kot privzeti izhod iz vrha.
Installing htop on Ubuntu Namestitev htop na Ubuntu
Installing on Ubuntu is as simple as apt-get… You can also grab the source from the htop site linked at the bottom of this article. Namestitev na Ubuntu je tako enostavno, kot apt-get ... Lahko tudi zgrabi vir iz htop strani, povezane na dnu tega članka.
sudo apt-get install htop sudo apt-get namestite htop
Once installed, just type htop at a terminal to launch it, and notice the great text-mode graph at the top of the display: Ko so enkrat nameščeni, ravno tip htop na terminalu za začetek, in opazil veliko besedila graf načinu na vrhu zaslona:

But here's the best part… just use your Up/Down arrow keys to select a process, and then you can kill it with the F9 key if you'd like, or you can change the priority by using the F7 and F8 keys. Ampak tukaj je najboljši del ... enostavno uporabite svoj gor / dol puščice, da izberete postopek, in potem si lahko ubije jo s tipko F9, če želite, ali lahko spremenite prednosti z uporabo tipke F7 in F8. (note that you'll have to be root to give anything really high priority). (pomnite, da boste morali biti root, da bi kaj res veliko prednost).

You can also use the F6 key to change the default sort column really easily: Uporabite lahko tudi tipko F6, da spremenimo kolono razvrščanje default res enostavno:

You can check the setup options for a lot more settings like which columns should show up by default. Preverite lahko setup možnosti za veliko več, kot so nastavitve, ki naj stolpci kažejo, ki ga privzeto.
htop – process viewer for linux htop - proces gledalec za linux

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



Mmmhmm, looks nice.. Mmmhmm, izgleda lepo .. now to port it to freebsd. Zdaj v pristanišče, da bi FreeBSD.
What KDE theme are you using in those screenshots? Kaj KDE temo uporabljate v teh screenshots?
It's the default one that comes with Kubuntu, actually… it's called Crystal To je privzeta, ki prihaja z Kubuntu, pravzaprav ... to se imenuje Crystal
I'm pretty sure it will compile fine on FreeBSD…. Sem prepričan, da bo sestavil globo FreeBSD ....
I am sure you missed the word “Install” out of the Ubuntu command to install Htop. Prepričan sem, da si zamudil besedo "Install" iz ukaza Ubuntu namestiti Htop.
Think it should be… Misli je treba ...
sudo apt-get install htop sudo apt-get namestite htop
;o) All the best! ; o) Vse najboljše!
FrankX FrankX
FrankX, FrankX,
Thanks for noticing that! Hvala za pripomniti, da! That's gotta be the 10th time I've forgotten the word install when typing apt-get. To moraš biti 10. čas, sem pozabil namestiti besedo pri pisanju apt-get. =) =)
Yes, this should work. Ja, je treba to delo.
I'll be installing 'htop' when I get home. Bolan 'obstati napeljati "htop", ko pridem domov.
Incidentally, I was impressed that you said 'really easily'. Mimogrede, sem bil navdušen, da si rekel, "res lahko".
I get nostalgic about the correct (ie, old-fashioned) use of English. Dobim nostalgične o pravilni (tj., staromodno) uporaba angleščini.
Let me guess – you're not 'uhmerkin'. Naj ugibam - nisi "uhmerkin".
Thank you, thank you! Hvala, hvala! For me, the reason to try htop (and now, to use it) was that it lets you SCROLL. Za mene, je razlog, da poskusite htop (in zdaj, za njeno uporabo), je bila, da vam omogoča SCROLL. I always find it frustrating to have 20 identical things at the top of the list sorted by memory, when it's really 20 threads sharing that large amount of memory (firefox…). Vedno sem našel frustrirajuće, da je 20 enakih stvari na vrhu seznama razvrščenih po spominu, če pa je res 20 niti, da je delitev velike količine pomnilnika (kresnica ...).
this is terrific, the standard system monitor in ubu takes up as^%t load of cpu so this should help a lot- realily easily-ly : ) To je grozen, standardni monitor sistem v Ubu prevzame kot ^ t% obremenitev cpu tako da to bi moralo pomagati veliko-realily zlahka-ly:)
'htop' is much better than 'top' in my opinion. "htop" je veliko boljša od "top" v mojem mnenju. I like the ability to kill a process without typing in the process number, and it supports mouse operation Všeč mi je možnost, da ubiti proces, ne da tipkati v procesu številko, in podpira delovanje miško