Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"process information unavailable", jps command in linux

Tags:

java

linux

hadoop

we use jps command to see which hadoop process is live, but since few days jps command is showing output like this.

    [root@master ~]# jps
    3814 -- process information unavailable
    2266 -- process information unavailable
    6197 -- process information unavailable
    7092 Jps
    6415 -- process information unavailable
    6027 -- process information unavailable

the actual ouput should be

[root@slave ~]# jps
5039 Jps
2764 Application
2468 DataNode
2349 TaskTracker

is there any way which it will show me process information??

like image 526
Devendra Bhat Avatar asked Feb 14 '16 16:02

Devendra Bhat


1 Answers

Just remove hsperfdata_ folder from your /tmp folder and run jps again.

like image 132
Mobin Ranjbar Avatar answered Oct 18 '22 13:10

Mobin Ranjbar