swapon -i needed (inquire size of swap space)

Howard Chu hyc at hanauma.jpl.nasa.gov
Fri Jun 21 11:13:15 AEST 1991


In article <GPLAN.91Jun19210331 at sol.aer.com> gplan at 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!



More information about the Comp.unix.admin mailing list