swapon -i needed (inquire size of swap space)

George A. Planansky gplan at sol.aer.com
Thu Jun 20 11:03:31 AEST 1991


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?

I'd like such a thing to help me see how things stand with some machine
I am setting up, but it would also be useful to users wondering if 
their packages will fly on any given machine, say for selecting which
of a bunch to run a job on.
--
George Planansky                       
Atmospheric & Environmental Research        
Cambridge, MA 02139
gplanansky at aer.com   (617) 547-6207



More information about the Comp.unix.admin mailing list