Hi, All I would like to introduce a new library oshi[1] to help Apache Pulsar sensory OS resources. It can help us to get away from the complex file manipulation and cross-platform compatibility issues in some operating systems.
code example: https://github.com/apache/pulsar/pull/18984 Please feel free to left comments. Best, Mattison [1] https://github.com/oshi/oshi