当前位置:网站首页>查看多台机器所有进程
查看多台机器所有进程
2022-07-05 11:30:00 【QYHuiiQ】
以查看hadoop集群中的三台节点上的进程为例:
[[email protected] bin]# pwd
/usr/local/wyh/software/hadoop-3.1.3/bin
[[email protected] bin]# cat jps_cluster.sh
#!/bin/bash
for host in hadoop301 hadoop302 hadoop303
do
echo ---------- $host ------------
ssh $host jps
done
[[email protected] bin]# chmod 777 jps_cluster.sh
[[email protected] bin]# jps_cluster.sh
---------- hadoop301 ------------
2817 JobHistoryServer
1685 NameNode
2940 NodeManager
1821 DataNode
3599 Jps
---------- hadoop302 ------------
3668 ResourceManager
4662 Jps
1543 DataNode
3816 NodeManager
---------- hadoop303 ------------
1619 SecondaryNameNode
1543 DataNode
2302 NodeManager
2654 Jps
边栏推荐
- NFT 交易市场主要使用 ETH 本位进行交易的局面是如何形成的?
- MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!
- Leetcode 185 All employees with the top three highest wages in the Department (July 4, 2022)
- 分类TAB商品流多目标排序模型的演进
- [first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
- Cron expression (seven subexpressions)
- SET XACT_ABORT ON
- How does redis implement multiple zones?
- 项目总结笔记系列 wsTax KT Session2 代码分析
- Go language learning notes - analyze the first program
猜你喜欢
Advanced technology management - what is the physical, mental and mental strength of managers
In the last process before the use of the risk control model, 80% of children's shoes are trampled here
Oneforall installation and use
如何将 DevSecOps 引入企业?
COMSOL -- 3D casual painting -- sweeping
COMSOL -- establishment of geometric model -- establishment of two-dimensional graphics
DDRx寻址原理
数据库三大范式
[crawler] Charles unknown error
7 themes and 9 technology masters! Dragon Dragon lecture hall hard core live broadcast preview in July, see you tomorrow
随机推荐
分类TAB商品流多目标排序模型的演进
【DNS】“Can‘t resolve host“ as non-root user, but works fine as root
DDoS attack principle, the phenomenon of being attacked by DDoS
871. Minimum Number of Refueling Stops
2048游戏逻辑
COMSOL--三维图形的建立
数据库三大范式
Harbor镜像仓库搭建
NFT 交易市场主要使用 ETH 本位进行交易的局面是如何形成的?
[advertising system] incremental training & feature access / feature elimination
FFmpeg调用avformat_open_input时返回错误 -22(Invalid argument)
How to make full-color LED display more energy-saving and environmental protection
go语言学习笔记-分析第一个程序
Startup process of uboot:
CDGA|数据治理不得不坚持的六个原则
Dspic33ep clock initialization program
Harbor image warehouse construction
[JS learning notes 54] BFC mode
Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
comsol--三维图形随便画----回转