Predmet:Net statistike
Ovim bec fajlom pozete zapisati svoje net statistike u fajl.
Znacenje pojedinih znakova:
Parameters XP
-a Displays all connections and listening ports
-b Displays the executable involved in creating each connection or listening port. (Added in XP SP2.)
-e Displays Ethernet statistics
-f Displays Fully Qualified Domain Names for foreign addresses. (In Windows Vista/7 only)
-n Displays addresses and port numbers in numerical form
-o Displays the owning process ID associated with each connection
-p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6.
-r Displays the routing table
-s Displays per-protocol statistics
-t Displays the current connection offload state, (Windows Vista/7)
-v When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables. (Windows XP SP2, SP3)
[interval] An integer used to display results multiple times with specified number of seconds between displays. Contol+c
PreuzmiIzvorni kôd (Bash):Echo off
echo Zaustavi tok pritiskom na strl+c.
echo parametri xp(-a;-b;-e;-n;-o;-s;-r)
echo parametri xin 7(-a;-b;-e;-f;-n;-o;-r;-s;-t)
esco znacenje procitajte u helpu
SET /p z=Unesi vrijednost parametra
netstat %z% 6 > Net_Statistike.txt
Podrska samo putem foruma, jer samo tako i ostali imaju koristi od toga.