1752815 Members
6040 Online
108789 Solutions
New Discussion юеВ

Swap Problem?

 
SOLVED
Go to solution
gigiz
Valued Contributor

Swap Problem?

Hi guy,
i need to analize the output of this command on my system.
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 2748 5444 34% 0 - 1 /dev/vg00/lvol2
reserve - 5375 -5375
memory 12078 6464 5614 54%
total 20270 14587 5683 72% - 0 -


vmstat -S 3 3
procs memory page faults cpu
r b w avm free si so pi po fr de sr in sy cs us sy id
5 0 0 4821570 686283 309740 309740 1 1 0 0 7 1823 100889 6878 38 22 40
5 0 0 4821570 686518 0 0 0 0 0 0 0 2950 50966 7840 57 9 34
5 0 0 4821570 686210 0 0 0 0 0 0 0 2698 36462 7881 58 9 33

In thys system there is:
15,4 Gb di ram total Sys Mem : 2.5gb User Mem: 8.8gb Buf Cache: 1.5gb Free Mem: 2.6gb

In the vmstat -s output how i analize the column free si so pi po ?

Why with 2,6 Gb free i had swap activity?
This Swap activity is more Hard ?

Swapinfo give me info about swap device but not in real time! how can see the Swapping in real time?
6 REPLIES 6
gigiz
Valued Contributor

Re: Swap Problem?

Many point at all
Avinash20
Honored Contributor

Re: Swap Problem?

I could see that page-outs taking place

po = 1

At the same time did you check the top output

Check top output

Memory: 305144K (196052K) real, 581204K (392064K) virtual, 426960K free

Here we are having 426960K free.
What does it show on your server ??

What is your OS version ??
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
gigiz
Valued Contributor

Re: Swap Problem?

This is my top:

Memory: 9220804K (9158480K) real, 19461232K (19322660K) virtual, 2573272K free Page# 1/7

I have Hpux 11.11
Fabio Ettore
Honored Contributor
Solution

Re: Swap Problem?

Hi gigiz,

I don't think it exists something on HP-UX to monitor swap in real time.
To understand better how to read vmstat it's the best thing to see the man page of vmstat which is pretty detailed, I see also an example on using vmstat -S in the EXAMPLES section.

Anyway could you clear why you need to monitor swap in real time? From the output of swapinfo -tam I cannot see any problem with swap, of course we see that a swapping phase was there from last boot probably because the system was highly loaded for awhile and physical memory was not enough but if the systems has currently 2,6 Gb Free Mem I wouldn't be worried.

Best regards,
Fabio
WISH? IMPROVEMENT!
Dennis Handly
Acclaimed Contributor

Re: Swap Problem?

>i need to analyze the output of this command on my system.

I see no problems right now. vmstat shows very few pages outs. But there is 2 Gb actually used.

>Fabio: I don't think it exists something on HP-UX to monitor swap in real time.

glance should help.
gigiz
Valued Contributor

Re: Swap Problem?

Ok