<snip>
>> Is this really required? a sleep() in the code. Why do we do multiple
>> send_cmd()'s in the do loop? I'll test and get back.
>
> I needed to send another command to receive more data. Without the per
> loop send_cmd, I never got any more stats.
>
> Should we receive more data without the additional send_cmd? I've been
> running with:
> ./getdelays -d -p 1 -l
>
Interesting, we never used -l that way. We used -l to get data for all
exiting tasks
./getdelays -d -l
For the usage you've mentioned, I'd use
while :
do
sleep 2
./getdelays -p 1 -d
done
I guess your changes change getdelays and since there are other ways
to obtaining the same data, I'd remove the last bit of changes made
to send the TGID often to get data.
> Mikey
>
>
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]