Apache Hadoop daemons can be monitored using different mechanisms.
The running JVMs related to Hadoop can be displayed using the following command (use the correct Java installation location):
/usr/lib/jvm/java-7-oracle/bin/jps
The outcome of the preceding command is given in the following figure:
Active data nodes in the cluster can be displayed using the following command:
[Hadoop installation directory]/bin/hdfs dfsadmin –report
The outcome of the preceding command for a cluster with two data nodes is shown in the following figure: