LCNODE(8) Domain/OS BSD LCNODE(8)
NAME
lcnode - list nodes connected to the network
SYNOPSIS
/etc/lcnode [options]
DESCRIPTION
lcnode lists the nodes currently connected to the network. The list
contains the ID of every node connected, the time at which the node was
started, the current time, and the name of each node's entry directory.
This command reports only the nodes that respond within a preset time
limit. If a node is connected, but temporarily unable to respond within
the specified time, it does not appear in the produced list.
OPTIONS
-m[e] Request information about your node only. This option
displays the node ID.
-b[rief] Request brief output. lcnode lists only the entry
directory name for each connected node. Note that the
entry directory of a diskless node is the entry directory
of its paging partner.
-id When used with -brief, display the node ID in addition to
the entry directory.
-c[ount] Request node count only. lcnode lists only the number of
nodes responding to its query.
-max[nodes] n Set a limit on the number of nodes you want to see, even
if more could respond.
-from node_spec
Starts the node list at some node other than your own.
This is especially useful in an internet environment, for
looking at networks other than your own. See help
node_spec for details about node specification syntax.
-name When you specify the -brief option, lcnode normally prints
the entry directory for each node. If you specify -name
with -brief, lcnode prints the node name cataloged with
the naming server. Only diskless nodes are printed
differently. A diskless node's entry directory is its
partner's node name; a diskless node's node name is
uniquely its own.
Unless the -from option specifies your own node, the list
includes only an unbroken sequence of nodes running Aegis
SR9.0 or later. The rest of the node list is lost,
starting with the first node running a pre-SR9.0 Aegis.
EXAMPLES
1. $ /etc/lcnode
The node ID of this node is 21. 3 other nodes responded.
id Boot time Current time Entry Directory
21 1987/06/09 9:21:44 1987/06/09 16:06:22 //dollar
17 1987/06/09 13:52:02 1987/06/09 16:06:13 //quarter
27 1987/06/09 12:53:28 1987/06/09 16:06:07 //nickel
11 1987/06/09 12:03:39 1987/06/09 16:06:15 ** DISKLESS **
//diskless_$11 partner node: 17
2. $ /etc/lcnode -me
The node id of this node is 21.
3. $ /etc/lcnode -b
//dollar
//quarter
//nickel
//quarter
(//quarter appears once as the host for a diskless node and
once for the node with the disk.)
4. $ /etc/lcnode -b -name
//dollar
//quarter
//nickel
//diskless_$000011
(-name shows you the name under which diskless node 11
is cataloged)
5. $ /etc/lcnode -c
466 other nodes responded.
6. $ /etc/lcnode -c -b
466
7. $ /etc/lcnode -c -m
The node id of this node is 116A.
466 other nodes responded.
8. $ /etc/lcnode -b -id
21 //dollar
17 //quarter
27 //nickel
11 //quarter
9. $ /etc/lcnode -from 0FAD.3924 -max 2
Starting from node 3924.
1 other node responded,
but more might have responded with a high -max value.
Node id Boot time Current time Entry Directory
3924 1985/02/14 17:20:45 1985/02/14 19:07:04 //laurel
34Bf 1985/02/14 18:46:52 1985/02/14 19:08:09 //hardy