cnping

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

commit c19c13c3a26132262cec4f7cc71eedf24def04bb
parent e53647a438d8a8078dc125c82d3e4cdb35c138ef
Author: CNLohr <charles@cnlohr.com>
Date:   Thu,  7 Dec 2017 06:39:38 -0500

Merge pull request #29 from drbachler/feature/README

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)