Skip to content

Sophuwu300/quickstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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:

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.

About

A simple command that gets system stats.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages