´ÔÀÇ IP´Â 38.107.191.116ÀÔ´Ï´Ù.
|
|
¿î¿µÃ¼°è(O.S)
|
|
|
| [AIX] AIX ½Ã½ºÅÛ ¸í·É(cpu, memory, disk) |
 |
|
| ±Û¾´ÀÌ : Ǫ¿ì
³¯Â¥ : 07-12-28 15:47
Á¶È¸ : 6651
|
|
http://altibase.egloos.com/1122253 (761) |
|
- CPU Á¤º¸ È®ÀÎ
-
-
topas sys : Ä¿³ÎÀÌ »ç¿ëÇÏ´Â process time slice¿¡ ´ëÇÑ ¹éºÐÀ².User : »ç¿ëÀÚ ÇÁ·Î±×·¥¿¡¼ »ç¿ëÇÏ´Â »ç¿ëÀ².Idle : Áö±Ý »ç¿ëµÇ°í ÀÖÁö ¾ÊÀº ºÎºÐ.Wio : µð½ºÅ©¿¡¼ÀÇ ÀÀ´äÀ» ±â´Ù¸®´Â ºÎºÐÀ» ¸»Çϴµ¥ ÀÌ ºÎºÐÀº ´Ù¸¥ ÇÁ·Î¼¼½º°¡ ¿Ã¶ó¿Í¼ ¸®¼Ò½º ¿äûÀ» ÇÏ¸é »ç¿ëµÉ ¼ö ÀÖ´Â ºÎºÐ
-
sar -P ALL 3 10 (root)
sar -P ALL 3 10 (root) % sar -P ALL 1 2AIX aix 1 5 0001D01F4C00 05/20/0312:54:00 cpu %usr %sys %wio %idle12:54:02 0 32 52 15 1 1 31 45 19 4 - 31 49 17 212:54:03 0 25 48 7 20 1 36 34 9 21 - 32 40 8 20Æò±Õ 0 29 50 11 9 1 34 39 13 14- 32 45 12 11
-
lsattr -El proc0 (5L) state enable ÇÁ·Î¼¼¼ »óÅ °ÅÁþtype PowerPC_RS64-III ÇÁ·Î¼¼¼ À¯Çü °ÅÁþfrequency 601600000 ÇÁ·Î¼¼¼ ¼Óµµ °ÅÁþ
- CPU »ç¿ë·® È®ÀÎ
-
TOP
- ¸Þ¸ð¸® Á¤º¸ È®ÀÎ
-
-
topas Memory : ¹°¸®Àû ¸Þ¸ð¸®¿Í ÆäÀÌ¡ ¿µ¿ª¿¡ ´ëÇÑ ºÎºÐÀ» º¸¿©ÁØ´Ù.¹°¸®Àû ¸Þ¸ð¸®´Â ÀÏ´Ü °è»ê °¡´É ¿µ¿ª(computational area)ÀÌ ÀÖ°í °è»ê ºÒ°¡ ¿µ¿ª(noncomputational area)ÀÌ Àִµ¥ °è»ê °¡´É ¿µ¿ª(computational)Àº ÇÁ·Î¼¼½º°¡ »ç¿ëÇÏ´Â ¸Þ¸ð¸®ÀÇ ºÎºÐÀÌ°í °è»ê ºÒ°¡ ¿µ¿ª(noncomputational area)Àº ÆÄÀÏ Ä³½Ã(file cache)¿ëµµ·Î »ç¿ëÇÏ´Â ºÎºÐÀ» ¸»ÇÑ´Ù. paging in, out¿¡ ´ëÇÑ ºÎºÐµµ º¸¿©ÁÖ°í ÀÌ ¿Ü¿¡µµ top process¿Í µð½ºÅ© µîÀÇ »ç¿ëÀ²À» º¸¿©ÁØ´Ù.
-
svmon -G size inuse free pin virtualmemory 1048565 901587 146978 56480 216102pg space 753664 41379 work pers clntpin 56480 0 0in use 180237 721350 0
- ÇÁ·Î¼¼½º ¸Þ¸ð¸® È®ÀÎ
-
-
ps -aux
½Ã½ºÅÛ¿¡¼ ÁøÇà ÁßÀÎ ÇÁ·Î¼¼½º¿¡ ´ëÇÑ Á¤º¸¸¦ %CPU, %MEM, RSS °ª°ú ÇÔ²² º¸¿©ÁØ´Ù.
-
svmon -P <id> % svmon -P 13658------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 13658 at 19230 1605 1820 13917 Y Y Vsid Esid Type Descript-xion Inuse Pin Pgsp Virtual 4c272 11 work text data BSS heap 8371 0 34 403 0 0 work kernel seg 3109 1576 1745 4647 50994 - pers /dev/home_lv:5513252 2503 0 - - 89a2 - pers /dev/home_lv:5513251 2169 0 - - 14204 10 pers text data BSS heap,/dev/home 1590 0 - - 601f8 90000000 work shared library text 467 0 3 490 4c993 - pers /dev/home_lv:5513250 223 0 - - 500d5 - pers /dev/home_lv:5513249 220 0 - - 44991 - pers /dev/home_lv:5513248 215 0 - - c402 9001000a work shared library data 111 0 0 111 1c207 90020014 work shared library 110 0 37 132 ¡¦¡¦¡¦¡¦.
- ½Ã½ºÅÛ ¸Þ¸ð¸® È®ÀÎ
-
-
%vmstat -p 1 10
Usage: vmstat [-cisS] [disk ...] [interval [count]] %vmstat 1 1procs memory page disk faults cpur b w swap free re mf pi po fr de sr s6 sd sd sd in sy cs us sy id0 0 0 44048 2936 3 959 44 34 43 0 1 0 2 2 1 867 6994 3662 18 9 72
- Memory Top 3 È®ÀÎ
-
-
svmon -uP -t 3 | grep -p Pid ¶Ç´Â svmon -P -t 3 -p % svmon -uP -t 3 | grep -p Pid------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 31462 at 95870 1605 1949 39704 Y Y------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 26852 at 20352 1607 1841 14624 Y Y------------------------------------------------------------------------------- Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd13658 at 19296 1605 1820 13917 Y Y
- Real Memory Check
-
-
Real Memory »ç¿ë·üÀÌ ³ôÀº 3°³ÀÇ ÇÁ·Î¼¼½º¸¦ üũÇÏ´Â ¹æ¹ý % ps gu|head -n 1;ps gu|egrep -v "CPU|kproc"|sort +3b -n -r|head -n 3USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME qa64 31462 0.5 4.0 141680 143816 - A 04:40:11 5:12 qa64 13658 0.5 1.0 38536 40584 A 04:24:05 5:23 qa64 26852 0.5 1.0 41320 43804 - A 04:39:39 4:59 ¡¦¡¦¡¦¡¦
- LOG È®ÀÎ
-
-
syslog
±âº»ÀûÀ¸·Î /var/adm/syslog ¿©±â¿¡ À§Ä¡ÇØ ÀÖÀ¸³ª ¾ø´Â °æ¿ì´Â ¾Æ·¡ syslog.conf¿¡ ¼³Á¤µÇ¾î ÀÖ´Â ÆÄÀÏ °æ·Î¿¡¼ ãÀ¸¸é È®ÀÎ °¡´ÉÇÏ´Ù.
-
syslog.conf % vi /etc/syslog¸¶Áö¸· ºÎºÐ¿¡# example:# "mail messages, at debug or higher, go to Log file. File must exist."# "all facilities, at debug and higher, go to console"# "all facilities, at crit or higher, go to all users"# mail.debug /usr/spool/mqueue/syslog# *.debug /dev/console# *.crit *# *.debug /tmp/syslog.out rotate size 100k files 4# *.crit /tmp/syslog.out rotate time 1d
- ¿î¿µ üÁ¦ ¹öÀü È®ÀÎ
-
- ÆÐÄ¡ ¹øÈ£ È®ÀÎ
-
-
-
-
iostat
Usage : iostat [ -s ] [ -a ] [ -d | -t ] [ PhysicalVolume ... ] [ Interval [ Count ] % iostat 3 1tty: tin tout avg-cpu: % user % sys % idle % iowait 0.0 388.0 23.6 16.0 54.7 5.8 µð½ºÅ©: % tm_act Kbps tps Kb_read Kb_wrtnhdisk1 0.1
|
|
|
|
°Ô½Ã¹° 25°Ç
|
|
|
|
|