home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!usc!news.service.uci.edu!draco.acs.uci.edu!iglesias
- From: iglesias@draco.acs.uci.edu (Mike Iglesias)
- Newsgroups: comp.unix.ultrix
- Subject: Re: Problems with top from gatekeeper
- Message-ID: <2B642987.24312@news.service.uci.edu>
- Date: 25 Jan 93 17:55:19 GMT
- References: <1993Jan25.143012.15057@cognos.com>
- Organization: University of California, Irvine
- Lines: 33
- Nntp-Posting-Host: draco.acs.uci.edu
-
- In article <1993Jan25.143012.15057@cognos.com> maklinm@cognos.com (Max Maklin) writes:
- >I picked up the top program from gatekeeper last week and I am getting some
- >interesting results on a DEC System 5500. The problem lies in a large
- >number of processes starting that I do not see in the usual ps command.
- >
- >For example, I see this:
- >
- >...
- >1053 processes:90 sleeping, 3 running, 943 starting, 5 zombie, 12 stopped
- >...
- >
- >Where is all these starting processes coming from. Is there some other
- >command I can use to verify this?
-
- It's a bug in top. Find the line that looks like this in m_ultrix4.c (line
- 427 in my copy):
-
- * status field. Processes with SSYS set are system
- * processes---these get ignored unless show_sysprocs is set.
- */
- if (pp->p_stat != 0 &&
-
-
- Change it to:
-
- * status field. Processes with SSYS set are system
- * processes---these get ignored unless show_sysprocs is set.
- */
- if (pp->p_stat != 0 && pp->p_stat != SIDL &&
-
-
-
- Mike
-