linux - Querying open file descriptors and limits in java -
linux - Querying open file descriptors and limits in java -
anyone know of way list open file descriptors in java limits on number of open file descriptors?
the best i've found far https://gist.github.com/jtai/5408684, lets me print unix fd scheme max current number of open descriptors. haven't found pure java way list paths/names of files open though. haven't found pure java way list per process limits on number of open file descriptors.
i'm interested in solaris , maybe linux platforms, pure java improve having exec something. know can utilize pfiles (on solaris), lsof (on linux), , ulimit (on both), i'm looking better.
edit 1: i'm concerned number of open descriptors current process/jvm limits on jvm. scheme wide stats , limits plus though.
java linux solaris lsof
Comments
Post a Comment