quickstat is a system monitoring tool developed in Go, designed to provide real-time information about the hardware performance of your system. It can output data in both standard and JSON formats, making it suitable for both human reading an automated processing.
- Real-time CPU and memory usage monitoring
- Output in JSON format for easy integration with other tools
- Customizable unit display for data (KB, MB, GB)
- Configurable sampling time for monitoring updates
To install quickstat, ensure you have Go installed on your system. Then, follow these steps:
git clone https://sophuwu.site/quickstat
cd quickstat
go build -ldflags="-w -s" -trimpath
sudo install quickstat /usr/local/bin/quickstat
Run the tool using the following command:
quickstat
-j
: Output in JSON format-r
: Repeat output-KMG
: Print in unit (K for KB, M for MB, G for GB)-t<n>
: Set sampling time to n seconds
If you have any questions or suggestions, please open an issue. Or feel free to fix any bugs or add new features. If you do, please submit a pull request.
This project is licensed under the MIT License.