How to show swap size without using swap -l ?

  • Follow


Hi All

How to show swap size without using swap -l ? Can able using java
program to display swap size.

due to , Execute permission denied. Admin will not chmod to 755.
swap -l
ksh: swap: 0403-006 Execute permission denied.

OS: AIX 5.2

Moonhk

0
Reply moon_ils-se (53) 8/13/2007 7:55:24 AM

In news:1186991724.845946.286410@x40g2000prg.googlegroups.com,
moonhk <moon_ils-se@yahoo.com.hk> typed:

> Hi All
> 
> How to show swap size without using swap -l ? Can able using java
> program to display swap size.
[...]

man lsps  

-- 
Regards
Piotrek Kapczuk

0
Reply pk-usenet9240 (18) 8/13/2007 9:15:23 AM


On 8 13 ,   5 15 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
wrote:
> Innews:1186991724.845946.286410@x40g2000prg.googlegroups.com,
> moonhk <moon_ils...@yahoo.com.hk> typed:
>
> > Hi All
>
> > How to show swap size without using swap -l ? Can able using java
> > program to display swap size.
>
> [...]
>
> man lsps  
>
> --
> Regards
> Piotrek Kapczuk

Is  paging space same as swap in AIX ?

But  vmstat -I, show a small value of pi and pi.
System Configuration: lcpu=3 mem=6689MB
  kthr      memory             page              faults        cpu
-------- ----------- ------------------------ ------------ -----------
 r  b  p   avm   fre  fi  fo  pi  po  fr  sr   in   sy  cs us sy id
wa
 3  3  0 967310   366 562 203   0   0 632 3808 1195 14011 1410 44  7
39 11

But vmstat -s shown some page ins and page outs

vmstat -s
           3439681950 total address trans. faults
            414425797 page ins
            150621553 page outs
               380126 paging space page ins
               700589 paging space page outs

0
Reply moon_ils-se (53) 8/14/2007 12:55:49 AM

In news:1187052949.523146.45770@l22g2000prc.googlegroups.com,
moonhk <moon_ils-se@yahoo.com.hk> typed:

> On 8 13 ,   5 15 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
> wrote:
>> Innews:1186991724.845946.286410@x40g2000prg.googlegroups.com,
>> moonhk <moon_ils...@yahoo.com.hk> typed:
>>
>>> Hi All
>>
>>> How to show swap size without using swap -l ? Can able using java
>>> program to display swap size.
>>
>> [...]
>>
>> man lsps
>>
>
> Is  paging space same as swap in AIX ?

In general, yes.

> But  vmstat -I, show a small value of pi and pi.

This shows current value.

> System Configuration: lcpu=3 mem=6689MB
>   kthr      memory             page              faults        cpu
> -------- ----------- ------------------------ ------------ -----------
>  r  b  p   avm   fre  fi  fo  pi  po  fr  sr   in   sy  cs us sy id wa
>  3  3  0 967310   366 562 203   0   0 632 3808 1195 14011 1410 44  7
39 11
>
> But vmstat -s shown some page ins and page outs

This is since system initialization.

> vmstat -s
>            3439681950 total address trans. faults
>             414425797 page ins
>             150621553 page outs
>                380126 paging space page ins
>                700589 paging space page outs


'page outs' and 'paging space page outs' are two different beasts.
Please read the documentation, redbooks, manuals to understand the
difference.

-- 
Regards
Piotrek Kapczuk

0
Reply pk-usenet9240 (18) 8/14/2007 2:20:20 PM

On 8 14 ,   10 20 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
wrote:
> Innews:1187052949.523146.45770@l22g2000prc.googlegroups.com,
> moonhk <moon_ils...@yahoo.com.hk> typed:
>
>
>
>
>
> > On 8 13 ,   5 15 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
> > wrote:
> >> Innews:1186991724.845946.286410@x40g2000prg.googlegroups.com,
> >> moonhk <moon_ils...@yahoo.com.hk> typed:
>
> >>> Hi All
>
> >>> How to show swap size without using swap -l ? Can able using java
> >>> program to display swap size.
>
> >> [...]
>
> >> man lsps
>
> > Is  paging space same as swap in AIX ?
>
> In general, yes.
>
> > But  vmstat -I, show a small value of pi and pi.
>
> This shows current value.
>
>
>
> > System Configuration: lcpu=3 mem=6689MB
> >   kthr      memory             page              faults        cpu
> > -------- ----------- ------------------------ ------------ -----------
> >  r  b  p   avm   fre  fi  fo  pi  po  fr  sr   in   sy  cs us sy id wa
> >  3  3  0 967310   366 562 203   0   0 632 3808 1195 14011 1410 44  7
> 39 11
>
> > But vmstat -s shown some page ins and page outs
>
> This is since system initialization.
>
> > vmstat -s
> >            3439681950 total address trans. faults
> >             414425797 page ins
> >             150621553 page outs
> >                380126 paging space page ins
> >                700589 paging space page outs
>
> 'page outs' and 'paging space page outs' are two different beasts.
> Please read the documentation, redbooks, manuals to understand the
> difference.
>
> --
> Regards
> Piotrek Kapczuk-         -
>
> -         -

Thank

0
Reply moon_ils-se (53) 8/15/2007 1:09:14 AM

4 Replies
56 Views

(page loaded in 0.109 seconds)

Similiar Articles:













7/11/2012 6:55:41 AM


Reply: