From 0a026db5e74a8682fabdb6daf067fcde085dfce8 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Wed, 1 Aug 2012 23:06:26 +0200 Subject: [PATCH] Fixed: bug #37004: niceload example does not work --- src/niceload.pod | 2 +- src/niceload.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/niceload.pod b/src/niceload.pod index 95cc370e..502e5b8f 100644 --- a/src/niceload.pod +++ b/src/niceload.pod @@ -187,7 +187,7 @@ In terminal 1 run: top In terminal 2 run: -B>B<50)'> +B>B<50)'> 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. diff --git a/src/niceload.texi b/src/niceload.texi index 89324f45..931c0009 100644 --- a/src/niceload.texi +++ b/src/niceload.texi @@ -223,7 +223,7 @@ In terminal 1 run: top In terminal 2 run: -@strong{niceload perl -e '$|=1;do@{$l==$r or print "."; $l=$r@}until(($r=time-$^T)}>@strong{50)'} +@strong{niceload -q perl -e '$|=1;do@{$l==$r or print "."; $l=$r@}until(($r=time-$^T)}>@strong{50)'} 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.