Operating System - HP-UX
1753548 Members
5460 Online
108795 Solutions
New Discussion юеВ

difference in swapinfo and glance output

 
SOLVED
Go to solution
gkkiran77
Occasional Contributor

difference in swapinfo and glance output

the glance output is

Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 163 163 116.4 116.4 116.4
Page In 0 0 0.0 0.0 2.1
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 0 0 0.0 0.0 0.0
Total VM : 22.5gb Sys Mem : 3.3gb User Mem: 11.6gb Phys Mem : 16.0gb
Active VM: 16.5gb Buf Cache: 819mb Free Mem: 337mb FileCache: na
MemFS Blk Cnt: 0 MemFS Swp Cnt: 0

and swapinfo -tam is
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 2415 13969 15% 0 - 1 /dev/vg00/lvol2
reserve - 13969 -13969
memory 16379 8680 7699 53%
total 32763 25064 7699 77% - 0 -

The memory both the command are showing is different
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: difference in swapinfo and glance output

The memory line in swapinfo is pseudo-swap, not total physical memory.
But both appear to be 16 Gb.

What HP-UX version are you using?
gkkiran77
Occasional Contributor

Re: difference in swapinfo and glance output

HP-UX 11.23
Vijaykumar_1
Valued Contributor
Solution

Re: difference in swapinfo and glance output

Its 77% utilized.

total 32763 25064 7699 77% - 0 -

Get us the o/p from the glance,similar to the one (ex.)


CPU Util SSU U | 23% 18% 23%
Disk Util F F | 8% 6% 8%
Mem Util S SU UB B | 84% 84% 84%
Swap Util U UR R | 28% 28% 28%
gkkiran77
Occasional Contributor

Re: difference in swapinfo and glance output

Glance C.05.00.000 03:34:16 rchunx15 ia64 Current Avg High
------------------------------------------------------------------------------------------------------------------------------------------------------
CPU Util S | 1% 5% 17%
Disk Util | 0% 1% 1%
Mem Util S SU UB B | 98% 98% 98%
Swap Util U UR R | 77% 77% 77%
Vijaykumar_1
Valued Contributor

Re: difference in swapinfo and glance output

Then here its correct.

Both swapinfo and glance provide the similar info..both are 77%. :)