From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b1bd6db36f32e8a3 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-02-19 01:32:49 PST Path: sparky!uunet!olivea!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!news.crl.dec.com!rdg.dec.com!elangco From: elangco@rdg.dec.com (Balendra Elangco) Newsgroups: comp.unix.osf.osf1 Subject: Re: Checking swap space on OSF1 Message-ID: <1993Feb19.093249.22750@rdg.dec.com> Date: 19 Feb 93 09:32:49 GMT References: <1993Feb13.002220.19200@netcom.com> Sender: news@rdg.dec.com (Mr News) Reply-To: elan@bst.dec.com Organization: Digital Equipment Corporation In article , meissner@osf.org (Michael Meissner) writes: |> In article <1993Feb13.002220.19200@netcom.com> buck@netcom.com (Charles |> Foreman) writes: |> |> | I wanted to find out how much of my swap space was being used, |> | and I can't seem to find the command. On Ultrix I used pstat -s. |> | When I looked in my "Migrating from Ultrix to OSF" manual I found |> | a great chart that had the Ultrix command in the left column, and |> | the new equivalent command in OSF. The bad news is that it said there |> | was no equivalent for pstat. |> | |> | Does anyone know how to check your swap space statistics on OSF1. There |> | must be some way, because every once in a while the system sends me |> | a nice little message that says my swap space is below 10 percent free. |> |> Here is what I use (you need to link with -lmach). Note, since I'm on OSF/1 |> 1.2 (as shipped by OSF), and DEC is shipping OSF/1 based on OSF/1 1.0 (I think, |> it could be 1.1), there may be some differences. I know that TBL_PGINFO was |> added in OSF/1 1.1...... I wrote this utility myself, and it does not include |> any source code from OSF. |> If you are using Digital's OSF/1, the command is: swapon -s