- 论坛徽章:
- 0
|
fork、exec、system对系统有什么影响?
- nmon v5.433i [H for help] Hostname=collector1 Refresh=2.0secs 17:49.36
- RS/6000 Details
- Machine Type=PowerPC unknown which is a 64 bit machine with 8 CPUs.
- CPU Cache is Combined Instruction (131072 bytes) and Data (131072 bytes)
- Level 2 Cache size=4194304
- AIX Version 4.3.3.86 uname=collector1 hostname=collector1
- CPU Utilisation +-------------------------------------------------+
- CPU User% Sys% Wait% Idle|0 |25 |50 |75 100|
- 0 0.0 80.0 0.0 20.0|ssssssssssssssssssssssssssssssssssssssss >; |
- 1 0.5 1.0 6.5 92.0|WWW >; |
- 2 0.5 1.5 0.0 98.0| >; |
- 3 0.0 3.0 0.0 97.0|s >; |
- 4 0.0 0.0 0.0 100.0| >; |
- 5 0.0 1.5 3.0 95.5|W>; |
- 6 0.0 1.0 0.0 99.0| >; |
- 7 0.0 1.5 0.0 98.5| >; |
- +-------------------------------------------------+
- 0.1 11.2 1.1 87.6|sssss >; |
- +-------------------------------------------------+
- Memory Use Physical Virtual Paging pages/sec In Out VM parameters
- % Used 39.1% 0.0% to Paging Space 0.0 0.0 numperm 30.0%
- % Free 60.9% 100.0% to File System 0.0 131.2 minperm 15.0%
- MB Used 3199.3MB 3.0MB Paging Total 0.0 131.2 maxperm 30.0%
- MB Free 4992.5MB 12285.0MB Paging Faults 1619.2/sec minfree 120
- Total(MB) 8191.8MB 12288.0MB Paging Reclaim 0.0/sec maxfree 128
- Top Processes Processes=169 mode=3 (1=Basic, 2=CPU 3=Perf. w=wait-procs)
- PID %CPU Size Res Res Res Char RAM Paging Command
- Used K Set Text Data I/O Use io other repage
- 3096 82.3 320 18204 17884 320 0 1% 0 0 0 gil = TCP/IP
- 103116 1.5 600 660 224 436 51 0% 0 180 0 sh
- 88778 1.5 320 352 8 344 0 0% 0 69 0 oe_ftdemon
- 22732 0.5 608 664 224 440 17 0% 0 18 0 sh
- 65180 0.5 608 664 224 440 18 0% 0 18 0 sh
- 94812 0.5 228 292 96 196 162656 0% 0 0 0 hljftam
- 101530 0.5 608 664 224 440 17 0% 0 18 0 sh
- 5042 0.0 952 980 0 980 0 0% 0 0 0 portmap
复制代码
以上是某一瞬间的数据,单不是最坏情况。
另外,进程“gil = TCP/IP”不清楚到底是如何工作的。
- nmon v5.433i [H for help] Hostname=collector1 Refresh=2.0secs 17:52.44
- RS/6000 Details
- Machine Type=PowerPC unknown which is a 64 bit machine with 8 CPUs.
- CPU Cache is Combined Instruction (131072 bytes) and Data (131072 bytes)
- Level 2 Cache size=4194304
- AIX Version 4.3.3.86 uname=collector1 hostname=collector1
- CPU Utilisation +-------------------------------------------------+
- CPU User% Sys% Wait% Idle|0 |25 |50 |75 100|
- 0 0.0 4.0 0.0 96.0|ss >; |
- 1 0.0 0.5 0.0 99.5| >; |
- 2 0.0 0.5 0.0 99.5| >; |
- 3 0.0 0.0 0.0 100.0| >; |
- 4 0.0 0.0 0.0 100.0| >; |
- 5 0.0 0.0 0.0 100.0| >; |
- 6 0.0 0.0 0.0 100.0| >;
- 7 0.5 0.0 0.0 99.5| >; |
- +-------------------------------------------------+
- 0.1 0.6 0.0 99.3| >; |
- +-------------------------------------------------+
- Memory Use Physical Virtual Paging pages/sec In Out VM parameters
- % Used 39.0% 0.0% to Paging Space 0.0 0.0 numperm 30.0%
- % Free 61.0% 100.0% to File System 0.0 8.0 minperm 15.0%
- MB Used 3198.5MB 3.0MB Paging Total 0.0 8.0 maxperm 30.0%
- MB Free 4993.4MB 12285.0MB Paging Faults 503.9/sec minfree 120
- Total(MB) 8191.8MB 12288.0MB Paging Reclaim 0.0/sec maxfree 128
- Top Processes Processes=166 mode=1 (1=Basic, 2=CPU 3=Perf. w=wait-procs)
- PID PPID UID Pgrp Nice Status proc-Flag Thrds Files Command
- 3096 0 root 0 41 Running 0x00000303 5 0 gil = TCP/IP
- 37502 38072 hrm1 none 20 Running 0x00200001 1 6 F nmon
- 88778 1 root 98344 20 Running 0x00040001 1 5 oe_ftdemon
- 2580 0 root 0 41 active 0x00000303 1 0 lrud
- 3354 0 root 0 41 active 0x00000303 1 0 xmgc
- 4442 1 root none 20 active 0x00040401 1 9 errdemon
- 4674 1 root none 20 active 0x00240401 1 6 ssa_daemon
- 5042 7236 root none 20 active 0x00240001 1 8 portmap
- 5184 0 root 3614 20 active 0x00040201 1 0
复制代码
这是在进程显示模式等于1的条件下的显示结果。
其中,进程“gil = TCP/IP”的Thrds值是5,这个参数表示什么意思? |
|