home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / ultrix / 9471 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.4 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!news.service.uci.edu!draco.acs.uci.edu!iglesias
  2. From: iglesias@draco.acs.uci.edu (Mike Iglesias)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: Problems with top from gatekeeper
  5. Message-ID: <2B642987.24312@news.service.uci.edu>
  6. Date: 25 Jan 93 17:55:19 GMT
  7. References: <1993Jan25.143012.15057@cognos.com>
  8. Organization: University of California, Irvine
  9. Lines: 33
  10. Nntp-Posting-Host: draco.acs.uci.edu
  11.  
  12. In article <1993Jan25.143012.15057@cognos.com> maklinm@cognos.com (Max Maklin) writes:
  13. >I picked up the top program from gatekeeper last week and I am getting some
  14. >interesting results on a DEC System 5500.  The problem lies in a large
  15. >number of processes starting that I do not see in the usual ps command.
  16. >
  17. >For example, I see this:
  18. >
  19. >...
  20. >1053 processes:90 sleeping, 3 running, 943 starting, 5 zombie, 12 stopped
  21. >...
  22. >
  23. >Where is all these starting processes coming from.  Is there some other
  24. >command I can use to verify this?
  25.  
  26. It's a bug in top.  Find the line that looks like this in m_ultrix4.c (line
  27. 427 in my copy):
  28.  
  29.     *  status field.  Processes with SSYS set are system
  30.     *  processes---these get ignored unless show_sysprocs is set.
  31.     */
  32.     if (pp->p_stat != 0 &&
  33.  
  34.  
  35. Change it to:
  36.  
  37.     *  status field.  Processes with SSYS set are system
  38.     *  processes---these get ignored unless show_sysprocs is set.
  39.     */
  40.     if (pp->p_stat != 0 && pp->p_stat != SIDL &&
  41.  
  42.  
  43.  
  44. Mike
  45.