- 论坛徽章:
- 0
|
top排序问题
排序可以加 -o的参数
默认 top是定时地更新显示15条进程消息 没必要翻页吧?
好象top有个交互式的运行状态 可以使用的命令:
^L Redraw the screen.
h or ?
Display a summary of the commands (help screen). Ver-
sion information is included in this display.
q Quit top.
d Change the number of displays to show (prompt for new
number). Remember that the next display counts as one,
so typing d1 will make top show one final display and
then immediately exit.
n or #
Change the number of processes to display (prompt for
new number).
s Change the number of seconds to delay between displays
(prompt for new number).
k Send a signal ("kill" by default) to a list of
processes. This acts similarly to the command
kill(1)).
r Change the priority (the "nice" of a list of
processes. This acts similarly to the command ren-
ice( ).
u Display only processes owned by a specific username
(prompt for username). If the username specified is
simply "+", then processes belonging to all users will
be displayed.
o Change the order in which the display is sorted. This
command is not available on all systems. The sort key
names vary fron system to system but usually include:
"cpu", "res", "size", "time". The default is cpu.
e Display a list of system errors (if any) generated by
the last kill or renice command.
i (or I) Toggle the display of idle processes. |
|