cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 95b498f29e1055c92e1faec058002f36857f3340
parent e53647a438d8a8078dc125c82d3e4cdb35c138ef
Author: Alexander Bachler Jansson <alexander@pingdom.com>
Date:   Wed,  6 Dec 2017 08:05:04 +0100

Updated README.md

Diffstat:
MREADME.md | 26+++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md @@ -2,19 +2,22 @@ cnping ====== Minimal Graphical IPV4 Ping Tool. (also comes with searchnet, like nmap but smaller and simpler). It uses rawdraw so it is OS independent. +``` +Usage: cnping [host] [period] [extra size] [y-axis scaling] [window title] -Usage: cnping [host] [period] [extra size] [y-axis scaling] - - [host] -- domain or IP address of ping target - [period] -- period in seconds (optional), default 0.02 - [extra size] -- ping packet extra size (above 12), optional, default = 0 - [const y-axis scaling] -- use a fixed scaling factor instead of auto scaling (optional) - + [host] -- domain or IP address of ping target + [period] -- period in seconds (optional), default 0.02 + [extra size] -- ping packet extra size (above 12), optional, default = 0 + [const y-axis scaling] -- use a fixed scaling factor instead of auto scaling (optional) + [window title] -- the title of the window (optional) +``` Picture: <IMG SRC=cnping.png> -To build on ubuntu, please run: +## Installation: + +### Ubuntu: ``` sudo apt install libxinerama-dev libxext-dev libx11-dev build-essential @@ -24,8 +27,9 @@ make linuxinstall 'linuxinstall' builds the tool and copies it to your usr/local/bin folder, and sets the sticky bit allowing it to run as though it were root, allowing it to create raw sockets. ``` - sudo cp cnping /usr/local/bin/ - sudo chmod +s /usr/local/bin/cnping +sudo cp cnping /usr/local/bin/ +sudo chmod +s /usr/local/bin/cnping ``` +### Archlinux: - + [cnping-git](https://aur.archlinux.org/packages/cnping-git/) in the [Arch User Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository)