Documente Academic
Documente Profesional
Documente Cultură
almost all you need in order to figure out what could happen in the system, perf
ormance related of course. The tool is interactive, like top for example, and yo
u can go trough its features with various shortcuts. Find below some of them:
a CPU By Processor
c CPU Report
d Disk Report
g Process List
i IO By File System
k Diskless Server Resource Utilization Screen
l Network By Interface
m Memory Report
n NFS By System
N Global NFS Activity Screen
t System Tables Report
S Select a NFS system
s Select a single process
U IO By HBA Card
u IO By Disk
V Logical System List
v IO By Logical Volume
w Swap Space
F Open Files Screen for a process
M Memory Regions Screen for a process
R Process Resource Summary
W Wait States Screen for a process _
b Scroll page backward
f Scroll page forward
h Online help
j Adjust refresh interval
o Adjust process threshold
p Print toggle
q Quit GlancePlus
r Refresh the current screen
y Renice a process
z Reset statistics to zero
> Display next logical screen
< Display previous screen
f Go to the next page
b
Go to the previous page
! Invoke a shell
? Commands Menu
Swapinfo Prints information about device and file system paging space:
gz-hp-ux:/# swapinfo -tam
Mb
Mb
Mb PCT START/
Mb
TYPE
AVAIL
USED
FREE USED LIMIT RESERVE PRI NAME
dev
8192
158
8019
2%
0
1 /dev/vg00/lvol2
dev
90016
152 89861
0%
0
1 /dev/vgswap/lvswap
dev
3520
156
3362
4%
0
1 /dev/vgswap/lvswap2
dev
46464
157 46299
0%
0
1 /dev/vgswap/lvswap3
reserve
- 29827 -29827
memory
75480 42047 33433 56%
total
223672 72497 151147 32%
0
How to find out which processes are using more memory:
gz-hp-ux:/# top -f top.out -n 10000 -d 1
gz-hp-ux:/# sort -n -k7,7 top.out
gz-hp-ux:/# sort -n -k7,7 top.out | awk '{if ($7~/M$/) {print $0}}'
Sar command is also very powerful and you can find it in hp-ux. For example, wit
h the options below, you can list a report activity for each lunpath:
04/11/12
%busy
avque
r/s
w/s blks/
%age
num
num
num
nu
disk510_lunpath1034
0.50
0.50
120
disk510_lunpath3277
0.50
0.50
92
disk511_lunpath3278
1.01
0.50
disk516_lunpath3283
1.01
0.50
disk530_lunpath1076
1.01
0.50
Average
disk510_lunpath1034
0.40
0.50
5
0.01
0.73
Average
disk510_lunpath3277
0.40
0.50
5
0.01
0.83
Average
disk511_lunpath3278
0.40
0.50
2
0.01
2.10
Average
disk516_lunpath3283
0.59
0.50
1
0.01
3.32
Average
disk530_lunpath1076
0.79
0.50
3
0.00
8.33
Report status of text, process, inode and file tables:
gz-hp-ux:/# sar -v
106
95
m
msec
12:01:32
0
0.01
msec
0.01
0.99
0.01
2.10
0.01
3.33
0.00
4.21
lunpath
0.82
05/24/12
To see which tunables have new values being held until next boot:
gz-hp-ux:/# kctune -D
To To see the tunables with only non default value
gz-hp-ux:/# kctune -S
To see verbose information about a tunable:
gz-hp-ux:/# kctune -v tunablename
To set a tunable value on the running system:
gz-hp-ux:/# kctune tunable=69
To set a tunable value to be used when the system reboots:
gz-hp-ux:/# kctune -h tunable=69
To increase a tunable's value by 99:
gz-hp-ux:/# kctune tunable+=99