Using htop to Monitor System Processes on Linux Korzystanie htop do monitorowania procesów systemu w systemie Linux
Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. Większość osób znających Linuksa wykorzystane najlepsze narzędzie wiersza polecenia, aby zobaczyć, które procesy podejmowania najbardziej procesora ani pamięci. There's a similar utility called htop that is much easier to use for normal tasks. Nie ma podobnego narzędzia o nazwie htop, że jest znacznie łatwiejszy w użyciu dla normalnych zadań.
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. Pierwszy wielki htop rzeczą jest to, że będzie on wyświetlał się na użycie procesora, jak również znaczących wykres tekst pamięci i prawo użytkowania swap na górze. I find this much easier to understand at a glance than the default output from top. Uważam to o wiele łatwiejsze do zrozumienia na pierwszy rzut oka niż domyślne wyjście z góry.
Installing htop on Ubuntu Htop Instalacja 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. Instalacja w Ubuntu jest tak proste jak apt-get ... Możesz także pobrać źródła z htop miejscu umieszczona na dole tego artykułu.
sudo apt-get install htop sudo apt-get install 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: Raz zainstalowany, po prostu htop wpisz w terminalu, aby uruchomić go i zwrócić uwagę na wielki tekst w trybie wykres na górze ekranu:

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. Ale tutaj jest najlepsza część ... po prostu używać góra / dół strzałek, aby wybrać proces, a następnie można go zabić za pomocą klawisza F9, jeśli chcesz, albo możesz zmienić priorytet przy użyciu klawiszy F7 i F8. (note that you'll have to be root to give anything really high priority). (pamiętaj, że musisz być głównym, aby dać coś naprawdę wysoki priorytet).

You can also use the F6 key to change the default sort column really easily: Możesz również użyć klawisza F6, aby zmienić kolumnę sortowania domyślnie bardzo prosty sposób:

You can check the setup options for a lot more settings like which columns should show up by default. Możesz sprawdzić opcji dotyczących wiele ustawień, jak kolumny, które powinny wykazać się domyślnie.
htop – process viewer for linux htop - świadek procesu linux

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Możesz pobrać nasze instrukcje postępowania w skrzynce odbiorczej codziennie za darmo. Just enter your name and email below: Wystarczy podać swoje imię i adres e-mail:



Mmmhmm, looks nice.. Mmmhmm, looks nice .. now to port it to freebsd. teraz do portu do FreeBSD.
What KDE theme are you using in those screenshots? KDE theme używasz w tych zrzutach?
It's the default one that comes with Kubuntu, actually… it's called Crystal Jest to domyślny, że pochodzi z Kubuntu, rzeczywiście ... it's called Crystal
I'm pretty sure it will compile fine on FreeBSD…. Jestem całkiem pewien, że to kompilacja grzywny na FreeBSD ....
I am sure you missed the word “Install” out of the Ubuntu command to install Htop. Jestem pewien, że przegapiłeś wyraz "Instalacja" z polecenia Ubuntu zainstalować htop.
Think it should be… Pomyśl należy ...
sudo apt-get install htop sudo apt-get install htop
;o) All the best! o) All the best!
FrankX Frankx
FrankX, Frankx,
Thanks for noticing that! Dziękujemy za zauważyć, że! That's gotta be the 10th time I've forgotten the word install when typing apt-get. To musi być 10. Czas zapomniałem słowa podczas pisania zainstaluj apt-get. =) =)
Yes, this should work. Tak, to powinno działać.
I'll be installing 'htop' when I get home. I'll be zainstalowanie htop ", gdy wrócę do domu.
Incidentally, I was impressed that you said 'really easily'. Nawiasem mówiąc, byłem pod wrażeniem, że powiedział pan "naprawdę łatwo.
I get nostalgic about the correct (ie, old-fashioned) use of English. I get nostalgic o prawidłowe (tj. old-fashioned) używania języka angielskiego.
Let me guess – you're not 'uhmerkin'. Niech zgadnę - nie jesteś "uhmerkin.
Thank you, thank you! Dziękuję, dziękuję! For me, the reason to try htop (and now, to use it) was that it lets you SCROLL. Dla mnie powodem do próby htop (i teraz, aby użyć go) było to, że pozwala przewijać. 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…). Zawsze znajdziesz to frustrujące mieć 20 identycznych rzeczy na szczycie listy posortowane według pamięci, gdy jest to naprawdę 20 wątków podziału, że duża ilość pamięci (Firefox ...).
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 : ) Jest to wspaniałe, standardowego monitora systemu Ubu zajmuje się ^ t% obciążeniu głównego procesora, co powinno pomóc partii-realily łatwo ly:)
'htop' is much better than 'top' in my opinion. "htop" jest dużo lepszy niż "do góry" w mojej opinii. I like the ability to kill a process without typing in the process number, and it supports mouse operation I jak zdolność do zabijania procesu bez wpisywania numeru procesu, oraz popiera działania myszy