kevindrosendahl commented on issue #12615: URL: https://github.com/apache/lucene/issues/12615#issuecomment-1819863900
@navneet1v I've been using [oshi](https://github.com/oshi/oshi) in my testing framework, particularly [OSThread::getMajorFaults](https://www.oshi.ooo/oshi-core-java11/apidocs/com.github.oshi/oshi/software/os/OSThread.html#getMajorFaults()). If you need to do it with zero external dependencies, you'd need to implement it for each environment you'd be running on. On linux you can gather the info from `/proc/thread-self/stat`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
