[alt.sources] New release of SPS

robert@olsen.UUCP (Robert Ward) (11/19/90)

I'm sending out a new release of SPS in three separate share files.
This release is much the same as before except that support for SunOS
4.1 and DEC 3100's is now included.  To quote from the README file :

    SPS is a intended to be used as a replacement for the standard
    ps(1) program. Its advantages over ps(1) are that it shows more
    useful information, that the displayed information is more
    comprehensible and that it is faster.

    SPS is currently implemented for the following operating systems and
    architectures.  The corresponding Makefiles are also shown here:

    Makefile.4.1            Standard 4.1bsd for Vax
    Makefile.4.2            Standard 4.2bsd, Ultrix 1.x for Vax
    Makefile.4.3            Standard 4.3bsd (or 4.3-tahoe) for Vax
    Makefile.4.3+NFS        4.3bsd+NFS from Wisconsin (Mt. Xinu?, others?)
    Makefile.dec3100        DECStation 3100 + Ultrix 3.0 (see below)
    Makefile.sun.2.0        Sun 4.2 UNIX Release 2.0 - 2.2 for Sun-2
    Makefile.sun.3.0        Sun 4.2 UNIX Release 3.0 for Sun-2, Sun-3
    Makefile.sun.3.2        Sun 4.2 UNIX Release 3.2 for Sun-2, Sun-3
    Makefile.sun.4.0        SunOS 4.0 for Sun-2, Sun-3, Sun-4
    Makefile.sun.4.0+386i   SunOS 4.0 for Sun 386i
    Makefile.sun.4.1        SunOS 4.1 for Sun-2, Sun-3, Sun-4
    Makefile.sun4.3.2       SunOS Sys 4-3.2 for Sun-4
    Makefile.ultrix.2.0     DEC Ultrix 2.0 - 2.2
    Makefile.ultrix.3.0     DEC Ultrix 3.0


I had hoped to be able to send this code out in comp.sources.unix.
One day it may happen.  However after more than two months of waiting
with people persistently asking me if I have a version for SunOS 4.1,
I think there has been enough waiting.


Sakari Jalovaara <sja@sirius.hut.fi> at the Helsinki University of
Technology Computing Centre added the support for SunOS4.1.  Many
grateful thanks go to him.

I did the DEC 3100 port but it is incomplete.  In particular, the code
that mimics the virtual to physical address translation is incomplete.
Upage information is accessed correctly but not the command line
arguments.  If anyone knows how to make this code work, please contact
me.  I have no idea if this works on 2100's or 5100's.


Full details may be found in the README and RELEASENOTES files.  For
those of you who have read this far but don't know what SPS is, here
goes :

What SPS does:
    SPS displays wait channels symbolically, rather than as hexadecimal
    addresses.  (If you wish to teach SPS about a new sort of device,
    you must add an entry in the symbol table (globals2.c) as well as
    increasing the size of that table (NWAITSTATE in sps.h)).

    SPS sorts processes before listing them, the order reflecting the
    relationship of the processes.  A child process is listed
    underneath its corresponding parent and is indented to depict the
    exact relationship.  SPS also indicates setuid processes.

    SPS displays such values as the resident and virtual sizes of
    system processes.  It accepts a whole range of options to control
    the output.  By default, SPS lists information about one's own
    processes.  Other options instruct it to be verbose (the "v"
    option), to list all the command arguments of a process (the "w"
    option) or to list the environment strings of that process (the "e"
    option).  Similarly, there are options to control which processes
    are to be displayed.  The "a" option tells it to describe all
    processes and the "b" option tells it to describe "busy" processes;
    the latter is useful if you wish to find out what is loading your
    system.  There are also options to select the output according to
    user, controlling tty or process number.

    SPS keeps its information in an information file; by default, this
    is /tmp/.spsinfo. This means that it can avoid having to do an
    expensive nlist() operation each time it is run.  It must be
    reinitialised (with the "i" option) if new users are added to
    /etc/passwd or if a new version of /vmunix is installed.


Please send comments, suggestions, bug reports and fixes and so on to me.

	- R.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    J. Robert Ward,
    Olsen & Associates, Seefeldstrasse 233, CH-8008 Zuerich, Switzerland

Tel.:   +41 1 552224     Fax: +41 1 552282    Telex: 816656
Email:  robert@olsen.uu.ch              Uucp:  uunet!chx400!olsen!robert
X.400:  s=robert/ou=olsen/o=uucp/p=switch/a=arcom/c=ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

robert@olsen.UUCP (Robert Ward) (11/22/90)

These are offical bug fixes.  Please apply them.



*** README	Wed Nov 21 17:32:28 1990
--- README.1.5	Wed Nov 21 18:18:55 1990
***************
*** 63,69 ****
  
  
  How to build SPS:
!     1. In order to compile and install SPS, first unbundle the three shell
         archive files.
      2. Check that the define statements in sps.h are large enough for
         your system.  In particular, you may need to increase MAXTTYS
--- 63,69 ----
  
  
  How to build SPS:
!     1. In order to compile and install SPS, first unbundle the four shell
         archive files.
      2. Check that the define statements in sps.h are large enough for
         your system.  In particular, you may need to increase MAXTTYS


*** Makefile.sun.4.1	Wed Nov 21 17:33:05 1990
--- Makefile.sun.4.1.1.1	Wed Nov 21 18:22:47 1990
***************
*** 7,13 ****
  		needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  		prheader.o printall.o printproc.o prsummary.o readstatus.o \
  		selectproc.o selecttty.o stream.o termwidth.o ttystatus.o \
! 		vmstat.o waitingfor.o
  INCS    =       sps.h
  CC      =       cc
  # You'll need both "-DSUNOS40" and "-DSUNOS41" for SunOS 4.1
--- 7,13 ----
  		needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  		prheader.o printall.o printproc.o prsummary.o readstatus.o \
  		selectproc.o selecttty.o stream.o termwidth.o ttystatus.o \
! 		waitingfor.o
  INCS    =       sps.h
  CC      =       cc
  # You'll need both "-DSUNOS40" and "-DSUNOS41" for SunOS 4.1



That's all the problems that have been reported so far :-) .
My apologies for any inconvenience caused.

	- R.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    J. Robert Ward,
    Olsen & Associates, Seefeldstrasse 233, CH-8008 Zuerich, Switzerland

Tel.:   +41 1 552224     Fax: +41 1 552282    Telex: 816656
Email:  robert@olsen.uu.ch              Uucp:  uunet!chx400!olsen!robert
X.400:  s=robert/ou=olsen/o=uucp/p=switch/a=arcom/c=ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~