当前位置:网站首页>JVM debugging tool -jps
JVM debugging tool -jps
2022-06-24 07:05:00 【Angryshark_ one hundred and twenty-eight】
jps
Java Virtual Machine Process Status Tool
Command usage : jps [options] [hostid]
options: Command options , Used to control the output format
hostid: Specify a specific host , It can be ip Address and domain name , Specific agreements can also be specified , port .
[protocol:][[//]hostname][:port][/servername]
Function description : jps Is used to view the hotspot Process of virtual machine .
When... Is not specified hostid when , The default view is native jvm process , If not, view the specified hostid On the machine jvm process , here hostid The machine in question must be switched on jstatd service . jps Can be listed jvm process lvmid, Main class name ,main Function parameter , jvm Parameters ,jar Name and other information .
Common commands
View process number , Do not output the class name or method
> jps -q
2966
23766
3306
7531
21499
22508
3567
Output incoming main Method
> jps -m
23766 jar
4697 Jps -m
7531 Bootstrap
21499 jar
22508 jar
Output main Method or jar full name
> jps -l
23766 dataqualityassessment-0.0.1-SNAPSHOT.jar
5000 sun.tools.jps.Jps
21499 file_monitor-1.0.8-SNAPSHOT.jar
22508 dataqualityassessment-0.0.1-SNAPSHOT.jar
Output incoming JVM Parameters
> jps -v
2966 QuorumPeerMain -Dzookeeper.log.dir=. -Dzookeeper.root.logger=INFO,CONSOLE -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false
23766 jar -Xdebug -Xrunjdwp:transport=dt_socket,address=5006,server=y,suspend=n -Dspring.config.location=./application-test-77.properties
7531 Bootstrap
21499 jar
边栏推荐
- typescript vscode /bin/sh: ts-node: command not found
- Go operation SQLite code error
- .NET7之MiniAPI(特别篇) :Preview5优化了JWT验证(上)
- 【问题解决】The connection to the server localhost:8080 was refused
- You have a chance, here is a stage
- CloudCompare&PCL 点云裁剪(基于裁剪盒)
- The cloud monitoring system hertzbeat V1.1.0 is released, and a command starts the monitoring journey!
- If you want to learn programming well, don't recite the code!
- Database stored procedure begin end
- Project demo
猜你喜欢

leetcode:85. 最大矩形

RealNetworks vs. Microsoft: the battle in the early streaming media industry

Spark项目打包优化实践

数据库 存储过程 begin end

应用配置管理,基础原理分析
![[binary tree] - middle order traversal of binary tree](/img/93/442bdbecb123991dbfbd1e5ecc9d64.png)
[binary tree] - middle order traversal of binary tree

原神方石机关解密

成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函

Programmers use personalized Wallpapers

. Net7 miniapi (special part):preview5 optimizes JWT verification (Part 1)
随机推荐
[problem solving] the connection to the server localhost:8080 was referred
Record -- about the problem of garbled code when JSP foreground passes parameters to the background
Leetcode: Sword finger offer 26: judge whether T1 contains all topologies of T2
Do you want to research programming? I got six!
Application configuration management, basic principle analysis
JVM调试工具-Arthas
[binary number learning] - Introduction to trees
How to make a website? What should I pay attention to when making a website?
成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函
Code scanning | a sharp tool for controlling code quality
云监控系统 HertzBeat v1.1.0 发布,一条命令开启监控之旅!
Use of SQL join
【问题解决】虚拟机配置静态ip
Arduino raised $32million to enter the enterprise market
[binary tree] - middle order traversal of binary tree
c#:互斥锁的使用
You have a chance, here is a stage
Internet cafe management system and database
File system notes
puzzle(019.1)Hook、Gear