HP XC System Software Administration Guide Version 3.1

# service --status-all
4.2.2 Displaying the Nodes That Provide a Specified Service
You can use the shownode servers command to display the node or nodes that provide a specific
service to a given node. You do not need to be superuser to use this command.
This example shows how to determine which nodes provide the supermon service:
# shownode servers supermon
n3
The command output indicates that only the node n3 supplies the supermon service.
You can also use the shownode servers command to display the node name of the node that provides
a specific service to a given node:
# shownode servers ntp n3
n3
This command output indicates that only the node n3 supplies the ntp service for itself.
For more information, see shownode(8).
4.2.3 Displaying the Services Provided by a Specified Node
The shownode services command displays the services that a given node provides. You do not need
to be superuser to use this command.
The following example shows the services provided by node n3:
# shownode services n3
network lkcd nagios_monitor nfs_server hptc-lm nagios nsca
ntp dbserver compute_engine hptc_cluster_fs httpd pwrmgmtserver
iptables mpiic hptc_cluster_fs_client gather_data pdsh nrpe
gmmon imageserver hpasm swmlogger dhcp syslogng_forward cmf
nat supermond munge slurm lsf
In a variation of this command that uses the clients keyword, you can display the services the specified
node provides and to which nodes it provides them. In the following example, node n3 supplies the
nagios service, among others, to nodes n1 and n2:
# shownode services n3 clients
cmf: n[1-3]
dhcp: n3
hptc_cluster_fs: n[1-2]
lsf: n[1-3]
munge: n3
nagios: n3
nagios_monitor: n[1-3]
nat: n[1-2]
nsca: n3
ntp: n[1-3]
slurm: n[1-3]
supermond: n[1-3]
syslogng_forward: n[1-3]
The shownode services node client command does not display any output if no client exists.
Another keyword, servers, allows you to determine the node that provides a specified node its services.
In this example, the node n3 is found to supply itself with several services:
# shownode services n3 servers
cmf: n3
58 Managing and Customizing System Services