How can I check for swap space? (4.8-Release)

Kevin Stevens Kevin_Stevens at pursued-with.net
Thu Aug 7 20:14:38 PDT 2003


>> At 07:16 PM 8/7/2003 -0400, John Mills wrote:
>>> Freebies -
>>>
>>> I just installed 4.8-Release from CDs and let the installer divide 
>>> my disk
>>> automatically. Things are acting as though I have little or no 
>>> active swap
>>> space.
>>>
>>> 2. How can I check what I got? (No joy yet from 'fdisk' on that.)
>>>
>> cat /etc/fstab
>> will show you what gets mounted at boot time.
>> mount
>> pstat -T
>> and disklabel

There's also "swapinfo":

KeS at babelfish:/home/KeS> swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/rad2s1b       524160      124   524036     0%    Interleaved
/dev/ad0s1b       1048448      128  1048320     0%    Interleaved
Total             1572608      252  1572356     0%



More information about the freebsd-questions mailing list