ftp.nice.ch/pub/next/tools/performance/NLoad.3.0.NI.bs.tar.gz#/NLoad/Defaults.rtf

This is Defaults.rtf in view mode; [Download] [Up]

Default settings for NLoad variables

The following represent NLoad's initial defaults which will monitor all the load average queues on the local host and not monitor any remote hosts.  The load average display will be updated every ten seconds and shift by 1/3 when it reaches the edge of the view.  

    dwrite NLoad QueueLength "All"
    dwrite NLoad ShiftDisplay 0.333
    dwrite NLoad LocalUpdateSeconds 10
    dwrite NLoad Hosts ""

The QueueLength default defines which load averages to plot.  The value All plots all load averages; other acceptable values are 1, 5, and 15 or any sum of those.

The ShiftDisplay default is the amount to shift the NLoad display when it reaches the right edge of the view.

The LocalUpdateSeconds default is the number of seconds between calls to get the local host load statistics.

The Hosts default is a semi-colon separated list of host names (e.g. "hosta;hostb;hostc")  Hosts can be specified as full domain names (e.g., host.dept.site.edu).  These remote hosts are monitored using remote procedure calls (Sun RPC) to rstatd.  NLoad windows for these hosts will automatically be added on startup.  Hosts can also be opened using NLoad's Hosts menu item.

    dwrite NLoad RemoteUpdateSeconds 60

The RemoteUpdateSeconds default is the number of seconds between calls to remote hosts to get load statistics.  To reduce network overhead, the remote statistics should be gathered less often than they are for the local host.

Less Common setting for NLoad variables

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.

    dwrite NLoad Hosts "hosta;hostb:udp;hostc"
    dwrite NLoad HostsWaitSeconds 4
    dwrite NLoad udpServerPort 5500

The HostsWaitSeconds default specifies the number of seconds to wait for a remote (UDP only) server to respond.

The udpServerPort default sets which port to connect to on remote UDP-based hosts to get load average information.

If you don't like where NLoad places the remote host windows, you can modify the algorithm slightly by manipulating the defaults:

    dwrite NLoad Origin "x:0.0 y:0.0"
    dwrite NLoad Increment "x:1.0 y:1.0"

The Origin default sets where the rows of windows start from, initially the lower left. 

The Increment default sets which direction new ones are added and how far apart they are.  (In window widths.)

To add windows starting from the lower right (just to the left of the dock) you can set:

    dwrite NLoad Origin "x:955.0 y:0.0"
    dwrite NLoad Increment "x:-1.0 y:1.0"

You can also set NLoad's default colors via dwrite but this is easier done through the Info>Preferences panel.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.