The only changes needed are paths and commands that may be different on windows nothing else. If you like it i can make the smalls changes to be used in windows and you did need to install ActivePerl that is all. What it does is that it will try to ping google every time it runs and it will then print to a file if it got a reply or not along with the time so you can check later from what time to what time the internet was unavailable. System "rm -rf /var/run/net_test.pid" if (-e "/var/run/net_test.pid") $format = strftime('',localtime)." Internet is ok." $format = strftime('',localtime)." Internet is back." $run = `echo $format > /var/log/virtua_net` $format = strftime('',localtime)." Internet is not available." Net Uptime Monitor is designed to be as simple as possible and accomplish this one purpose accurately and thoroughly with the least effort from you. My $host = "my $ping = Net::Ping->new('icmp') Our website at is updated with new details, reviews, demo video and more. I don't know any util but i did myself a simple code for that with perl: #!/usr/bin/perl 0 is now available to all This new version with new features and improved performance is a free upgrade.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |