Skip to content
/ netmon Public

Minimalistic asynchronous command-line network monitor. Useful for configuring i3blocks.

License

Notifications You must be signed in to change notification settings

everard/netmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION

This repository contains the source code for a simple stand-alone zero-config network monitor for operating systems which have proc pseudo-file system. This program has very minimal RAM/CPU footprint and might come in handy if you are using i3blocks.

COMPILATION/INSTALLATION

Run make in your command line to compile.

Note: A C11-capable compiler is required.

The compiled binary can be copied to the /usr/local/bin/ directory using the following command.

sudo make install

The installed binary can be removed from the /usr/local/bin/ directory using the following command.

sudo make uninstall

USAGE

Command line

The program's help message can be viewed using the netmon -h command.

To start monitoring network connection x, run:

netmon -c x

i3blocks

Add the following block to the i3blocks config file (substitute x for your connection name):

[netmon]
command=netmon -c x
interval=persist

LICENSE

Copyright Nezametdinov E. Ildus 2021.

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)

About

Minimalistic asynchronous command-line network monitor. Useful for configuring i3blocks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published