9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] quick question on threads on p9p
Date: Tue, 18 Oct 2005 16:34:11 -0600	[thread overview]
Message-ID: <43557863.6040604@lanl.gov> (raw)

  I see this:

  8894 pts/3    S      0:00 ./o.xcpusrv -9 -s tcp!*!20001 -D 0
  8898 pts/3    S      0:00 ./o.xcpusrv -9 -s tcp!*!20001 -D 0
  8900 pts/3    S      0:00 9pserve -u tcp!*!20001
  8902 pts/3    S      0:00 9pserve -u tcp!*!20001
  8904 pts/3    S      0:00 ./o.xcpusrv -9 -s tcp!*!20001 -D 0
  8906 pts/3    S      0:00 9pserve -u tcp!*!20001
  8908 pts/3    S      0:00 9pserve -u tcp!*!20001
  8910 pts/3    S      0:00 9pserve -u tcp!*!20001
  8919 pts/3    R      0:00 ps ax

rminnich@q:~/src/xcpu/xcpu> acid -l thread 8894
corpid 8894: text /home/rminnich/src/xcpu/xcpu/o.xcpusrv
/lib/i686/libm.so.6: linux 386 shared object
/lib/libutil.so.1: linux 386 shared object
/lib/i686/libc.so.6: linux 386 shared object
/lib/ld-linux.so.2: linux 386 shared object
/usr/local/plan9/acid/port
/usr/local/plan9/acid/thread
/usr/local/plan9/acid/386
acid; threads()
p=(Proc)0x8066050   // pthread 0x000022be pid 8894  Sched

p=(Proc)0x8066468   // pthread 0x000022c2 pid 8898  Sched
         t=(_Thread)0x8066728  // Sleeping 
/home/rminnich/src/xcpu/xcpu/xcpusrv.c:1177 chanalt [fsthread]

p=(Proc)0x8078bc0   // pthread 0x000022c8 pid 8904  Running
         t=(_Thread)0x8078e80  // Running 
/usr/local/plan9/src/lib9p/srv.c:62 read9pmsg
acid;

I'm seeing a bit more entries in /proc than I see in the threads() 
display in acid. What am I missing here?

thanks

ron


             reply	other threads:[~2005-10-18 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 22:34 Ronald G Minnich [this message]
2005-10-18 22:45 ` Russ Cox
2005-10-18 22:59   ` Ronald G Minnich

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=43557863.6040604@lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /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).