系统管理系统查看

ps  -aux  (a代表前台进程  x代表后台进程  u代表显示启动该进程的用户)

[root@LocalWeb01 ~]# ps au
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      3532  0.0  0.0   1764   444 tty2     Ss+  00:00   0:00 /sbin/mingetty tty2
root      3533  0.0  0.0   1764   448 tty3     Ss+  00:00   0:00 /sbin/mingetty tty3
root      3534  0.0  0.0   1764   444 tty4     Ss+  00:00   0:00 /sbin/mingetty tty4
root      3535  0.0  0.0   1764   440 tty5     Ss+  00:00   0:00 /sbin/mingetty tty5
root      3536  0.0  0.0   1764   448 tty6     Ss+  00:00   0:00 /sbin/mingetty tty6
root      3567  0.0  0.1   4784  1556 pts/0    Ss+  00:01   0:00 -bash
root      7239  0.0  0.1   4780  1484 tty1     Ss+  07:32   0:00 -bash
root      7414  0.0  0.1   4784  1488 pts/1    Ss   07:50   0:00 -bash
root      7445  0.0  0.0   4368   956 pts/1    R+   07:51   0:00 ps au

用户  进程号  cpu占用 内存占用率 虚拟内存的大小  占用时间物理内存的大小  是在哪个终端允许

top命令查看系统的健康状况

 

 

pstree查看进程树  -pu    进程ID   显示用户

 

posted @ 2014-11-05 08:07  agang_19  阅读(133)  评论(0编辑  收藏  举报