9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] validateaddress
Date: Tue, 11 Aug 2009 00:07:37 -0400	[thread overview]
Message-ID: <db54ced81720f4ae901ffb396e8c9fb3@quanstro.net> (raw)
In-Reply-To: <DE7A03B8-6DF1-4DD9-B9B3-A9A2539081A6@ar.aichi-u.ac.jp>

On Mon Aug 10 23:59:56 EDT 2009, arisawa@ar.aichi-u.ac.jp wrote:
> Thanks Erik.
>
> However I don't know how to truss running process.
>
> Kenji Arisawa
>

for example:

; cat > truss.c
#include <u.h>
#include <libc.h>

void
main(void)
{
	for(;;)
		sleep(10*1000);
}
; 8c -FVTw truss.c && 8l -o truss truss.8
; truss&
; acid -l/sys/lib/acid/truss $apid
/proc/116801/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/truss
acid: truss()
sleep(10000)
	return value: 0

- erik



  reply	other threads:[~2009-08-11  4:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10  6:11 Kenji Arisawa
2009-08-10 17:13 ` erik quanstrom
2009-08-11  3:57   ` Kenji Arisawa
2009-08-11  4:07     ` erik quanstrom [this message]
2009-08-11  5:26       ` Kenji Arisawa
2009-08-11 15:27         ` Russ Cox
2009-08-12  6:48           ` Kenji Arisawa
2009-08-12 14:59             ` Russ Cox
2009-08-13  1:39               ` Kenji Arisawa
2009-08-13  2:15                 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db54ced81720f4ae901ffb396e8c9fb3@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).