[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] Stress-tester un systeme
Tu possedes un compilo C ? Alors, allons-y ....
#include <process.h>
#include <stdio.h>
#include <math.h>
int main()
{
int d;
double f;
while(1)
{
switch(fork())
{
case 0: /*On est dans le fils*/
for(d=0;d<10000;d++)
f=sin(cos(sin(cos(sin(cos(1.0*d*3.14159269/2.782818))))));
break;
}
}
return 0;
}
> -----Message d'origine-----
> De: Verloove, Olivier [mailto:olivier_verloove@merck.com]
> Date: vendredi 24 septembre 1999 09:03
> À: 'Linux Team'
> Objet: [linux-team] Stress-tester un systeme
>
>
> Bonjour,
>
> Est-ce que vous connaissez l'un ou l'autre programme qui
> peut-etre utilise
> pour "stress-tester" une machine UNIX (faire grimper le
> nombre de process,
> faire tourner le CPU, ...)
>
> Merci d'avance.
> Olivier
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
>
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.