当前位置:网站首页>查看多台机器所有进程
查看多台机器所有进程
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
边栏推荐
- go语言学习笔记-初识Go语言
- 力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
- 解决访问国外公共静态资源速度慢的问题
- FreeRTOS 中 RISC-V-Qemu-virt_GCC 的调度时机
- 基于Lucene3.5.0怎样从TokenStream获得Token
- Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
- In the last process before the use of the risk control model, 80% of children's shoes are trampled here
- Huawei equipment configures channel switching services without interruption
- Solve the problem of slow access to foreign public static resources
- 如何通俗理解超级浏览器?可以用于哪些场景?有哪些品牌?
猜你喜欢

Three suggestions for purchasing small spacing LED display

R3live series learning (IV) r2live source code reading (2)

如何将 DevSecOps 引入企业?

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 geometric model -- establishment of two-dimensional graphics

Ddrx addressing principle

Idea set the number of open file windows

Intelligent metal detector based on openharmony
随机推荐
How to understand super browser? What scenarios can it be used in? What brands are there?
[advertising system] parameter server distributed training
AUTOCAD——遮罩命令、如何使用CAD对图纸进行局部放大
C operation XML file
Manage multiple instagram accounts and share anti Association tips
Wechat nucleic acid detection appointment applet system graduation design completion (7) Interim inspection report
Golang application topic - channel
POJ 3176-Cow Bowling(DP||记忆化搜索)
我用开天平台做了一个城市防疫政策查询系统【开天aPaaS大作战】
Codeforces Round #804 (Div. 2)
What does cross-border e-commerce mean? What do you mainly do? What are the business models?
基于Lucene3.5.0怎样从TokenStream获得Token
阻止浏览器后退操作
Unity Xlua MonoProxy Mono代理类
Idea set the number of open file windows
【爬虫】charles unknown错误
How to make full-color LED display more energy-saving and environmental protection
SLAM 01. Modeling of human recognition Environment & path
DDRx寻址原理
汉诺塔问题思路的证明