Reserved swap space

From: Dave Simmonds <dSimmonds_at_datametrics.co.uk>
Date: Wed, 29 Mar 2000 17:28:53 +0100

Does anyone know how to find out the reserved swap space via a system call.
I know I can get it from swapon -s, but I need to write something that
constantly monitors it and a system call would be more efficient.
Alternatively I could read something from /dev/kmem.

Dave Simmonds
dsimmonds_at_datametrics.co.uk <mailto:dsimmonds_at_datametrics.co.uk>
Received on Wed Mar 29 2000 - 16:27:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT