I'm developing a loadable module and was wondering if I can use the
output of vmstat to figure out if there is memory leak over the course
of some testing. For example,

#!/bin/sh
vmstat > before
kldload mymodule.ko
./run_tests.sh
kldunload mymodule
vmstat > after
./compare_free.sh before after

Tnx!

-- 
Chuck Tuffli    <chuck_tuffli AT agilent DOT com>
Agilent Technologies, Storage and Networking

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to