Home > Web Front-end > HTML Tutorial > jps出现– process information unavailable解决方法_html/css_WEB-ITnose

jps出现– process information unavailable解决方法_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:01:17
Original
1846 people have browsed it

使用jps命令查看java进程,经常出现类似"3135 -- process information unavailable",有两种情况,第一种:3135这个PID存在,原因为当前ID为其他用户启动,该用户没有查看权限。第二种:3135这个PID不存在。

jps命令process information unavailable

# jps631 Jps3135 -- process information unavailable24351 Bootstrap323 Bootstrap2978 -- process information unavailable
Copy after login
# jps631 Jps3135 -- processinformationunavailable24351 Bootstrap323 Bootstrap2978 -- processinformationunavailable
Copy after login

解决process information unavailable

/tmp中找到hsperfdata_前缀的目录,并找出PID对应的文件并且删除即可。

# rm /tmp/hsperfdata_ttlsa/3135# jps744 Jps24351 Bootstrap323 Bootstrap2978 -- process information unavailable
Copy after login
# rm /tmp/hsperfdata_ttlsa/3135# jps744 Jps24351 Bootstrap323 Bootstrap2978 -- processinformationunavailable
Copy after login

可以发现3135不存在了,接下来在删除2978

# rm /tmp/hsperfdata_ttlsa/2978# jps759 Jps24351 Bootstrap323 Bootstrap
Copy after login
Copy after login
# rm /tmp/hsperfdata_ttlsa/2978# jps759 Jps24351 Bootstrap323 Bootstrap
Copy after login
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template