Interstage Shunsaku Data Manager Troubleshooting - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Chapter 3 Collecting Troubleshooting Information | > 3.7 Collecting Information for Performance Problem |
This section explains how to collect the performance information necessary when investigate a performance problem in Solaris platform.
Execute the mpstat command to monitor multiple CPU use rate.
mpstat -p [execution time interval (sec.)] [number of execution] |
Remark: The execution will not stop if the number of execution is omitted.
Display Sample:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 1 214 114 25 0 0 0 0 38 0 0 0 100 1 1 0 1 3 2 31 0 1 0 0 45 0 0 0 100 |
Remark: CPU use rate = (usr+sys)%
Execute the netstat command to monitor the network load status.
netstat -in |
Display Sample:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Collis dr0 1268 192.168.0 192.168.0.1 4340 0 14 0 0 eth0 1500 192.169.0 192.169.0.2 4116 0 6748 0 0 lo0 9216 127 127.0.0.1 2 0 2 0 0 |
Ipkts:Number of received packets
Ierrs:Number of received packets that have errors
Opkts:Number of sent packets
Oerrs:Number of sent packets that have errors
Collis:Number of packets that have a collision
Execute the vmstat command to monitor the memory use status.
The amount of memory for swap-in (reading the swap-out data into physical memory) and swap-out (writing the physical memory data into the hard disk) can be examined.
vmstat -S [execution time interval (sec.)] [number of execution] |
Remark: The execution will not stop if the number of execution is omitted.
Display Sample:
kthr memory page disk faults cpu r b w swap free si so pi po fr de sr f0 s0 s1 s4 in sy cs us sy id 0 0 0 1293368 806752 0 0 0 0 0 0 0 0 0 0 0 217 83 55 0 0 100 |
si:The amount of memory for swap-in in 1 second (kilobytes)
so:The amount of memory for swap-out in 1 second (kilobytes)
Execute the iostat command to monitor the I/O status if the disk in the director server.
iostat -ctx [execution time interval (sec.)] [number of execution] |
Remark: The execution will not stop if the number of execution is omitted.
Display Sample:
extended device statistics tty cpu device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id lofi1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 484 11 20 1 69 sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.3 0 0 sd1 0.2 4.8 5.6 65.0 0.0 0.2 42.3 0 2 sd2 0.2 0.5 11.1 24.1 0.0 0.0 36.3 0 0 nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0 0 |
Execute the ps command to monitor the operating status of the process.
ps -elfy |
Display Sample:
S UID PID PPID C PRI NI RSS SZ WCHAN STIME TTY TIME CMD S root 21715 21714 0 59 20 20328 23296 ? 16:35:55 ? 0:00 shunddmn shunsys shundir1 60432 S root 21706 21705 0 58 20 20336 23304 ? 16:35:55 ? 0:00 shunddmn shunsys shundir2 60432 |
Remark: RSS: the actual amount of memory use in the process
Contents
Index
![]() ![]() |