home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12698 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.6 KB  |  40 lines

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