Statsfs: A Proposed Linux File-System For Kernel Statistics
Written by Michael Larabel in Linux Storage on 27 May 2020 at 11:15 AM EDT. 38 Comments
LINUX STORAGE --
Statsfs is a new RAM-based file-system proposal by a Red Hat engineer that is designed for exposing kernel statistics to user-space.

Currently when kernel subsystems want to expose different statistics to user-space, it's done via DebugFS (or sysfs). In the case of DebugFS, users generally need root privileges to access the data and users are often left to implement their own tools for each different subsystem exposing the statistics differently.

Red Hat's Emanuele Giuseppe Esposito has hacked together Statsfs in order to reduce kernel duplication of different subsystems working on their statistics reporting, avoid dirtying DebugFS with different statistics code, and making it easier for user-space to aggregate and display different kernel statistics.

Statsfs is a synthetic RAM-based virtual file-system with plans to be mounted under /sys/kernel/stats while offering a generic and stable API.

More details on the Statsfs proposal via this kernel thread.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week