Otu esi etinye Sysdig na Debian 11

Sysdig bụ isi mmalite mepere emepe, nyocha ọkwa sistemụ: steeti sistemụ ijide yana ọrụ sitere na ịgba ọsọ dabere na Linux usoro dị ka Debian, wee chekwaa, nzacha, na nyochaa nke bara uru karịsịa maka nyocha usoro, nleba anya na nbipu, n'etiti ihe ndị ọzọ. Sysdig nwere ike ịde ederede na Lua ma gụnye interface-ahịrị iwu yana UI mmekọrịta siri ike na-eji iwu ahụ csysdig nke na-agba ọsọ na ọdụ gị.

N'ime nkuzi a, ị ga-amụta Otu esi etinye Sysdig na Debian 11 Bullseye.

Prerequisites

  • OS akwadoro: Nnenna 11 Bullseye
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ihe ùgwù or ohere mgbọrọgwụ (su Command).
  • Ngwungwu achọrọ: curl

Na-emelite Sistemụ Ọrụ

Melite gi Debian 11 Sistemụ arụmọrụ iji hụ na ngwugwu niile dị adị adịla ugbu a:

sudo apt update && sudo apt upgrade

Mgbọrọgwụ ma ọ bụ Sudo Access

Site na ndabara, mgbe ị mepụtara akaụntụ gị na mmalite na Debian ma e jiri ya tụnyere nkesa ndị ọzọ, ọ naghị enweta ọkwa sudoers ozugbo. Ị ga-enwerịrị ike ịnweta ya mgbọrọgwụ paswọọdụ iji iwu su ma ọ bụ gaa na nkuzi nkuzi anyị Otu esi etinye onye ọrụ na Sudoers na Debian.

Wụnye ngwugwu CURL

Nkuzi ga-eji ihe ngwugwu curl; mbụ, chọpụta ma ọ bụrụ na ngwugwu dị:

curl --version

Mwepụta ihe atụ ma ọ bụrụ arụnyere:

curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Release-Date: 2020-12-09

Ọ bụrụ na itinyeghị curl, jiri iwu a:

sudo apt install curl -y

Advertisement


Wụnye Sysdig

Iji wụnye Sysdig on Debian 11 abụghị usoro siri ike. Ị ga-ebu ụzọ jiri curl iwu ka ibudata wee mebie faịlụ bash. A na-eme nke a site na iji iwu njedebe a:

sudo curl -s https://s3.amazonaws.com/download.draios.com/stable/install-sysdig | sudo bash

Usoro n'ozuzu ekwesịghị iwe ogologo oge karịa nkeji ole na ole.

Ozugbo arụnyere, kwado ụdị ma wuo nke Sysdig site na iji ihe ndia:

sysdig --version

Ị ga - enweta mmepụta ndị a:

sysdig version 0.27.1

Otu esi eji Sysdig

Ugbu a ị wụnyela Sysdig, ị nwere ike iji software nlekota oru, nke a ga-eme na csysdig iwu. Okwu ndetu, ịkwesịrị ịgba ọsọ sysdig as mgbọrọgwụ n'ihi na ọ na-achọ ohere ịnweta mpaghara dị oke egwu dịka / proc usoro faịlụ, /dev/sysdig* ngwaọrụ, na kwesịrị iji akpaaka-buo ya sysdig-nyocha modul kernel.

Nke mbụ, were iwu na-esonụ bulite ihe ngosi:

sudo csysdig

Ị ga-ahụ ihuenyo n'okpuru:

Otu esi etinye Sysdig na Debian 11

Mara, ọ bụrụ na ị nwere nsogbu imeghe Sysdig, lelee nchọpụta nsogbu na ala nke nkuzi.

N'ikpeazụ, ị nwere ike pịa bọtịnụ F2 bọtịnụ ịgbanwe echiche azụ maka nrụtụ aka n'ọdịnihu.

Ihe Nlereanya:

Otu esi etinye Sysdig na Debian 11

Na nlele menu n'elu, ị nwere ike iji nke gị igodo igodo ịgagharị gburugburu ka ịhọrọ nhọrọ ị ga-achọ inyocha. Dịka ọmụmaatụ, ịchọrọ ịhụ ya CPU na-arụ ọrụ, wee pịgharịa gaa na ala wee kụọ ya Tinye igodo, nke ga-egosipụta ihe ndị a:

Otu esi etinye Sysdig na Debian 11

Ịlaghachi na nhọrọ menu gara aga, jiri F2 bọtịnụ. Site ebe a, ị nwere ike họrọ nnọọ nnukwu ndepụta. N'aka nke ọzọ, ịnwere ike iji iwu ahịrị ọnụ. Egosiri ụfọdụ ọmụmaatụ iwu ndị a n'okpuru:

Gbaa iwu a ka ịhụ ya n'elu usoro họọrọ site CPU itinye n'ọrụ pasenti:

sudo sysdig -c topprocs_cpu
Otu esi etinye Sysdig na Debian 11

Gbaa iwu a ka ịhụ ya njikọ netwọkụ nke sistemu:

sudo sysdig -c netstat

Ihe atụ mmepụta:

Otu esi etinye Sysdig na Debian 11

Iji lee ndepụta nke usoro usoro:

sudo sysdig -c ps

Ihe atụ mmepụta:

Otu esi etinye Sysdig na Debian 11

Advertisement


Nchọpụta nsogbu

Ọ bụrụ na ị zutere nsogbu a mgbe ị na-agbalị iji csysdig maka oge mbụ (Oghere mmeghe mperi: xterm-256color). Enwere ike idozi nke a ọtụtụ oge site na ịwụnye ngwugwu ndị a:

sudo apt install ncurses-term

Mara, naanị tinye (mgbagwoju anya-okwu) ọ bụrụ na ị na-ahụ njehie ozi.

Okwu na mmechi

Ị mụtala otu esi etinye ya Sysdig on Debian 11 site n'ịmụ iwu ịnyagharị na njedebe n'ime nkuzi. N'ozuzu, Sysdig jikọtara arụmọrụ nke ọtụtụ ngwaọrụ ahịrị iwu dị ugbu a wee jikọta ha n'otu ngwa yana GUI mara mma ma ọ bụ jiri iwu njedebe ọdịnala iji nyochaa ihe fọrọ nke nta ka ọ bụrụ akụkụ ọ bụla nke gị. Linux usoro.

Idenye aha
Gwa nke
0 Comments
Inline nzaghachi
Lee echiche niile
0
Ga-ahụ n'anya gị echiche, biko okwu.x