하기와 같이 명령어 실행시, esxtop의 실행 결과가 csv 형식으로 출력되네요.
-h 를 하여 실행해도, 마땅히 쓸만한 인자가 보이지 않네요
먼저 길을 걸어가신 선배님들의 조언을 얻고자 합니다. 꾸벅
그럼, 답변 부탁 드려 봅니다.
#> esxtop
...
per:724227:helper48-1)\% System","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Wait","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% VmWait","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Ready","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Idle","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Overlap","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% CoStop","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Max Limited","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724227:helper48-1)\% Swap Wait","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:724234:helper48-2)\% Used","\\CBTCNB02-HPBL01B02\Vcpu(8:helper:~ #
...
ESXi¿¡ Á¢±ÙÇϴ Ŭ¶óÀ̾ðÆ®ÀÇ Å͹̳Π¼³Á¤À» xterm ¶Ç´Â linux·Î Àâ°í Á¢¼ÓÇÑ ´ÙÀ½ esxtop ¸í·ÉÀ» ³»¸®½Ã¸é µË´Ï´Ù.
¾Æ´Ï¸é È£½ºÆ®¿¡ Á¢¼ÓÇÑ ´ÙÀ½ TERM=xterm esxtop ÀÌ·±½ÄÀ¸·Î ¸í·É³»·ÁÁÖ½Ã¸é µÇ½Ç °Ì´Ï´Ù.
~ # TERM=xterm esxtop -d 1
2:35:15pm up 6 days 3:13, 553 worlds, 1 VMs, 12 vCPUs; CPU load average: 0.04, 0.04, 0.04
PCPU USED(%): 3.5 0.5 0.2 3.5 3.8 0.3 9.3 0.5 14 0.0 3.1 0.9 3.3 0.1 3.1 4.3 7.1 3.0 3.8 0.7 0.1 3.4 0.5 2.4 AVG: 3.0
PCPU UTIL(%): 7.9 0.8 0.4 7.9 8.5 0.0 18 0.0 29 0.0 7.1 1.6 7.4 0.0 7.4 8.3 15 8.0 8.5 0.2 0.0 7.5 1.3 5.7 AVG: 6.4
CORE UTIL(%): 8.8 8.3 9.0 19 29 8.5 7.5 14 19 9.7 7.7 6.8 AVG: 12
Unknown command `' -- hit `h' for help
ID GID NAME NWLD %USED %RUN %SYS %WAIT %VMWAIT %RDY %IDLE %OVRLP %CSTP %MLMTD %SWPWT
1425530 1425530 GGCBT09-SF-13 17 63.90 115.85 4.90 1589.96 8.52 0.99 1079.69 0.20 0.00 0.00 0.00
2743672 2743672 esxtop.1441515 1 3.38 7.79 0.00 92.59 - 0.00 0.00 0.00 0.00 0.00 0.00
......