当前位置:网站首页>Detailed explanation of JPS
Detailed explanation of JPS
2022-07-23 17:55:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
First jps Directory in java in , As shown in the figure below .jps It is mainly used to view java process , In the view hdfs Can replace ps -ef | grep hdfs command .
In the discussion jps when , We can switch users to root Under the user , then jps Check the process , There will be the following problems , As shown in the figure below , Display process information is not available (process information unavailale)
In the enterprise , If the process is not available , First use ps -ef | grep pid Check to see if the process exists .
- If the process exists , As shown in the figure below , It shows yes hadoop This user's process , So we can try to switch users to view ( Do not kill 了 , Otherwise, colleagues will rebel o(╥﹏╥)o).
- If the process does not exist , And there is residual information , We can switch to /tmp Folder to view .
cd /tmpPS: Our main concern is hsperfdata Prefixed folder , Get into hsperfdata_hadoop The folder can be seen in the following figure .
so , Want to completely delete the residual process , Just delete the process file .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/126657.html Link to the original text :https://javaforall.cn
边栏推荐
- An online frequent fullgc troubleshooting
- At least half of the people can't answer the difference between isempty and isblank
- Time series data in industrial Internet of things
- 基于C语言开发的控制台计算器
- Trust counts the number of occurrences of words in the file
- LeetCode_ 455_ Distribute cookies
- 开源需要专业化
- 机器学习(9)——特征工程(3)(补充)
- 工业物联网中的时序数据
- Record the range of data that MySQL update will lock
猜你喜欢

Transfer business append log (transaction propagation behavior)

ContextLoaderListener vs DispatcherServlet

SAP HANA数据库备份失败解决办法

Leetcode skimming: dynamic planning 04 (different paths)

封玩家IP和机器码以及解开被封的教程

MySQL7种JOIN(图)

一次线上频繁FullGC的排查

(十一)STM32——IO引脚复用与映射

As a background developer, you must know two kinds of filters

阿里 P7 到底是怎样的水平?
随机推荐
能与PowerDesigner媲美的数据库建模工具PDMan[通俗易懂]
LeetCode_动态规划_中等_120.三角形最小路径和
Interviewer: how to use redis to realize distributed locks?
MYSQL基础及性能优化
Qt多线程实例与connect第五个参数[通俗易懂]
LeetCode_724_寻找数组的中心下标
The larger the convolution kernel, the stronger the performance? An interpretation of replknet model
leetcode刷题:动态规划05(不同路径 II)
几种运维工具的对比
Rust中的dyn关键字
基于OpenPGP的文件管理系统
Redis数据丢失问题
Why do you get confused when you ask JVM???
PDO operation
工业物联网中的时序数据
TwinCAT 3 首次运行报错4115
MySQL7种JOIN(图)
传奇架设 GEE引擎教程 配置微端
At least half of the people can't answer the difference between isempty and isblank
Rust中的函数function与方法method的区别