您的位置:首页 > 娱乐 > 八卦 > linux top 中显示swap用量并排序

linux top 中显示swap用量并排序

2024/12/23 8:08:14 来源:https://blog.csdn.net/jnrjian/article/details/139591966  浏览:    关键词:linux top 中显示swap用量并排序

进入 top 命令

top

进入配置界面

按f

Fields Management for window 1:Def, whose current sort field is %CPU

Navigate with Up/Dn, Right selects for move then or Left commits,

'd' or toggles display, 's' sets sort. Use 'q' or to end!

* PID = Process Id

* USER = Effective User Name

* PR = Priority

* NI = Nice Value

* VIRT = Virtual Image (KiB)

* RES = Resident Size (KiB)

* SHR = Shared Memory (KiB)

* S = Process Status

* %CPU = CPU Usage

* %MEM = Memory Usage (RES)

* TIME+ = CPU Time, hundredths

* COMMAND = Command Name/Line

PPID = Parent Process pid

UID = Effective User Id

RUID = Real User Id

RUSER = Real User Name

SUID = Saved User Id

SUSER = Saved User Name

GID = Group Id

GROUP = Group Name

PGRP = Process Group Id

TTY = Controlling Tty

TPGID = Tty Process Grp Id

SID = Session Id

nTH = Number of Threads

P = Last Used Cpu (SMP)

TIME = CPU Time

SWAP = Swapped Size (KiB)

CODE = Code Size (KiB)

DATA = Data+Stack (KiB)

nMaj = Major Page Faults

nMin = Minor Page Faults

nDRT = Dirty Pages Count

WCHAN = Sleeping in Function

Flags = Task Flags

CGROUPS = Control Groups

SUPGIDS = Supp Groups IDs

SUPGRPS = Supp Groups Names

TGID = Thread Group Id

ENVIRON = Environment vars

vMj = Major Faults delta

vMn = Minor Faults delta

USED = Res+Swap Size (KiB)

nsIPC = IPC namespace Inode

nsMNT = MNT namespace Inode

nsNET = NET namespace Inode

nsPID = PID namespace Inode

nsUSER = USER namespace Inode

nsUTS = UTS namespace Inode

操作键

d或空格:选中项目

左右方向键+回车键:选中,移动位置

s:保存

q或退出键:退出

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com