当前位置:网站首页>查看多台机器所有进程
查看多台机器所有进程
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
边栏推荐
- [Oracle] use DataGrid to connect to Oracle Database
- Web API配置自定义路由
- 7.2每日学习4
- Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
- 以交互方式安装ESXi 6.0
- 如何让全彩LED显示屏更加节能环保
- C#实现WinForm DataGridView控件支持叠加数据绑定
- An error is reported in the process of using gbase 8C database: 80000305, host IPS long to different cluster. How to solve it?
- MFC pet store information management system
- 爬虫(9) - Scrapy框架(1) | Scrapy 异步网络爬虫框架
猜你喜欢
![[crawler] Charles unknown error](/img/82/c36b225d0502f67cd04225f39de145.png)
[crawler] Charles unknown error

Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
![[Oracle] use DataGrid to connect to Oracle Database](/img/4f/886378667889f730eaed39b97f0a39.png)
[Oracle] use DataGrid to connect to Oracle Database

COMSOL--建立几何模型---二维图形的建立

Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment

Oneforall installation and use

Is it difficult to apply for a job after graduation? "Hundreds of days and tens of millions" online recruitment activities to solve your problems

COMSOL -- establishment of 3D graphics

【DNS】“Can‘t resolve host“ as non-root user, but works fine as root

Modulenotfounderror: no module named 'scratch' ultimate solution
随机推荐
[Oracle] use DataGrid to connect to Oracle Database
[JS learning notes 54] BFC mode
How to make full-color LED display more energy-saving and environmental protection
[crawler] Charles unknown error
C#实现WinForm DataGridView控件支持叠加数据绑定
[first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
-26374 and -26377 errors during coneroller execution
871. Minimum Number of Refueling Stops
Zcmu--1390: queue problem (1)
[there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
如何让全彩LED显示屏更加节能环保
2048游戏逻辑
7.2 daily study 4
Guys, I tested three threads to write to three MySQL tables at the same time. Each thread writes 100000 pieces of data respectively, using F
What does cross-border e-commerce mean? What do you mainly do? What are the business models?
MFC pet store information management system
阻止瀏覽器後退操作
Detailed explanation of MATLAB cov function
项目总结笔记系列 wsTax KT Session2 代码分析
Lombok 同时使⽤@Data和@Builder 的坑,你中招没?