home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2117 < prev    next >
Encoding:
Internet Message Format  |  1990-12-28  |  4.6 KB

  1. From: robert@olsen.UUCP (Robert Ward)
  2. Newsgroups: alt.sources
  3. Subject: New release of SPS (support for SunOS 4.0, 4.1 and DEC 3100's)
  4. Message-ID: <198@frey.UUCP>
  5. Date: 19 Nov 90 15:40:02 GMT
  6.  
  7.  
  8. I'm sending out a new release of SPS in three separate share files.
  9. This release is much the same as before except that support for SunOS
  10. 4.1 and DEC 3100's is now included.  To quote from the README file :
  11.  
  12.     SPS is a intended to be used as a replacement for the standard
  13.     ps(1) program. Its advantages over ps(1) are that it shows more
  14.     useful information, that the displayed information is more
  15.     comprehensible and that it is faster.
  16.  
  17.     SPS is currently implemented for the following operating systems and
  18.     architectures.  The corresponding Makefiles are also shown here:
  19.  
  20.     Makefile.4.1            Standard 4.1bsd for Vax
  21.     Makefile.4.2            Standard 4.2bsd, Ultrix 1.x for Vax
  22.     Makefile.4.3            Standard 4.3bsd (or 4.3-tahoe) for Vax
  23.     Makefile.4.3+NFS        4.3bsd+NFS from Wisconsin (Mt. Xinu?, others?)
  24.     Makefile.dec3100        DECStation 3100 + Ultrix 3.0 (see below)
  25.     Makefile.sun.2.0        Sun 4.2 UNIX Release 2.0 - 2.2 for Sun-2
  26.     Makefile.sun.3.0        Sun 4.2 UNIX Release 3.0 for Sun-2, Sun-3
  27.     Makefile.sun.3.2        Sun 4.2 UNIX Release 3.2 for Sun-2, Sun-3
  28.     Makefile.sun.4.0        SunOS 4.0 for Sun-2, Sun-3, Sun-4
  29.     Makefile.sun.4.0+386i   SunOS 4.0 for Sun 386i
  30.     Makefile.sun.4.1        SunOS 4.1 for Sun-2, Sun-3, Sun-4
  31.     Makefile.sun4.3.2       SunOS Sys 4-3.2 for Sun-4
  32.     Makefile.ultrix.2.0     DEC Ultrix 2.0 - 2.2
  33.     Makefile.ultrix.3.0     DEC Ultrix 3.0
  34.  
  35.  
  36. I had hoped to be able to send this code out in comp.sources.unix.
  37. One day it may happen.  However after more than two months of waiting
  38. with people persistently asking me if I have a version for SunOS 4.1,
  39. I think there has been enough waiting.
  40.  
  41.  
  42. Sakari Jalovaara <sja@sirius.hut.fi> at the Helsinki University of
  43. Technology Computing Centre added the support for SunOS4.1.  Many
  44. grateful thanks go to him.
  45.  
  46. I did the DEC 3100 port but it is incomplete.  In particular, the code
  47. that mimics the virtual to physical address translation is incomplete.
  48. Upage information is accessed correctly but not the command line
  49. arguments.  If anyone knows how to make this code work, please contact
  50. me.  I have no idea if this works on 2100's or 5100's.
  51.  
  52.  
  53. Full details may be found in the README and RELEASENOTES files.  For
  54. those of you who have read this far but don't know what SPS is, here
  55. goes :
  56.  
  57. What SPS does:
  58.     SPS displays wait channels symbolically, rather than as hexadecimal
  59.     addresses.  (If you wish to teach SPS about a new sort of device,
  60.     you must add an entry in the symbol table (globals2.c) as well as
  61.     increasing the size of that table (NWAITSTATE in sps.h)).
  62.  
  63.     SPS sorts processes before listing them, the order reflecting the
  64.     relationship of the processes.  A child process is listed
  65.     underneath its corresponding parent and is indented to depict the
  66.     exact relationship.  SPS also indicates setuid processes.
  67.  
  68.     SPS displays such values as the resident and virtual sizes of
  69.     system processes.  It accepts a whole range of options to control
  70.     the output.  By default, SPS lists information about one's own
  71.     processes.  Other options instruct it to be verbose (the "v"
  72.     option), to list all the command arguments of a process (the "w"
  73.     option) or to list the environment strings of that process (the "e"
  74.     option).  Similarly, there are options to control which processes
  75.     are to be displayed.  The "a" option tells it to describe all
  76.     processes and the "b" option tells it to describe "busy" processes;
  77.     the latter is useful if you wish to find out what is loading your
  78.     system.  There are also options to select the output according to
  79.     user, controlling tty or process number.
  80.  
  81.     SPS keeps its information in an information file; by default, this
  82.     is /tmp/.spsinfo. This means that it can avoid having to do an
  83.     expensive nlist() operation each time it is run.  It must be
  84.     reinitialised (with the "i" option) if new users are added to
  85.     /etc/passwd or if a new version of /vmunix is installed.
  86.  
  87.  
  88. Please send comments, suggestions, bug reports and fixes and so on to me.
  89.  
  90.     - R.
  91.  
  92.  
  93. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  94.     J. Robert Ward,
  95.     Olsen & Associates, Seefeldstrasse 233, CH-8008 Zuerich, Switzerland
  96.  
  97. Tel.:   +41 1 552224     Fax: +41 1 552282    Telex: 816656
  98. Email:  robert@olsen.uu.ch              Uucp:  uunet!chx400!olsen!robert
  99. X.400:  s=robert/ou=olsen/o=uucp/p=switch/a=arcom/c=ch
  100. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101.