ADD identify actual java app name
allanlaal opened this issue · comments
since most Java (Eclipse fw based apps I use) use their own packaged java binary to run themselves, these show up as plain java
in ps_mem
:
545.6 MiB + 1.3 MiB = 546.9 MiB java [updated]
22.6 GiB + 12.0 MiB = 22.6 GiB java (2)
for the main use case of ps_mem (identifying what app is using what amount of physical memory), I believe it to be useful to distinguish different java apps
in my instance what makes up the ps_mem
group 'java' are completely different apps:
/opt/clion/jbr/bin/java
/opt/datagrip/jbr/bin/java
/opt/dataspell/jbr/bin/java
/opt/goland/jbr/bin/java
/opt/intellij-idea-community/jbr/bin/java
/opt/intellij-idea-ultimate/jbr/bin/java
/opt/phpstorm/jbr/bin/java
/opt/pycharm-professional/jbr/bin/java
/opt/rider/jbr/bin/java
/opt/rubymine/jbr/bin/java
/opt/webstorm/jbr/bin/java
/usr/share/dbeaver-ce/jre/bin/java
/usr/share/dbeaver/jre/bin/java
etc..
..so a lot of context is lost by grouping them under their binary runners name ('java')
other users have had similar use cases: #54 (comment)