HP B.06.X 사용자 설명서

다운로드
페이지 78
Special Considerations
Verifying PPU Utilization Information
Appendix B
63
Verifying PPU Utilization Information
Your PPU system/partition’s processor utilization information is 
available from the HP PPU web portal. See “PPU Web Portal” on page 36 
for details of the PPU web portal.
If you are interested in verifying PPU utilization information against the 
PPU web portal information, you can use the 
sar
 command to compare 
processor utilization numbers. The 
sar
 command is a HP-UX system 
activity reporter that samples and accumulates processor utilization. See 
the manpage sar  (1M ) for details on the 
sar
 command.
An overview of the processor utilization verification process is:
Create processor utilization numbers for your PPU system/partition 
with the 
sar
 command
Go to the PPU web portal and capture processor utilization numbers 
for the same PPU system/partition and duration of time
Verify  the 
sar
 utilization numbers against the PPU web portal 
utilization numbers
To perform the utilization verification process, perform the following 
steps:
NOTE
Because the PPU web-portal’s utilization reports contain 30 minutes of 
information, beginning on the hour or on the half-hour, it is 
recommended to time the execution of 
Step 1
 (below) immediately upon 
the start of a hour, or half past the hour. Another option is to create a 
shell script that contains the command in 
Step 1
 and schedule a 
cron
 job 
so it starts exactly on the hour or half hour.
Step 1. In a terminal window on the PPU system, execute the following 
command:
/usr/bin/nice --10 /usr/sbin/sar -o /tmp/sarOut 300 12
Where “300” represents the (averaged) interval duration of the 
utilization sample, in seconds, and “12” represents the number of