Skip to content

Skyblueborb/cnetstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cnetstat

cnetstat is a Linux network utilization program written in pure C. Statistics are collected from the kernel and displayed in a human-readable format. The collected data persists after reboot.

Installation

git clone https://github.com/skyblueborb/cnetstat && cd cnetstat
sudo make install

Usage

USAGE:
  cnetstat [--help, --gb ...] <network_device>

OPTIONS:
  -h, --help    display this help message
  -b, --bytes   prints raw bytes in addition to conversion
  -k, --kb      converts the output to kilobytes
  -m, --mb      converts the output to megabytes
  -g, --gb      converts the output to gigabytes
  -t, --tb      converts the output to terabytes
  -w, --wipe    wipes the currently saved bytes

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

network stat viewer written in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published