Skip to content
/ chitose Public

An iftop alternative for cumulated network traffic monitoring

License

Notifications You must be signed in to change notification settings

taoky/chitose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chitose

An iftop alternative for cumulated network traffic monitoring, for OSS mirror admins.

Outbound traffic by default.

Build

go build

This uses gopacket and thus NOT supporting CGO_ENABLED=0 for static linking. You need to install libpcap to use this.

Note that binaries in Releases are compiled under Ubuntu 20.04 (glibc 2.31).

Usage

> ./chitose -h
Usage of ./chitose:
  -i string
        Interface to listen on (default "eth0")
  -inbound
        Show inbound traffic instead of outbound
  -no-netstat
        Do not detect active connections
  -sort-delta
        Sort by delta instead of total
  -top int
        Number of top values to show (default 10)

Press 's' (lowercase) to change sort order

You might need root privilege to run this program.

Alternative

iBug's ctmon uses conntrack instead of pcap to monitor, which is a more lightweight solution.

Naming

Same as the nginx log analyzer ayano, and chitose shares some code with that :)

About

An iftop alternative for cumulated network traffic monitoring

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages