teivarodiere / pinger Goto Github PK
View Code? Open in Web Editor NEWAn alternative ping utility that aims to offer the same experience on MacOS, Windows, and Linux. Tested on Windows 11 ARM and MacOS M1 (arm)
An alternative ping utility that aims to offer the same experience on MacOS, Windows, and Linux. Tested on Windows 11 ARM and MacOS M1 (arm)
Currently, the application generates a list of possible targets to ping. After it has created the array of ping-able targets, it for loops through the list. During each for loop, ping.SendAsync is issued.
What i'd like is to independently loop through each ping target in parallel, and not have wait for one to start the next.
The loop sleeps for a period (in seconds) that is the difference between (1 second less (-) the time taken to ping a Target).
For example. To ping a target every 1 second. If it takes 0.5 second to get a reply, then the sleep function waits another 0.5 seconds, the loops. When are are multiple targets, it's not possible to control the sleep function unless the pings are in parallel.
I am exploring a few options;
Dump only what is shown onscreen to CSV. Onscreen and CSV are in sync
If you specify a normal ping, where the console outputs only when the target transitions between reachable and unreachable.
Dump everything to CSV. What you would see onscreen and CSV not in sync.
With this option, the output onscreen remains the same (either the smart ping or '-s' ping) but in the CSV, every ping result is written to CSV.
3). Only dumps to csv when the ping transitions to unreachable and back. Meaning, while the status is 'success' or reachable, then don't output anything to CSV. But when a target becomes unreachable, write to CSV, then stop after it returns to success.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.