SSD(8)

NAME
ssd - network system status demon

SYNOPSIS
ssd [ host ]

DESCRIPTION
ssd is a local network system status demon that generates data for ss(1) and the cs(3) routine There is one ssd demon per host. The status information for each host is maintained in a directory that is accessible by all hosts. Network file system traffic is minimized by placing the information in the atime and mtime stat(2) fields. Demon update frequencies are also randomized to avoid network traffic spikes.

Demons are started by explicit calls to either ss(1) or However, it wouldn't hurt to place
    	ss . >/dev/null 2>&1
in

If the host argument is given then a demon is started on that host.

If the optional command ssd.idle is placed in the same directory as ssd then it is executed, with the current hostname as the first argument, to determine the host idle time. ssd.idle is under complete control of the local installation and is not supplied in the standard distribution. ssd must be restarted in order for it to recognize a newly added ssd.idle. ssd reads the first line of output from ssd.idle to determine the idle time:

    The idle time is set to
        0.

    The idle time is set to a large value.

    The number of seconds since the last idle time check is added to
        the previous idle time value.

    seconds
        The idle time is set to seconds.

For any other value ssd calculates the idle time using the default algorithm.

CAVEATS
It may take a minute for a demon to recognize that another demon is already running. Because the local demon may be initiated by a status request it may also take a minute for the status routine to recognize that the local host is up.

The status information is placed in a directory that must be accessible from all hosts on the local network. The mount permissions on this directory should be tuned to prevent hosts from hanging when the host servicing the directory is down. The status information for host is placed in the file share/lib/ss/host. The demon for host can be killed by simply removing (rm -f) the share/lib/ss/host file.

FILES

share/lib/ss/.log
    demon error log

share/lib/ss/host
    status for host

SEE ALSO
ss(1), cs(3)