I've used this before:

perl -e '$a = "A" x 100_000_000; sleep 3600' &

I think each perl onliner will chew up ~200MB memory.  Add or remove a zero for 
more or less consumption.

-Alex

-----Original Message-----
From: zones-discuss-boun...@opensolaris.org 
[mailto:zones-discuss-boun...@opensolaris.org] On Behalf Of Paul Davis
Sent: Wednesday, March 11, 2009 9:44 AM
To: zones-discuss@opensolaris.org
Subject: [zones-discuss] Testing memory and swap caps


Is there a tool available that can incrementally consume memory in a zone?

Thanks,
Paul



_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to