java - linux不同用户使用jps命令查看进程结果不一样
巴扎黑
巴扎黑 2017-04-18 10:44:08
0
2
1063
巴扎黑
巴扎黑

reply all(2)
刘奇

Generally, you need to use the account that starts the application to execute the jps command, and use jps in the same version of jdk.

Ty80

Addition to the one above:

If the environment variables of the two users are different, then the jps command you execute is not the same command. Maybe there are two versions of jdk, which are like two containers that are unrelated to each other.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template