swap space

Robert Bonomi bonomi at mail.r-bonomi.com
Sat Feb 18 06:53:11 UTC 2012


> From owner-freebsd-questions at freebsd.org  Fri Feb 17 17:59:50 2012
> Date: Fri, 17 Feb 2012 15:54:18 -0800
> From: Jim Pazarena <fquest at paz.bz>
> To: FreeBSD Mailing List <freebsd-questions at freebsd.org>
> Subject: swap space
>
> is there a command which can show the size of the hard drive swap?
>
> A "df" seems to avoid the swap area.

That *is* "expected" behavior.
  
'df' shows utilization of -filesystems-.  'swap' is not filesystem.

> This would be on a live production server.

The "traditional" means is 'pstat -s'.  On relatively modern systems,
'swapinfo' is an alias.



More information about the freebsd-questions mailing list