sophuwu.site > quickstat
added readme
sophuwu sophie@skisiel.com
Mon, 15 Jul 2024 06:55:19 +0200
commit

a7fe5e4475df2beb0da7cb924827fa2ce778bc6e

parent

277ad02124a632a454ff0e8e48fbf1c55fc3a17d

1 files changed, 33 insertions(+), 0 deletions(-)

jump to
A README.md

@@ -0,0 +1,33 @@

+# Quickstat +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. +## Features +- 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 +## Installation +To install quickstat, ensure you have Go installed on your system. Then, follow these steps: +```bash +git clone https://sophuwu.site/quickstat +cd quickstat +go build -ldflags="-w -s" -trimpath +sudo install quickstat /usr/local/bin/quickstat +``` +## Usage +Run the tool using the following command: +```bash +quickstat +``` +### Options +- `-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 +## Contributing +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. +## License +This project is licensed under the MIT License.