home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume5 / xenix.w / README next >
Encoding:
Text File  |  1989-02-03  |  1.9 KB  |  42 lines

  1. [ This is the original README which was included with this package.  Note
  2.   that only "w" works.  "avenrun" depends on system statistics which are
  3.   not present in Xenix, and "csl" depends, in part, on "avenrun". -jfh ]
  4.  
  5. The following are some programs which give you some familiar BSD utilities
  6. in a System V environment.  The programs are:
  7.  
  8.        w       - Yes, "w", as big as life!  Requires...
  9.        avenrun - A program to be invoked in /etc/rc which computes
  10.                  a "load average" from information in the "sysinfo"
  11.                  structure of the kernel.  Based on a program by
  12.                  Phil Budne which forges "rwhod" packets for mixed
  13.                  networks; #define RWHOD for the original program.
  14.        csl     - I have no idea what the BSD "sysline" does, but this
  15.                  is my idea of a status line.  The name stands for
  16.                  "cyclic status line"; it doesn't even attempt to
  17.                  fit everything into one line, instead it cycles
  18.                  through a set of "panels".  See the man page.
  19.                  This also wants "avenrun" to be running.
  20.  
  21. Note that "w" (and ONLY "w") can be compiled for System III or Xenix 3.0;
  22. this is in fact the default, use -DSYS5 to get the full version.
  23.  
  24. No Makefile; the compile commands are trivial:
  25.  
  26.        cc -O -o w w.c -DSYS5           # omit the -DSYS5 for System III
  27.        cc -O -o avenrun avenrun.c      # add -DRWHOD for rwhod forgery
  28.        cc -O -o csl csl.c
  29.  
  30. "w" requires read permission on /dev/kmem, /dev/mem, and /dev/swap.  "avenrun"
  31. requires read permission on /dev/kmem (to read the sysinfo structure).  "csl"
  32. can run as a normal user program.  On tdi2 we keep /dev/*mem and /dev/swap
  33. -r--r----- root/sys and have "avenrun" and "w" setgid sys.
  34.  
  35. If someone wants to tell me what "sysline" under BSD does, I'd be interested
  36. in writing a real one.  But "csl" is everything in one small package, so I
  37. will probably continue to use it.
  38.  
  39. Enjoy!
  40.  
  41. ++Brando
  42.