Article View: comp.sys.sequent
Article #853Re: slow ps
From: Hans Trompert
Date: Mon, 22 May 1989 08:28
Date: Mon, 22 May 1989 08:28
34 lines
2087 bytes
2087 bytes
In article <11749@well.UUCP> Jef Poskanzer <jef@helios.ee.lbl.gov> writes:
>Since we switched from a Vax to a Balance 8, the ps command has been
>unacceptably slow. As in many minutes for a simple ps -x. Everything
>else runs nice and fast, so what's the deal? Has anyone else come
>across this problem?
We have a Balance 8 with 16mB RAM and 8 CPU's, our load average is
normally around 0.5. A ps doesn't take more than 1 sec.
Here's the ouput of a 'time ps -x':
PID TT STAT TIME COMMAND
5500 ic Z 0:00 <defunct>
220 ic I 0:09 -msh (msh)
838 ic I 0:25 sysline -pjbDhim
839 ic S 0:14 -msh (msh)
4516 ic I 0:02 rn
4536 ic I 0:00 /bin/sh -c Pnews -h /user/staff/hanst/.rnhead
4537 ic I 0:02 Pnews /usr/local/bin/Pnews -h /user/staff/hanst/.rnhead
4570 ic S 0:04 /usr/ucb/vi /user/staff/hanst/.article
5501 ic S 0:00 sh -c time ps -x
5502 ic S 0:00 awk {
5503 ic R 0:00 pstat -T
5504 ic S 0:00 time ps -x
5505 ic R 0:00 ps -x
0.8 real 0.1 user 0.5 sys
I don't know what is wrong with your ps, but it isn't normal.
--
)!&@%^$!@&(^*$*!&@^%$()!@&#$*)&(^A%()*&()*^%*()&!@$(*&@(!%*)&(*&@%*(&%(*&!%&*(*
& Hans Trompert # Disclaimer: %
| Algemene Hogeschool Amsterdam ~ I don't know, you can shoot ^
\ Technische en Maritieme Faculteit ) me in the partylights ! #
% E-mail: hanst@maestro.htsa.aha.nl ! (partylights not included) )
!@&*&^%_)@!%*@!&)^*&@$&^%!_(@$+~_@$+_)@!($+)_@!%$&@$(~)!@&+@%+)@!&+%)$(@+*&()$+
Technical Details
Message-ID:
<921@maestro.htsa.aha.nl>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!maestro!hanstReferences:
<11749@well.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!maestro!hanst From: hanst@maestro.htsa.aha.nl (Hans Trompert) Newsgroups: comp.sys.sequent Subject: Re: slow ps Message-ID: <921@maestro.htsa.aha.nl> Date: 22 May 89 08:28:04 GMT References: <11749@well.UUCP> Reply-To: hanst@htsa.UUCP (Hans Trompert) Organization: AHA-TMF (Technical Institute), Amsterdam The Netherlands Lines: 34