home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!odin!sgihub!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Subject: Re: WCHAN numbers in ps - what do they mean?
- Message-ID: <or2ss2s@zuni.esd.sgi.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Aug20.131815.6424@ohm.york.ac.uk>
- Date: Fri, 21 Aug 92 02:11:04 GMT
- Lines: 28
-
- In <1992Aug20.131815.6424@ohm.york.ac.uk> lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ)) writes:
-
- | Can someone explain how to get more information on WCHAN addresses
- | as displayed by the 'ps -l' command? I gather they represent system
- | events that can be waited for, but there is no indication in human
- | terms of what these events might be.
- |
- | Some versions of 'ps' on other systems (eg SunOS) put a mnemonic
- | in this field which is far more useful most of the time. Can this be
- | done under Irix?
-
- It is theoretically possible, but not very likely, since many (most?)
- of the wait chans are on dynamically allocated semaphore structures.
-
- As far as I know, nobody at SGI has places to allow symbolic names
- to be printed for wchan. It is a nice feature at times, but a royal
- pain to maintain.
-
- A sometimes useful trick, for processes sleeping for any length of
- time, is to do this:
- dbx -k /unix /dev/kmem
- set $pid = PID_you_want_to_check_on
- t
- quit
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-