Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2015jul14 Language: Java OS: Linux Q. How can I list the names of all the files that Java has open? A. Assuming you only have one instance of Java (eg Jetty) this script does it:#!/bin/sh PID=`pidof /usr/bin/java` lsof -p $PID
Add a commentSign in to add a comment