- Java: List the names of all the files that Java has open
Java: List the names of all the files that Java has open
Assuming you only have one instance of Java (eg Jetty) this script does it:
#!/bin/sh PID=`pidof /usr/bin/java` lsof -p $PID
Copyright © 2008-2022, dave. Code samples on Dave's Brain is licensed under the
Creative Commons Attribution 2.5 License.
other material, including English text has all rights reserved.