Hi,

I was looking for a way to purge the cache and have come up with this to trigger
the reclamation code:

#!/bin/bash
ndd -set /dev/ip ip_dce_reclaim_fraction 1
{
echo '%/l/lotsfree >oldlotsfree'
echo 'lotsfree/Z ((%/l/freemem)*4)'
sleep 2
echo 'lotsfree/Z <oldlotsfree'
} | exec mdb -kw

any better ideas?

Thanks, Nils
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to