Fixes: bug #37004: niceload example does not work

This commit is contained in:
Ole Tange 2012-08-01 18:29:37 +02:00
parent 9625fe4453
commit b1300c8ea8

View file

@ -187,7 +187,7 @@ In terminal 1 run: top
In terminal 2 run: In terminal 2 run:
B<niceload perl -e '$|=1;do{$l==$r or print "."; $l=$r}until(($r=time-$^T)>>B<50)'> B<niceload -q perl -e '$|=1;do{$l==$r or print "."; $l=$r}until(($r=time-$^T)>>B<50)'>
This will print a '.' every second for 50 seconds and eat a lot of This will print a '.' every second for 50 seconds and eat a lot of
CPU. When the load rises to 1.0 the process is suspended. CPU. When the load rises to 1.0 the process is suspended.