码迷,mamicode.com
首页 > 系统相关 > 详细

Linux命令——top

时间:2018-12-16 00:54:01      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:include   play   ogr   put   bsp   time   cpu使用率   排序   status   

TOP will display a full screen of information about the processes running on the system, as well as some overall information about the system.This includes load average, number of processes, the CPU status, freememory information, and details about processes including PID, user, priority, CPU and memory usage information, running time, and program name.

$>top        -it will display the complete active process, cpu and memory information.
SHIFT+M -Memory使用率由高到低排序
SHIFT+P  -CPU使用率由高到低排序
SHIFT+W -For saving the top outputin a file(/root/. toprc.)
SHIFT+F -设置显示列,以及默认按哪个排序

s:更改top刷新时间,默认3s

i:隐藏idle状态的进程,只显示当前活跃的进程

k:杀进程,后面跟进程ID

Linux命令——top

标签:include   play   ogr   put   bsp   time   cpu使用率   排序   status   

原文地址:https://www.cnblogs.com/kelamoyujuzhen/p/10125512.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!