Output list of nodes (QNX)
alive [-aehv] [-c columns] alive -u
The alive utility outputs a list of nodes, and the status for each, to standard output. By default, the list is in table form (nodes are listed in columns). A node can be in one of the following states:
If a node is: | It means that the node: |
---|---|
Up | is up and that alive was able to create a virtual circuit (VC) to its Proc manager. |
Down | isn't up, isn't running QNX 4, or is marked as "down" in the qnx_net_alive() list. See Caveat. |
Mask | has been masked using the netmap utility. Normally, this is an Arcnet node that runs DOS or QNX, for which an attempt to create a virtual circuit would result in a timeout. |
Show the status of all nodes, up to the last non-masked node:
alive
For every node alive on the network, put a list of its serial ports into the file allser:
alive -u | xargs -in1 ls -l //{}/dev/ser\* >allser
The alive utility writes the alive list to standard output. Any errors that occur will result in diagnostic messages to standard error. Standard input is not used.
The alive utility will communicate only with the nodes present in the Network manager's node-mapping table, and which are listed in the qnx_net_alive() list which is maintained by the name locators. The name locator can be fooled if the name locators have not been correctly distributed on the network (see nameloc). In this case, the -f option can be specified to force alive to make an attempt to talk to every node.
nameloc, Net, netinfo, netpoll, Proc