Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jato!hanauma.jpl.nasa.gov!hyc From: hyc@hanauma.jpl.nasa.gov (Howard Chu) Newsgroups: comp.unix.admin Subject: Re: swapon -i needed (inquire size of swap space) Message-ID: <1991Jun21.011315.21342@jato.jpl.nasa.gov> Date: 21 Jun 91 01:13:15 GMT References: Sender: nobody@jato.jpl.nasa.gov Organization: SAR Systems Development and Processing, JPL Lines: 13 Nntp-Posting-Host: hanauma.jpl.nasa.gov In article gplan@sol.aer.com (George A. Planansky) writes: >Sun 3/60, 3/280, 4/65, 4/75 running SunOS 4.03, 4.1, 4.1.1 ...; >Alliant fx/40 Concentrix 5.6, 5.7; other Un*x boxes? > >How can a user find out how much swap space is available on any >given machine? Is there something like a "swapon -inquiry" >command? Or has someone written a shell script (perl "phrase" :-) ), >that rounds up all the usual messages, and says what it's found? Try "pstat -s," pstat is standard in BSD Unix. -- -- Howard Chu @ Jet Propulsion Laboratory, Pasadena, CA Disclaimer: How would I know, I just got here!