ThaiSEOBoard.com

Host and Domain => Host & Domain (general) => ข้อความที่เริ่มโดย: mr.zatan ที่ 23 มิถุนายน 2020, 08:10:48



หัวข้อ: คำสั่ง top ดูแบบ megabyte
เริ่มหัวข้อโดย: mr.zatan ที่ 23 มิถุนายน 2020, 08:10:48
คำสั่ง top ดูแบบ megabyte ยังไงครับ 


ubuntu 18


หัวข้อ: Re: คำสั่ง top ดูแบบ megabyte
เริ่มหัวข้อโดย: Unlocker ที่ 23 มิถุนายน 2020, 14:55:49
1. top -E m
2. top แล้วกด e ตามด้วย shift + w
หรือ 3 ใช้ htop แทนครับ ดูง่ายกว่าด้วย


หัวข้อ: Re: คำสั่ง top ดูแบบ megabyte
เริ่มหัวข้อโดย: NaiTan ที่ 15 กรกฎาคม 2020, 19:18:42
-E  :Extend-Memory-Scaling as:  -E  k | m | g | t | p | e
     Instructs top to force summary area memory to be scaled as:
         k - kibibytes
         m - mebibytes
         g - gibibytes
         t - tebibytes
         p - pebibytes
         e - exbibytes
     Later this can be changed with the `E' command toggle.


หัวข้อ: Re: คำสั่ง top ดูแบบ megabyte
เริ่มหัวข้อโดย: JeffyPluS ที่ 15 กรกฎาคม 2020, 21:11:28
อ้างถึง
Help for Interactive Commands - procps-ng version 3.3.10
Window 1:Def: Cumulative mode Off.  System: Delay 3.0 secs; Secure mode Off.

  Z,B,E,e   Global: 'Z' colors; 'B' bold; 'E'/'e' summary/task memory scale
  l,t,m     Toggle Summary: 'l' load avg; 't' task/cpu stats; 'm' memory info
  0,1,2,3,I Toggle: '0' zeros; '1/2/3' cpus or numa node views; 'I' Irix mode
  f,F,X     Fields: 'f'/'F' add/remove/order/sort; 'X' increase fixed-width

  L,&,<,> . Locate: 'L'/'&' find/again; Move sort column: '<'/'>' left/right
  R,H,V,J . Toggle: 'R' Sort; 'H' Threads; 'V' Forest view; 'J' Num justify
  c,i,S,j . Toggle: 'c' Cmd name/line; 'i' Idle; 'S' Time; 'j' Str justify
  x,y     . Toggle highlights: 'x' sort field; 'y' running tasks
  z,b     . Toggle: 'z' color/mono; 'b' bold/reverse (only if 'x' or 'y')
  u,U,o,O . Filter by: 'u'/'U' effective/any user; 'o'/'O' other criteria
  n,#,^O  . Set: 'n'/'#' max tasks displayed; Show: Ctrl+'O' other filter(s)
  C,...   . Toggle scroll coordinates msg for: up,down,left,right,home,end

  k,r       Manipulate tasks: 'k' kill; 'r' renice
  d or s    Set update interval
  W,Y       Write configuration file 'W'; Inspect other output 'Y'
  q         Quit
          ( commands shown with '.' require a visible task display window )
Press 'h' or '?' for help with Windows,