Unix Technical Forum

How to show swap size without using swap -l ?

This is a discussion on How to show swap size without using swap -l ? within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi All How to show swap size without using swap -l ? Can able using java program to display ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 12:51 PM
moonhk
 
Posts: n/a
Default How to show swap size without using swap -l ?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 12:51 PM
piotr::kapczuk
 
Posts: n/a
Default Re: How to show swap size without using swap -l ?

In news:1186991724.845946.286410@x40g2000prg.googlegr oups.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 12:51 PM
moonhk
 
Posts: n/a
Default Re: How to show swap size without using swap -l ?

On 8 13 , 5 15 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
wrote:
> Innews:1186991724.845946.286410@x40g2000prg.google groups.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 12:51 PM
piotr::kapczuk
 
Posts: n/a
Default Re: How to show swap size without using swap -l ?

In news:1187052949.523146.45770@l22g2000prc.googlegro ups.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.google groups.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 12:51 PM
moonhk
 
Posts: n/a
Default Re: How to show swap size without using swap -l ?

On 8 14 , 10 20 , "piotr::kapczuk" <pk-use...@delme.hoop.pl.invalid>
wrote:
> Innews:1187052949.523146.45770@l22g2000prc.googleg roups.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.google groups.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:16 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com