fsmon: initial release

This commit is contained in:
Forza 2024-12-28 15:55:21 +01:00
parent d41594a837
commit f89e394504
2 changed files with 41 additions and 2 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# EditorConfig file for fsmon
root = true
# Global settings
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Python-specific settings
[*.py]
indent_style = space
indent_size = 4

View File

@ -1,3 +1,27 @@
# fsmon
# fsmon: A Real-Time Btrfs I/O Monitor
fsmon: A Real-Time Btrfs I/O Monitor
`fsmon` monitors the I/O activity of Btrfs filesystems in real time, displaying bandwidth and IOPS statistics for detected filesystems and their devices.
It combines I/O statistics from all member devices of each Btrfs filesystem, providing a unified view of the filesystem's overall activity.
## Features
- Real-time monitoring of read/write bandwidth and IOPS.
- Visual charts for I/O statistics.
- Dynamic terminal size handling.
- Lightweight and efficient, leveraging sysfs for minimal overhead.
## Requirements
- Python 3.6 or higher.
- Btrfs filesystems mounted on the system.
- Sufficient permissions to access `/sys/fs/btrfs` and related devices in `/sys/block`.
## Usage
- `-h` or `--help`: Display usage information.
- `-v` or `--version`: Display version.
## License
This program is licensed under the [GNU General Public License v3.0 or later](https://www.gnu.org/licenses/gpl-3.0.html).