home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / NLoad / README.Defaults < prev    next >
Encoding:
Text File  |  1991-04-12  |  2.0 KB  |  35 lines

  1. README.Defaults                                                April, 1991
  2.  
  3. Typical settings for NLoad variables
  4. ------------------------------------
  5.  
  6. The following example will monitor the local host and three remote hosts.  The remote hosts are monitored using remote procedure calls (RPC) to "rstatd".  (This example does not require a specially tailored remote server.)
  7.  
  8.         dwrite NLoad QueueLength -1
  9.         dwrite NLoad Hosts "hosta;hostb;hostc"
  10.         dwrite NLoad RemoteUpdateSeconds 60
  11.         dwrite NLoad LocalUpdateSeconds 10
  12.  
  13. The "QueueLength" parameter defines which load averages to plot.  The value "-1" plots all 3 load averages; other acceptable values are "1", "5", and "15".
  14.  
  15. The "Hosts" parameter is a semi-colon separated list of host names.  Hosts can be specified as full domain names (e.g., host.dept.site.edu).  NLoad windows for these hosts will automatically be added on startup.  Hosts can also be opened using NLoad's 'Hosts' menu item.
  16.  
  17. The "RemoteUpdateSeconds" parameter is the number of seconds between calls to the remote host to get its load statistics.  To reduce network overhead, the remote statistics should be gathered less often than they are for the local host.
  18.  
  19. Likewise, the "LocalUpdateSeconds" parameter is the number of seconds between calls to get the local host load statistics.
  20.  
  21. Less Common setting for NLoad variables
  22. ---------------------------------------
  23. If necessary, you can run a dedicated load server on a remote host.  This is necessary if the remote host does not support the Sun RPC protocol.  To signify such a situation, suffix the host name with ":udp".  In the following example, "hostb" must run a dedicated load server.
  24.  
  25.         dwrite NLoad Hosts "hosta;hostb:udp;hostc"
  26.         dwrite NLoad HostsWaitSeconds 4
  27.  
  28. The "HostsWaitSeconds" parameter specifies the number of seconds to wait for a remote (UDP only) server to respond.
  29.  
  30. --
  31. Rex Pruess, Weeg Computing Center, University of Iowa, Iowa City, Iowa 52242
  32. rpruess@umaxc.weeg.uiowa.edu (NeXTmail)                       (319) 335-5452
  33.  
  34. Updated 4/10/91 - cdl
  35.