Htop, momwe mungayikitsire ndikuwongolera zomwe zikuchitika mu Ubuntu 17.10

za htop

M'nkhani yotsatira tiona htop. Ichi ndi chimodzi zofunikira zowunikira ndikuwongolera njira, yomwe imayenda mu terminal. Tidayankhulapo kale za iye mu blog iyi, munkhani yomwe tidakambirana "momwe mungaphere njira ndikupeza zidziwitso zamadongosolo", Koma lero tiwona pang'ono mozama popeza ndi chida chothandiza kwambiri.

Ziyenera kunenedwa kuti ndi izi ofanana ndi chida china chodziwika chotchedwa pamwamba, koma htop ndi yosavuta kugwiritsa ntchito. Wosuta mawonekedwe a pulogalamu htop zachokera amanyoza. Maimidwe azidziwitso ndi oyera kwenikweni. Ndi chida ichi mutha kusefa, kuwongolera ndikuchita zina zosangalatsa za zomwe zikuchitika pamakina anu. Ndi chida chachikulu cha oyang'anira makina a Gnu / Linux. M'nkhaniyi, tiwona momwe zingakhalire Ikani htop pa Ubuntu 17.10 Artful Aardvark ndi zina zoyambira momwe mungagwiritsire ntchito htop. Ngakhale zonsezi mutha kuzichita mumitundu ina ya Ubuntu.

Ikani htop

Choyamba tikonzanso nkhokwe zosungira phukusi la makina athu a Ubuntu polemba lamulo ili mu terminal (Ctrl + Alt + T):

sudo apt-get update

Pakasungidwa posungira posungira tiziwona htop ikupezeka posungira Ubuntu 17.10 Artful Aardvark. Kuti muyike htop, yesani lamulo lotsatirali pamalo omwewo:

sudo apt-get install htop

Pambuyo pa htop iyenera kukhazikitsidwa m'dongosolo lathu. Tsopano tsatirani lamulo lotsatirali kuti muyambe htop:

htop

Ili ndiye zenera lalikulu la htop.

htop mawonekedwe

Maziko a Htop

mawonekedwe

Kuyamba tiyeni tiwone mawonekedwe a htop.

laputopu ya htop panthawi yake

M'chigawo chomwe chili pamwambapa, mutha kuwona nthawi yopuma yamagulu. Monga mukuwonera, laputopu yanga yakhala ikuyenda kwa mphindi 59 ndi masekondi 44.

mitima ya htop

Tithandizanso kupeza fayilo ya kuchuluka kwa CPU komwe kugwiritsidwa ntchito. Mutha kuwona kuti kompyutayi ili ndi makina anayi mu purosesa yanga yokhala ndi magawo osiyanasiyana ogwiritsira ntchito.

Titha kupezanso kuchuluka kwakukulu kukumbukira kapena RAM kulipo ndi kuchuluka kwake komwe kumagwiritsidwa ntchito. Titha kupeza nthawi yomweyo kuchuluka kwa malo osinthana omwe alipo komanso malo omwe agwiritsidwa ntchito.

ram swap htop

Monga mukuwonera, pakompyutayi ndili ndi 7.78 GB ya RAM yomwe ilipo ndipo 2.31 GB imagwiritsidwa ntchito.

Pezani njira

Ndi chida ichi tidzatha fufuzani njira inayake. Mwachitsanzo, tiyerekeze kuti tikufuna kupeza 'firefox'.

Choyamba dinani fayilo ya Chinsinsi cha 'F3'. Bokosi lofufuzira liyenera kuwonekera monga zikuwonetsedwa pazithunzi pansipa.

Sakani firefox htop

Mubokosi lofufuzira 'firefox'. Muyenera kuwona njira yomwe yasankhidwa ya firefox monga momwe tawonetsera pa skrini pamwambapa. Titha kuwona kuti id, pano, njirayi (PID) ndi 2382 ndipo ili ndi wosuta sapoclay.

Para pitani ku njira yotsatira kuchokera ku Firefox kapena pazotsatira zakusaka, pezani 'kachiwiriF3'. Mukapeza zomwe mukuyang'ana, dinani 'tsamba loyambilira'kuti musankhe.

Iphani njira

Ifenso tikhoza kupha njira ndi htop zofunikira. Choyamba sankhani ndondomeko pogwiritsa ntchito makiyiwo 'arriba'ndi'pansi'Ndikufuna njira yogwiritsira ntchito kiyi'F3'. Tiyerekeze kuti PID 2382 ndiyo njira yomwe tikufuna kupha. Sankhani ndondomekoyi pochita momwemo monga momwe tafotokozera m'gawo lapitalo.

Tsopano kuti muphe njirayi, pezani fayilo ya Chinsinsi cha 'F9'. Muyenera kuwona chithunzi cha htop monga momwe tawonetsera pansipa:

sigterm firefox htop

M'chigawo chodziwika, pali zikwangwani zosiyanasiyana zomwe zalembedwa. Zizindikirozi amazigwiritsa ntchito sungani njira za Gnu / Linux. Kuti muphe ndondomeko, chizindikiro chosasinthika cha htop ndi Chizindikiro. Zachidziwikire, mutha kusankha chizindikiro china chilichonse pogwiritsa ntchito makiyi 'arriba'ndi'pansi'.

Mukasankha chizindikiro chomwe mukufuna kutumiza, dinani pa Lowani kiyi . Ndikukulangizani kuti mutumize chizindikiro chosasinthika SIGTERM ngati simukudziwa choti muchite apa. Njirayi iyenera kuchotsedwa pamndandanda nthawi yomweyo.

Pitani pakuwona kwamitengo kapena kuwonetsedwa

mndandanda woyitanidwa wa htop

Mawonekedwe osasinthika a htop amasankhidwa. Ngakhale titha kusuntha pakati pamawonekedwe olamulidwa ndi mawonekedwe amtengowo ngati tikufuna, kukanikiza 'F5' kumasintha momwe mndandanda wamalamulo umawonetsera.

Zosintha pazenera la Htop

Titha pitani pawindo la kasinthidwe ka htop podina batani la 'F2', monga mukuwonera pazithunzizi.

Htop zenera

Kuchokera apa mutha kusintha zenera la htop. Mwachitsanzo, titha kubisa kapena kuwonetsa zinthu, kusintha mitundu ndi zina zambiri. Koma kasinthidwe kameneka sikangapitirire gawo lino, ngakhale kuyenera kukhala kosavuta kuthana ndi wosuta aliyense.

Mukamaliza kusamalira njira zanu, mutha Tulukani htop mwa kukanikiza kiyi 'q'.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa.

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

bool (zoona)