전체 페이지뷰

레이블이 hpux인 게시물을 표시합니다. 모든 게시물 표시
레이블이 hpux인 게시물을 표시합니다. 모든 게시물 표시

2014년 4월 6일 일요일

hpux baseline

reference site

http://h21007.www2.hp.com/portal/download/files/unprot/devresource/Docs/TechPapers/UXPerfCookBook.pdf

http://www.ablongman.com/samplechapter/0130187062.pdf


Glance and Performance Agent (PA is also known as MeasureWare) have the concept of Blocked States (which are also known as wait reasons). You can select a process in Glance, and then get into the Wait States screen for it to see what percentage of time that it’s waiting
for different resources. Unfortunately, these don’t always point you directly to the source
of the problem. Some of them, such as Priority, are easier: if a process is blocked on
Priority that means that it was stuck waiting for CPU time as a higher-priority process
ran. Some other wait reasons, such as Streams (Streams subsystem I/O) are trickier. If a
process is spending most of its time blocked on Streams, then it may be waiting because a
network is bottlenecked, but (more likely) it is idle reading from a Stream waiting until
something writes to it. User login shells sit in Stream wait when waiting for terminal
input.

We’re focusing on performance, not performance metrics
If you have Glance on a system, run xglance (same as gpm) and click on the Help -> User’s Guide menu selection, then in the
help window click on the Performance Metrics section to see all the definitions.
Alternatively, in xglance use the Configure -> Choose Metrics selection from one of the
Report windows to see the list of all available metrics in that area, and you can right-click
to conjure up the metric definitions.


It is not always easy to find out why the CPU bottleneck is happening. Here’s where it is
important to have that baseline knowledge of what the system looks like when it’s
running normally, so you’ll have an easier time spotting the processes and applications
that are contributing to a problem. Stephen likes to call these the ‘offending’ process(es).

2014년 4월 3일 목요일

glance usuage

glance -j time refresh second

h : help
s : select specific pid or device
F : file open descriptor

ulimit -a : tunable max limit parameter
/stand/system : system configuration paramerter


2014년 1월 3일 금요일

hpux san disk

ioscan -funC disk
ioscan -funNC disk
ioscan -m dsf
diskinfo /dev/rdsk/c0t0d0

di_sr_h2(saltlux):/home/saltlux]ioscan -funC disk
Class     I  H/W Path     Driver S/W State   H/W Type     Description
=====================================================================
disk      0  0/0/0/0.0.0  sdisk   CLAIMED     DEVICE       HP      Virtual Disk
                         /dev/dsk/c0t0d0     /dev/rdsk/c0t0d0
                         /dev/dsk/c0t0d0s1   /dev/rdsk/c0t0d0s1
                         /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0s2
                         /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s3
disk      2  0/0/0/0.1.0  sdisk   CLAIMED     DEVICE       HP      Virtual Disk
                         /dev/dsk/c0t1d0   /dev/rdsk/c0t1d0
disk      4  0/0/0/0.2.0  sdisk   CLAIMED     DEVICE       HP      Virtual Disk
                         /dev/dsk/c0t2d0   /dev/rdsk/c0t2d0
disk      6  0/0/0/0.3.0  sdisk   CLAIMED     DEVICE       HP      Virtual Disk
                         /dev/dsk/c0t3d0   /dev/rdsk/c0t3d0
disk      8  0/0/0/0.4.0  sdisk   CLAIMED     DEVICE       HP      Virtual Disk
                         /dev/dsk/c0t4d0   /dev/rdsk/c0t4d0
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/dsk/c0t0d0
diskinfo: Character device required
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
             vendor: HP
         product id: Virtual Disk
               type: direct access
               size: 104857600 Kbytes
   bytes per sector: 512
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/rdsk/c0t1d0
SCSI describe of /dev/rdsk/c0t1d0:
             vendor: HP
         product id: Virtual Disk
               type: direct access
               size: 104857600 Kbytes
   bytes per sector: 512
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/rdsk/c0t2d0
SCSI describe of /dev/rdsk/c0t2d0:
             vendor: HP
         product id: Virtual Disk
               type: direct access
               size: 104857600 Kbytes
   bytes per sector: 512
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/rdsk/c0t3d0
SCSI describe of /dev/rdsk/c0t3d0:
             vendor: HP
         product id: Virtual Disk
               type: direct access
               size: 104857600 Kbytes
   bytes per sector: 512
di_sr_h2(saltlux):/home/saltlux]diskinfo /dev/rdsk/c0t4d0
SCSI describe of /dev/rdsk/c0t4d0:
             vendor: HP
         product id: Virtual Disk
               type: direct access
               size: 104857600 Kbytes
   bytes per sector: 512


di_sr_h1(saltlux):/home/saltlux]ioscan -m dsf
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk1         /dev/rdsk/c0t0d0
/dev/rdisk/disk1_p1      /dev/rdsk/c0t0d0s1
/dev/rdisk/disk1_p2      /dev/rdsk/c0t0d0s2
/dev/rdisk/disk1_p3      /dev/rdsk/c0t0d0s3
/dev/rdisk/disk3         /dev/rdsk/c0t1d0
/dev/rdisk/disk5         /dev/rdsk/c0t2d0
/dev/rdisk/disk7         /dev/rdsk/c0t3d0
/dev/rdisk/disk9         /dev/rdsk/c0t4d0