Re: CPU load testing
On Sat, May 11, 2002 at 03:19:39PM -0500, dman wrote:
> On Sat, May 11, 2002 at 05:25:27PM +0100, Alex Hunsley wrote:
> | Can anyone recommend a good package or a good way to CPU load test my debian
> | box?
>
> $ python
> >>> while 1 : pass
> ...
>
>
> (type the non-prompts) Basically just make an infinite loop that does
> nothing in any programming language. Run the program. It will spend
> lots of CPU cycles doing nothing :-).
I prefer cat /dev/urandom > /dev/null
IMHO the "faster" way but the result should be the same ...
Sven
--
Lamer! :)\nLokaler Admin mit enormen Rechten[tm]
[Christian Schneider und Jens Himmelrath in alt.hacker.org-gcf]
http://www.linux-secure.de http://www.linuxboard.de
http://www.bluephod.net http://www.disconow.de
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: