This also works over 9P:

9pfuse 'tcp!akaros!2223' /n/akaros
cd /n/akaros/proc/$pid
cat strace

On Thu, Jan 28, 2016 at 3:20 PM, ron minnich <[email protected]> wrote:

> I used this to debug a problem between my left and right ears, but it's fun
>
>
> listen1 tcp!*!1522 /bin/strace /bin/ash&
>
> when you telnet in, you get an strace of ash and all the commands it runs
> *in the telnet session*. Crazily useful. But extremely low overhead because
> our strace doesn't have to do lots of ptrace foo to keep the command
> running.
>
> ron
>
> --
> You received this message because you are subscribed to the Google Groups
> "Akaros" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to