How to capturing network lost package


hello friends

i have server (windows server 2003 r2 sp2)  that apparently has network lost package , need know in moment happens.

please tell me if exists windows performance counter identify this.

greetings

aleds



not aware of perfcounter can run script , redirect patch file example

if want monitor packet loss specific server use ip instead of 8.8.8.8 (note firewalls have flood protection , dropping pings may not work 100% accurate in every scenario)

@echo off setlocal enableextensions disabledelayedexpansion :loop       set "pct="     set "avg="      /f "delims=" %%a in ('         ping -n 1 8.8.8.8 ^| findstr /r /c:"= [0-9]*ms" /c:"([0-9]*%% "     ') if not defined pct (      /f "tokens=2 delims=(%%" %%b in ("%%a") set "pct=%%b"      ) 	else  	(              %%b in (%%a) set "avg=%%b"     )          /f "delims=m" %%a in ("%avg%") set "avg=%%a"      echo packet loss percent=[%pct%]      echo average response time=[%avg%] 	date /t 	time /t 	echo ------------------------- goto loop




Windows Server  >  Management



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...