Check the -c option of ping (man ping).

hth,
Sudarsan

Christo Rademeyer wrote:

> Hi
> if I use the system call like this
> system ("ping localhost > pinginfo");
> But in linux this will keep on going how can I set up a time on that ?
> Thanx
> christo
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to