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

David Kelly dkelly at HiWAAY.net
Thu Aug 7 17:25:47 PDT 2003


On Thursday 07 August 2003 06:16 pm, John Mills wrote:
> 2. How can I check what I got? (No joy yet from 'fdisk' on that.)
>
> 3. How do I check current memory usage (sim. 'free' in Linux)?

"swapinfo" will list your swap partition(s) and how much of each is 
used.

% swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad4s3b        266240       76   266164     0%    Interleaved
/dev/ad4s3f        262144       72   262072     0%    Interleaved
Total              528384      148   528236     0%
% 

I have 148 kBytes swapped out to roughly 512 MB of swap space.

- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



More information about the freebsd-questions mailing list