linux6.5 查看分辨率命令,centos6.5跟centos7的top命令中移动查看顺序的指令怎么不一样...

top 命令 移动查看顺序

centos6.5 以下 top -ab -n 1

按o 按大写字母可以调顺序 大写字母往左 小写往右

f,o . Fields/Columns: ‘f’ add or remove; ‘o’ change display order

F or O . Select sort field

查看cpu和内存占用排序,可以直接快捷方式

但是在centos7中快捷键用大小写f

f,F,X     Fields: ‘f’/’F’ add/remove/order/sort; ‘X’ increase fixed-width

下面是top帮助

centos6.5以下中hlep

Z,B Global: 'Z' change color mappings; 'B' disable/enable bold

l,t,m Toggle Summaries: 'l' load avg; 't' task/cpu stats; 'm' mem info

1,I Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode

f,o . Fields/Columns: 'f' add or remove; 'o' change display order

F or O . Select sort field

. Move sort field: '' next col right

R,H . Toggle: 'R' normal/reverse sort; 'H' show threads

c,i,S . Toggle: 'c' cmd name/line; 'i' idle tasks; 'S' cumulative time

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 . Show specific user only

n or # . Set maximum tasks displayed

k,r Manipulate tasks: 'k' kill; 'r' renice

d or s Set update interval

W Write configuration file

q Quit

( commands shown with '.' require a visible task display window )

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

Z,BGlobal:'Z'changecolormappings;'B'disable/enablebold

l,t,mToggleSummaries:'l'loadavg;'t'task/cpustats;'m'meminfo

1,IToggleSMPview:'1'single/separatestates;'I'Irix/Solarismode

f,o.Fields/Columns:'f'addorremove;'o'changedisplayorder

ForO.Selectsortfield

.Movesortfield:''nextcolright

R,H.Toggle:'R'normal/reversesort;'H'showthreads

c,i,S.Toggle:'c'cmdname/line;'i'idletasks;'S'cumulativetime

x,y.Togglehighlights:'x'sortfield;'y'runningtasks

z,b.Toggle:'z'color/mono;'b'bold/reverse(onlyif'x'or'y')

u.Showspecificuseronly

nor#  . Set maximum tasks displayed

k,rManipulatetasks:'k'kill;'r'renice

dorsSetupdateinterval

WWriteconfigurationfile

qQuit

(commandsshownwith'.'requireavisibletaskdisplaywindow)

centos7中hlep

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

Z,B,E,eGlobal:'Z'colors;'B'bold;'E'/'e'summary/taskmemoryscale

l,t,mToggleSummary:'l'loadavg;'t'task/cpustats;'m'memoryinfo

0,1,2,3,IToggle:'0'zeros;'1/2/3'cpusornumanodeviews;'I'Irixmode

f,F,XFields:'f'/'F'add/remove/order/sort;'X'increasefixed-width

L,&,.Locate:'L'/'&'find/again;Movesortcolumn:''left/right

R,H,V,J.Toggle:'R'Sort;'H'Threads;'V'Forestview;'J'Numjustify

c,i,S,j.Toggle:'c'Cmdname/line;'i'Idle;'S'Time;'j'Strjustify

x,y.Togglehighlights:'x'sortfield;'y'runningtasks

z,b.Toggle:'z'color/mono;'b'bold/reverse(onlyif'x'or'y')

u,U,o,O.Filterby:'u'/'U'effective/anyuser;'o'/'O'othercriteria

n,#,^O  . Set: 'n'/'#' max tasks displayed; Show: Ctrl+'O' other filter(s)

C,....Togglescrollcoordinatesmsgfor:up,down,left,right,home,end

k,rManipulatetasks:'k'kill;'r'renice

dorsSetupdateinterval

W,YWriteconfigurationfile'W';Inspectotheroutput'Y'

qQuit

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值