I want to write a java application that is to be deployed on a unix box. I need to check the running processes - that are running on the box. Could someone show me an example / point me in the right direction?
If you want to find the running java processes, you can use
ps -ef | grep java
If you need to check which ports are in use,
netstat -tupln
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With