nup

Crates.ionup
lib.rsnup
version0.1.0
sourcesrc
created_at2023-05-02 15:15:34.564835
updated_at2023-05-02 15:15:34.564835
descriptionA command line tool to monitor and log network downtime and latency.
homepage
repositoryhttps://github.com/surajmandalcell/nup
max_upload_size
id854637
size35,777
Suraj Mandal (surajmandalcell)

documentation

README

Network Uptime

Description

This tool runs in background and logs if any network distruptions happened, this is specially useful if you want to figure out if you ISP is having issues. You can run this tool and it will log all the network distruptions in a file. You can also pass an argument to also log the latency of the rqequst.

Usage

nup [-h] [-l] [-f FILE] [-t TIME]

Compile and Run

Build
cargo build --release
Run
cargo run

Todo

  • Make it installable as a global command
  • Make it run in background
  • Log the output to the terminal when requested
  • Dont run more than one instance at a time unless specified
  • Make sure the writing to file works and is safe
  • Add a flag to log the latency of the request
  • Add a flag to log the request status code
  • Add a argument to show help

Todo Documentation

  • Add a flag to log the latency of the request
  • Add a flag to log the request status code
  • Add a argument to show help
Commit count: 24

cargo fmt