Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2012 00:58:03 -0600 (CST)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: swap space
Message-ID:  <201202180658.q1I6w3MJ070941@mail.r-bonomi.com>
In-Reply-To: <4F3EE8AA.4070009@paz.bz>

next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org  Fri Feb 17 17:59:50 2012
> Date: Fri, 17 Feb 2012 15:54:18 -0800
> From: Jim Pazarena <fquest@paz.bz>
> To: FreeBSD Mailing List <freebsd-questions@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202180658.q1I6w3MJ070941>