[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wmmemload and kfreebsd



> I'm also wondering if a better route might be to use sysctl.  This is
> how wmmemload monitors the memory usage, but I wasn't able to figure out
> how to also use it for swap usage.  I did notice that pstat (which
> doesn't appear to be included in Debian) does it this way, getting
> vm.swap_info from sysctl [4].  However, "sysctl vm.swap_info" on the
> command line doesn't return anything on Debian, so I don't know if it's
> available.

I read through a bunch of source and was able to figure out how to patch wmmemload to use sysctl to get "vm.swap_info", so everything works now.

Doug

Reply to: