Displaying swap space...
Alan's Home for Wayward Notes File.
alan at shodha.enet.dec.com
Sat Mar 23 01:04:44 AEST 1991
In article <SHAHRYAR.91Mar21210951 at sfsuvax1.sfsu.edu>, shahryar at sfsuvax1.SFSU.EDU (Persian Nightmare) writes:
>
> I would like to know how to display the swap space left on Ultrix 4.1??
Depending on what you want to know you can:
1. Use the -s option of pstat(8) to display, how much total
page/swap is available, how much reserved, how much is
actually being used for text, data and shared memory,
and how swapfrag pieces there are. ULTRIX V4 doesn't
allocate page/swap until it's needed, but it does reserve
it whenever virual memory is allocated. This way we
don't have to worry about a deadlock problem.
2. Get Monitor V1.2 (or .3) from gatekeeper.dec.com. It
has an option to watch page/swap space. The next version
will display reserved page/swap space on V4.x systems.
3. Write you own program to examine the swap device table
and/or the swap map.
>
> Thanks,
>
> Shahryar
>
--
Alan Rollow alan at nabeth.cxn.dec.com
More information about the Comp.unix.ultrix
mailing list