zz_008 回复于:2004-04-07 17:47:43
|
zombies 是死进程,你的服务器的死进程有点多呀
各列参数,参考一下:
The first few lines at the top of the display show general
information about the state of the system, including:
+ System name and current time.
+ Load averages in the last one, five, and fifteen
minutes of all the active processors in the system.
+ Number of existing processes and the number of
processes in each state (sleeping, waiting, running,
starting, zombie, and stopped).
+ Percentage of time spent in each of the processor
states (user, nice, system, idle, interrupt and
swapper) per active processor on the system.
+ Average value for each of the active processor
states (only on multi-processor systems).
cpu的使用率,下面不是有avg值吗
|
indigo 回复于:2004-04-07 20:36:40
|
zombie准确来讲是僵尸进程。主要是由于子进程退出以后,父进程没有回收子进程的资源造成的。即使你用kill -9,进程号还是会存在的,着手处只有从父进程开刀。
|
creativet 回复于:2004-05-14 13:13:21
|
那僵尸进程多了,对系统都有哪些影响呢?
|
sibeery 回复于:2004-05-14 14:36:43
|
占用系统资源,影响其他进程的运行。
|
creativet 回复于:2004-05-14 15:08:45
|
我使用top命令后,还有项的内容不是太清楚,如下:
Memory: 4286364K (3014636K) real, 10369472K (7240476K) virtual, 303508K free
请教:
1、real是指实际的物理内存吗?括号外的数字和括号内的分别表示什么?
2、virtual是unix系统的虚拟内存吗?是不是类似windows的?
3、怎样查看unix操作系统所占用的内存?
谢谢!
|
creativet 回复于:2004-05-15 23:35:25
|
怎么没有人回答我呀。???达人请进!!!:)
|
泡方便面 回复于:2004-05-17 09:42:31
|
只有free才是系统真正剩余的内存,即你的机器只剩余49108k的内存
|
creativet 回复于:2004-05-17 21:26:03
|
那前面几项都代表什么意思呢?
|
freekiss 回复于:2004-05-18 15:25:07
|
以前一位大哥曾经回答过,我记下来了,很清楚。
[color=green:86e935c052]top 只能看到进程所使用的内存量,所以你看到的 92764K (15880K) real 就是所有进程所使用的内存总和,这个内存是指物理内存,括号前那个值是Total Real Memory,括号内是Active Real Memory, 这两者的区别就在于Active Real Memory的值只是分配给那些已经在run queue或者正在运行的进程的Real Memory,而Total Real Memory 包括所有的进程。
对于后一项值 65796K (13316K) virtual 的解释也是同样的,不过这个值代表了Virtual Memory(一般为建在Disk上的Swap空间,当然你要问了,我的Swap空间可不止这么些啊 by executing 'swapinfo', 没错,Swap空间是大于这里的Total Vitual Memory的,但我前面说了,这里的值只是计算的分配给进程的),最后一项33684K free 到确确实实是Free 的Memory,它等于Physical Mem - kernel used - user used - buffer cache。[/color:86e935c052]
|
creativet 回复于:2004-05-19 23:44:51
|
谢谢freekiss !!!
|