主机角色表
Node1:
[root@node1 ~]# jps -l6401 org.apache.hadoop.yarn.server.resourcemanager.ResourceManager4871 com.cloudera.server.cmf.Main12458 org.apache.flume.node.Application29515 org.apache.catalina.startup.Bootstrap18412 configservice-0.0.1-SNAPSHOT.jar21526 org.apache.spark.deploy.history.HistoryServer23224 sun.tools.jps.Jps24440 org.apache.hadoop.hdfs.server.namenode.NameNode28890 org.apache.hadoop.util.RunJar11451 org.apache.hadoop.hbase.master.HMaster6332 org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer11453 org.apache.hadoop.hbase.rest.RESTServer27231 eurekaservice-0.0.1-SNAPSHOT.jar
Node2:
[root@node2 ~]# jps -l8116 com.cloudera.cmon.firehose.Main3925 sun.tools.jps.Jps8101 com.cloudera.cmon.firehose.Main8103 com.cloudera.cmf.eventcatcher.server.EventCatcherService30600 org.apache.hadoop.util.RunJar8170 com.cloudera.enterprise.alertpublisher.AlertPublisher30602 org.apache.hadoop.util.RunJar13659 org.apache.hadoop.hbase.master.HMaster10267 org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Node3:
[root@node3 ~]# jps -l25440 systemservice-0.0.1-SNAPSHOT.jar28785 statisticanalysis-0.0.1-SNAPSHOT.jar19681 sun.tools.jps.Jps29058 org.apache.zookeeper.server.quorum.QuorumPeerMain29381 org.apache.hadoop.hdfs.server.datanode.DataNode9989 fdfsservice-0.0.1-SNAPSHOT.jar12070 org.apache.hadoop.hbase.thrift.ThriftServer12072 org.apache.hadoop.hbase.regionserver.HRegionServer14554 org.elasticsearch.bootstrap.Elasticsearch30523 com.cloudera.kafka.wrap.Kafka25068 org.apache.hadoop.yarn.server.nodemanager.NodeManager11486 assetoperate-0.0.1-SNAPSHOT.jar
Node4:
[root@node4 ~]# jps -l21280 com.cloudera.kafka.wrap.Kafka8306 hbaseservice.jar12728 org.apache.hadoop.hbase.regionserver.HRegionServer24234 org.apache.zookeeper.server.quorum.QuorumPeerMain24426 org.apache.hadoop.hdfs.server.datanode.DataNode19740 org.apache.hadoop.yarn.server.nodemanager.NodeManager8526 routeservice-0.0.1-SNAPSHOT.jar15374 sun.tools.jps.Jps23294 org.elasticsearch.bootstrap.Elasticsearch
Node5:
查看JVM中的进程:
[root@node5 ~]# jps -l26209 com.cloudera.kafka.wrap.Kafka4609 configservice-0.0.1-SNAPSHOT.jar27745 sun.tools.jps.Jps29107 org.apache.zookeeper.server.quorum.QuorumPeerMain21524 org.apache.hadoop.yarn.server.nodemanager.NodeManager29301 org.apache.hadoop.hdfs.server.datanode.DataNode22119 eurekaservice-0.0.1-SNAPSHOT.jar20793 org.elasticsearch.bootstrap.Elasticsearch19899 org.apache.hadoop.hbase.regionserver.HRegionServer
查看Linux服务器中的进程:
[root@node5 ~]# ps -A PID TTY TIME CMD4609 ? 00:06:16 java19899 ? 01:18:27 java20793 ? 02:08:32 java22119 ? 04:50:04 java26209 ? 01:15:30 java……32391 ? 00:44:42 python2.732648 ? 00:38:25 python32649 ? 00:00:00 python2.7
对比发现JVM中的进程在Linux服务器进程列表中。
参考: