当前位置:网站首页>Simple use of JVM's JPS
Simple use of JVM's JPS
2022-07-22 19:57:00 【Carefree hero】
jps What is it? , What's the use ?
jps(JVM Process Status Tool), You can list the virtual machine processes that are running , And show the main class of virtual machine execution (Main Class,main() The class of the function ) The name and the local virtual machine of these processes are unique ID(LVMID,Local Virtual Machine Identifier).
notes : be based on windows
-q: Output only VM identifier , barring classname,jar name,arguments in main method
-m: Output main method Parameters of
-l: Output the full package name , Apply the main class name ,jar The full pathname of
-v: Output jvm Parameters
-V: Output via flag The document is delivered to JVM Parameters in (.hotspotrc File or -XX:Flags= Specified file
-Joption: Pass parameters to vm, for example :-J-Xms512m
Get into java bin And then run cmd
Query the full name of the main class
jps -l
Query start main Time parameters
jps -m
Query all processes id
jps -q
Query all processes JVM Parameters
jps -v
Last
jps Extremely simple , Often used to check java The process of id, Then use other commands to troubleshoot some common problems of the virtual machine , Very practical .
Previous recommendation
jvm What happened to the space allocation guarantee ?
jvm Dynamic object age determination
Print virtual machine gc Recycling records
jvm Parameters PretenureSizeThreshold Let the object directly into the old generation !
边栏推荐
猜你喜欢
How Oracle escapes single quotation marks
HTB- Armageddon
Jiayuan "great earthquake" of the century
ansible简单使用示例
Datablau5.0 data asset management product series heavy release
AForge "failed to load the file or assembly" aforge.video.ffmpeg.dll "or one of its dependencies. The specified module cannot be found "
Typora下载和简单使用教程
Vs Code common shortcut keys
warning: [mariadbmon] The current master server ‘srv-cls01-02‘ is no longer valid because it is in r
Spark RDD的依赖于DAG的工作原理
随机推荐
低代码和无代码有什么区别?
JVM-VisualVM:多合-故障处理工具
Pyinstaller packaging scene
纯函数与高阶函数
从数据标准到数据库设计:解决基础数据标准落地的最后一公里难题(上)
【总结思考】高可用架构设计的7大核心原则
Spark SQL: MySQL classic 50 questions (SQL version and spark version)
Win10图标变白纸了,恢复方法
ES6用法
Reliability and repeatability of messages
Vs2017 project changed to VS2010
leetcode 21. 合并两个有序链表
SparkSQL Dataset的创建
Persistence of spark RDD (cache, checkpoints, broadcast variables, and accumulators)
基础类型
How Oracle converts strings into multiple lines
Implementation of bytecode technology in dynamic proxy
From data standards to database design: solve the last mile problem of basic data standards (Part 1)
Insert, modify and delete table data of MySQL
数据仓库模型设计与工具