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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org