Skip to content

D4ryus/cl-netstat

Repository files navigation

cl-netstat

Curses Program which visualizes network traffic by reading /proc/net/dev.

Dependencies

Compability

Only tested with sbcl on Linux.

Installation

Clone into quicklisp/local-project (or somewhere else where quicklisp/asdf will find it) and run (ql:quickload :cl-netstat)

Build

(asdf:make :cl-netstat)

You might need to run (ql:quickload :deploy) before running asdf:make.

Run

Since this is a curses program one has to run it inside a terminal. You can either start up sbcl, load cl-netstat and then call (cl-netstat:main) or build an executable via (asdf:make :cl-netstat) and run that. When using the executable see -h for configuration options.

For color support to work the terminal used has to be able to display more than the 8 basic colors. If the terminal supports colors, one might have to set the correct TERM value. For example for xterm this would be: TERM=xterm-256color. If the used Terminal does not support colors, one can specify -c none. See -h for other color options.

Keybindings

Key Usage
q Quit
+ Increase refresh timeout
- Decrease refresh timeout
r Reset screen
c Clear screen
Space Print current refresh timeout

Screenshot

screenshot

About

Curses-Tool to visualize network traffic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages