home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Utilities / top-0.5-MI / machine / m_next40.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-22  |  1.1 KB  |  35 lines

  1. /*
  2.  * top - a top users display for Unix
  3.  * NEXTSTEP v.0.5  11/26/1996 tpugh
  4.  *
  5.  * SYNOPSIS:  any motorola NEXTSTEP v4.x system
  6.  *
  7.  * DESCRIPTION:
  8.  *    This is the machine-dependent module for OPENSTEP v4.x
  9.  *    Reported to work for:
  10.   *        NEXTSTEP v4.0 on NeXTstation machines.
  11.  *        NEXTSTEP v4.1 on NeXTstation machines.
  12.  *     Install "top" with the permissions 4755.
  13.  *        tsunami# chmod 4755 top
  14.  *        tsunami# ls -lg top
  15.  *        -rwsr-xr-x  1 root     kmem      121408 Sep  1 10:14 top*
  16.  *    With the kmem group sticky bit set, we can read kernal memory without problems,
  17.  *    but to communicate with the Mach kernal for task and thread info, it requires
  18.  *    root privileges.
  19.  *
  20.  * LIBS: 
  21.  *
  22.  * Need the compiler flag, "-DSHOW_UTT", to see the user task and thread task
  23.  * data structures to report process info.
  24.  * Need the compiler flag, "-DNEXTSTEP40", to use the proper task structure.
  25.  * Need -I. for all the top include files which are searched for in machine/,
  26.  * because of the way include "file" finds files.
  27.  *
  28.  * CFLAGS: -I. -DSHOW_UTT -DNEXTSTEP40
  29.  *
  30.  *
  31.  * AUTHORS:        Tim Pugh <tpugh@oce.orst.edu>
  32.  */
  33.  
  34. #include "machine/m_next32.c"
  35.