how to measure what is consuming swap space

Doug Hardie bc979 at
Thu Aug 10 19:39:13 UTC 2017

On 10 August 2017, at 12:10, fml <tetrosalame at> wrote:
> On Sat, Jul 22, 2017 at 10:43:12AM +0100, tech-lists wrote:
>> Hello list,
>> What's the best command to see what processes are consuming swap space?
> Did you try top -w ?
> It shows per-process swap usage.

The -w only exists in the most current versions.  Even there, on all my 11.0 and 11.1 systems it shows 0K for all processes even though swap is being used.  As the man page states, its only an approximation.

-- Doug

More information about the freebsd-questions mailing list