Subscribe to How-To Geek Mag-subscribe sa Paano-Upang Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Using htop to Monitor System Processes on Linux Paggamit ng htop sa Monitor proseso ng System sa Linux

Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. Karamihan sa mga tao pamilyar sa Linux ay ginagamit sa itaas na command line utility upang makita kung ano ang proseso ay tumatagal ang pinaka-CPU o memorya. There's a similar utility called htop that is much easier to use for normal tasks. May isang katulad na utility na tinatawag na htop ay lubhang mas madaling gamitin para sa mga normal na gawain.

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. Ang unang dakilang bagay tungkol sa htop na ito ay ipakita mo ang iyong paggamit ng bawat CPU, pati na rin ng isang makabuluhan graph teksto ng iyong memorya at magpalitan ng paggamit sa kanan sa itaas. I find this much easier to understand at a glance than the default output from top. Hanapin ko ito lubhang mas madaling maintindihan sa isang sulyap kaysa sa default na output mula sa itaas.

Installing htop on Ubuntu Pag-install ng htop sa 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. Sa Pag-install ng Ubuntu ay simple hangga't APT-kumuha ... Maaari ka ring mang-agaw ng source mula sa htop site na naka-link sa ibaba ng artikulong ito.

sudo apt-get install htop sudo APT-i-install ang makakuha ng 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: Kapag naka-install na, i-type lamang htop sa isang terminal upang ilunsad ito, at paunawa ang mga dakilang text-mode graph sa itaas ng display:

imahen

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. Subalit narito ang pinakamagandang bahagi ... lamang gamitin ang iyong Up / Down mga arrow key upang pumili ng isang proseso, at pagkatapos ay maaari mong patayin ito sa ang susi F9 kung gusto mo, o maaari mong baguhin ang karapatang mauna sa pamamagitan ng paggamit ng F7 at F8 key. (note that you'll have to be root to give anything really high priority). (tandaan na mayroon kang maging root na magbigay sa anumang bagay na tunay na mataas na priority).

imahen

You can also use the F6 key to change the default sort column really easily: Maaari mo ring gamitin ang F6 key para baguhin ang default na uri ng haligi tunay madali:

imahen

You can check the setup options for a lot more settings like which columns should show up by default. Maaari mong suriin ang mga pagpipilian sa setup para sa isang pulutong more setting tulad ng mga haligi na kung saan ay dapat na ipakita sa pamamagitan ng default.

htop – process viewer for linux htop - proseso ng viewer para sa linux

This article was originally written on 07/10/07 Tagged with: Ang artikulong ito ay orihinal na isinulat sa 07/10/07 Tagged with: Ubuntu Ubuntu

Daily Email Updates Araw-araw na Updates Email

You can get our how-to articles in your inbox each day for free. Maaari kang makakuha ng aming kung-paano na mga artikulo sa iyong inbox sa bawat araw para sa libre. Just enter your name and email below: Ilagay lamang ang inyong pangalan at email sa ibaba:


Name: Pangalan:
Email: Email:

Comments (11) Comments (11)

  1. FrontBumLover FrontBumLover

    Mmmhmm, looks nice.. Mmmhmm, mukhang nice .. now to port it to freebsd. ngayon sa port ito sa FreeBSD.

  2. Anonymous Anonymous

    What KDE theme are you using in those screenshots? Ano ang kde tema ang ginagamit mo sa mga screenshot?

  3. The Geek Ang Geek

    It's the default one that comes with Kubuntu, actually… it's called Crystal Ito ang default na isa na lumapit sa Kubuntu, ang tunay na ... ito ay tinatawag na Crystal

  4. The Geek Ang Geek

    I'm pretty sure it will compile fine on FreeBSD…. I'm pretty ba na ito ay magtala pinong sa FreeBSD ....

  5. FrankX FrankX

    I am sure you missed the word “Install” out of the Ubuntu command to install Htop. Ako sigurado ka hindi nakuha ang salitang "I-install" sa labas ng Ubuntu ay command upang i-install ang Htop.

    Think it should be… Mag-isip na ito ay dapat ...

    sudo apt-get install htop sudo APT-i-install ang makakuha ng htop

    ;o) All the best! ; o) Ang lahat ng mga pinakamahusay na!

    FrankX FrankX

  6. The Geek Ang Geek

    FrankX, FrankX,

    Thanks for noticing that! Salamat sa pagpuna na! That's gotta be the 10th time I've forgotten the word install when typing apt-get. That's gotta ang 10th time ko nalimutan ang salitang-install kapag nag-type ng APT-makukuha. =) =)

  7. freebsd FreeBSD

    Yes, this should work. Oo, ito ay dapat na trabaho.

  8. John Juan

    I'll be installing 'htop' when I get home. Kukunin ko ang pag-install ng 'htop' kapag nakukuha ko sa bahay.

    Incidentally, I was impressed that you said 'really easily'. Sinasadya, ako ay impressed na ang sinabi mo 'tunay madali'.

    I get nostalgic about the correct (ie, old-fashioned) use of English. Nakukuha ko nostalhik tungkol sa tamang (ibig sabihin, luma) ang paggamit ng Ingles.

    Let me guess – you're not 'uhmerkin'. Hayaan akong hulaan - ikaw ay hindi 'uhmerkin'.

  9. benizi benizi

    Thank you, thank you! Maraming salamat, salamat! For me, the reason to try htop (and now, to use it) was that it lets you SCROLL. Para sa akin, dahilan upang subukan htop (at ngayon, upang gamitin ito) ay na ito ay nagbibigay-daan sa mag-scroll sa iyo. 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…). Ako palaging mapulot ito nakakabigo na magkaroon ng 20 magkakaparehong mga bagay-bagay sa itaas ng listahan nakaayos ayon sa memorya, kapag ito ay talagang 20 threads sharing na malaking halaga ng memorya (firefox ...).

  10. gorkum yuksil gorkum yuksil

    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 : ) ito ay napakalakas, ang standard na manmanan ang sistema sa ubu ay tumatagal ng up bilang ^% t-load ng CPU kaya na ito ay dapat tulong ng maraming-realily madaling-ly:)

  11. kpb kpb

    'htop' is much better than 'top' in my opinion. 'htop' ay lubhang mas mahusay kaysa sa 'top' sa aking opinyon. I like the ability to kill a process without typing in the process number, and it supports mouse operation Gusto ko ang mga kakayahan na pumatay ng isang proseso na walang pag-type sa numero ng proseso, at ito ay sumusuporta sa mouse na operasyon


Our Friends Ang aming mga Friends
Getting Started Pagsisimula


About How-To Geek Tungkol sa Paano-Upang Geek
What Is That Process? Ano ba ang Proseso Iyon?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.