Hi!
I am trying to test for signal handling race conditions (specifically, I
suspect the kernel side of connect() does interesting things if the server
response arrives while the program executes a signal handler) and want to
flood a program with lots of signals. So I have run this:
---
#!/bin/ba
Hi!
On 06:52 Fri 08 Mar , mic...@michaelblizek.twilightparadox.com wrote:
>./a.out `ps a|grep wget|grep -v grep|sed "s/^[^0-9]*\([0-9]*\).*$/\1/"`
The command above returned the strace pid. Fixed version:
./a.out `ps a|grep wget|grep -v grep|grep -v strace|sed
"s/^[^0-9]*\([0-9]*\).*
On Mon, 18 Mar 2013 06:50:25 +0100, mic...@michaelblizek.twilightparadox.com
said:
> Hi!
>
> On 06:52 Fri 08 Mar , mic...@michaelblizek.twilightparadox.com wrote:
> >./a.out `ps a|grep wget|grep -v grep
To save the double grep, you can do something like this:
ps a | grep '[w]get' | .