Operating System - HP-UX
1752625 Members
4563 Online
108788 Solutions
New Discussion юеВ

Re: swapinfo return strange results

 
SOLVED
Go to solution
TalH
Advisor

swapinfo return strange results

Why swapinfo -M return empty results?

swapinfo -M
Kb Kb Kb PCT
TYPE AVAIL USED FREE USED

running the swapinfo -m show real results.

Thanks,
Tal
6 REPLIES 6
Hakki Aydin Ucar
Honored Contributor
Solution

Re: swapinfo return strange results

-M Print information about memory paging space only.
So probably when you issue the command;

# swapinfo -m
you cannot see the memory line at bottom, can you post the output it here ?
TalH
Advisor

Re: swapinfo return strange results

swapinfo -m
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 175 3921 4% 0 - 1 /dev/vg00/lvol2
dev 12672 175 12497 1% 0 - 1 /dev/vg_swap/lv_swap1
dev 15936 173 15763 1% 0 - 1 /dev/vg_swap/lv_swap2
reserve - 21474 -21474
Hakki Aydin Ucar
Honored Contributor

Re: swapinfo return strange results

Your swap device left disabled, if you issue the command;
# sysdef |grep swapmem_on
OR
# kmtune |grep swapmem_on (for HP-UX 11iv1)
OR
# kctune |grep swapmem_on

you have to see it is probably "0"
can you check this out and post it ?
Hakki Aydin Ucar
Honored Contributor

Re: swapinfo return strange results

Sorry I meant , your pseudo swap is disabled.
Check this out like I recommend you..
Michal Kapalka (mikap)
Honored Contributor

Re: swapinfo return strange results

hi,

the output with switch -M is ok,

check the man page : -M Print information about memory paging space only.

The -d, -f, -n, -r and -M options can be combined. The default is -dfnrM.

i always use swapinfo -tam

mikap
TalH
Advisor

Re: swapinfo return strange results

Thanks Hakki! that was very helpful!