home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15171 < prev    next >
Encoding:
Text File  |  1993-01-21  |  774 b   |  24 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!actrix!jshaw
  3. From: jshaw@actrix.gen.nz (Jim Shaw)
  4. Subject: How do I get stuff from kernel...
  5. Organization: Actrix Information Exchange
  6. Date: Thu, 21 Jan 1993 23:10:22 GMT
  7. Message-ID: <1993Jan21.231022.22487@actrix.gen.nz>
  8. Lines: 14
  9.  
  10.  
  11. I am writing some scripts and programs to accumulate various statistics
  12. on HP-UX 8.07. The w command does some of what I need but has alot of
  13. un-necessary stuff, and it frequently core dumps with > 60 users
  14. logged in. 
  15.  
  16. Does anyone have the sources of w, or similar code that dives into the proc
  17. and users structures that I can hack on to get the details I needf+h. 
  18.  
  19. Or alternatively suggest another way to get the process command lines of
  20. active users.
  21.  
  22. Thanx, Jim
  23.  
  24.