Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
PathPing
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Windows command-line network utility}} {{Infobox software | name = PathPing | logo = | screenshot = Pathping screenshot.png | screenshot size = | caption = The PathPing command | developer = [[Microsoft]] | released = {{Start date and age|2000|02|17}} | latest release version = | latest release date = | operating system = [[Microsoft Windows]] | genre = [[Command (computing)|Command]] | license = [[Proprietary software|Proprietary]] [[commercial software]] | website = {{URL|https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pathping}} }} The <code>'''PathPing'''</code> [[command (computing)|command]] is a [[command-line interface|command-line]] [[network utility]] included in [[Windows NT]] [[operating system]]s since [[Windows 2000]] that combines the functionality of [[ping (networking utility)|ping]] with that of [[traceroute|tracert]].<ref>{{Cite web |url=http://support.microsoft.com/kb/915160 |title=PathPing |publisher=Microsoft |archive-url=https://web.archive.org/web/20090225205353/https://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/cnet/cnbd_trb_vxmb.mspx?mfr=true |archive-date=2009-02-25}}</ref> It is used to locate spots that have [[network latency]] and network loss.<ref>{{Cite web|url=https://www.computerhope.com/pathping.htm|title = MS-DOS and Windows command line pathping command}}</ref><ref>{{Cite web|url=http://techgenix.com/Using-Pathping/|title=Using Pathping|date=23 August 2005}}</ref> ==Overview== The command provides details of the path between two [[computer|hosts]] and ping-like statistics for each node in the path based on samples taken over a time period, depending on how many nodes are between the start and end host. The advantages of <code>PathPing</code> over <code>ping</code> and <code>traceroute</code> are that each node is pinged as the result of a single command, and that the behavior of nodes is studied over an extended time period, rather than the default ping sample of four messages or default traceroute single route trace. The disadvantage is that it takes a total of 25 seconds per hop to show the ping statistics.<ref>[https://technet.microsoft.com/en-us/library/cc958876.aspx PathPing] - TechNet, Microsoft</ref> ==Syntax== The command-[[syntax]] is:<ref>[https://ss64.com/nt/pathping.html PathPing - IP trace - Windows CMD - SS64.com]</ref> pathping [-g host-list] [-h maximum_hops] [-i address] [-n] [-p period] [-q num_queries] [-w timeout] [-P] [-R] [-T] [-4] [-6] target_name Options: *'''<code>-g host-list</code>''' Loose source route along host-list. *'''<code>-h maximum_hops</code>''' Maximum number of hops to search for target. *'''<code>-i address</code>''' Use the specified source address. *'''<code>-n</code>''' Do not resolve addresses to hostnames. *'''<code>-p period</code>''' Wait period milliseconds between pings. *'''<code>-q num_queries</code>''' Number of queries per hop. *'''<code>-w timeout</code>''' Wait timeout milliseconds for each reply. *'''<code>-P</code>''' Test for RSVP PATH connectivity. *'''<code>-R</code>''' Test if each hop is RSVP aware. *'''<code>-T</code>''' Test connectivity to each hop with Layer-2 priority tags. *'''<code>-4</code>''' Force using IPv4. *'''<code>-6</code>''' Force using IPv6. ==Sample== <syntaxhighlight lang="doscon"> >pathping wikipedia.org Tracing route to wikipedia.com [207.142.131.235] over a maximum of 30 hops: 0 simonslaptop [192.168.0.11] 1 192.168.0.1 2 thus1-hg2.ilford.broadband.bt.net [217.32.64.73] 3 217.32.64.34 4 217.32.64.110 5 anchor-border-1-4-0-2-191.router.demon.net [212.240.162.126] 6 anchor-core-2-g0-0-1.router.demon.net [194.70.98.29] 7 ny1-border-1-a1-0-s2.router.demon.net [194.70.97.66] 8 ge-8-0-153.ipcolo1.NewYork1.Level3.net [209.246.123.177] 9 ae-0-51.bbr1.NewYork1.Level3.net [64.159.17.1] 10 so-2-0-0.mp1.Tampa1.Level3.net [209.247.11.201] 11 ge-6-0.hsa2.Tampa1.Level3.net [64.159.1.10] 12 unknown.Level3.net [63.208.24.2] 13 Computing statistics for 325 seconds... Source to Here This Node/Link Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address 0 simonslaptop [192.168.0.11] 0/ 100 = 0% | 1 0ms 0/ 100 = 0% 0/ 100 = 0% 192.168.0.1 0/ 100 = 0% | 2 18ms 1/ 100 = 1% 1/ 100 = 1% thus1-hg2.ilford.broadband.bt.net [217.32.64.73] 0/ 100 = 0% | 3 18ms 0/ 100 = 0% 0/ 100 = 0% 217.32.64.34 0/ 100 = 0% | 4 21ms 0/ 100 = 0% 0/ 100 = 0% 217.32.64.110 0/ 100 = 0% | 5 21ms 1/ 100 = 1% 1/ 100 = 1% anchor-border-1-4-0-2-191.router.demon.net [212.240.162.126] 0/ 100 = 0% | 6 --- 100/ 100 =100% 100/ 100 =100% anchor-core-2-g0-0-1.router.demon.net [194.70.98.29] 0/ 100 = 0% | 7 --- 100/ 100 =100% 100/ 100 =100% ny1-border-1-a1-0-s2.router.demon.net [194.70.97.66] 0/ 100 = 0% | 8 100ms 0/ 100 = 0% 0/ 100 = 0% ge-8-0-153.ipcolo1.NewYork1.Level3.net [209.246.123.177] 5/ 100 = 5% | 9 94ms 5/ 100 = 5% 0/ 100 = 0% ae-0-51.bbr1.NewYork1.Level3.net [64.159.17.1] 0/ 100 = 0% | 10 134ms 7/ 100 = 7% 2/ 100 = 2% so-2-0-0.mp1.Tampa1.Level3.net [209.247.11.201] 0/ 100 = 0% | 11 137ms 6/ 100 = 6% 1/ 100 = 1% ge-6-0.hsa2.Tampa1.Level3.net [64.159.1.10] 30/ 100 = 30% | 12 131ms 41/ 100 = 41% 6/ 100 = 6% unknown.Level3.net [63.208.24.2] 59/ 100 = 59% | 13 --- 100/ 100 =100% 0/ 100 = 0% win2000 [0.0.0.0] Trace complete. </syntaxhighlight> >''pathping -q 10 wikipedia.org''<ref>note the shorter wait with only 10 queries per hop instead of the default 100</ref> Tracing route to wikipedia.org [66.230.200.100] over a maximum of 30 hops: 0 Aaron.hsd1.mn.comcast.net. [192.168.11.3] 1 air.setup [192.168.11.1] 2 73.127.68.1 3 ge-1-38-ur01.minnetonka.mn.minn.comcast.net [68.86.234.41] 4 68.86.232.37 5 68.86.232.33 6 68.86.232.5 7 68.86.232.1 8 * 12.116.99.41 9 tbr2.cgcil.ip.att.net [12.122.99.70] 10 * ggr2.cgcil.ip.att.net [12.123.6.69] 11 ar1-a3120s2.wswdc.ip.att.net [192.205.34.6] 12 66.192.247.163 13 ge8-13.csw5-pmtpa.wikimedia.org [66.193.50.242] 14 * rr.pmtpa.wikimedia.org [66.230.200.100] Computing statistics for 35 seconds... Source to Here This Node/Link Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address 0 Aaron.hsd1.mn.comcast.net. [192.168.11.3] 0/ 10 = 0% | 1 0ms 0/ 10 = 0% 0/ 10 = 0% air.setup [192.168.11.1] 0/ 10 = 0% | 2 8ms 0/ 10 = 0% 0/ 10 = 0% 73.127.68.1 0/ 10 = 0% | 3 8ms 0/ 10 = 0% 0/ 10 = 0% ge-1-38-ur01.minnetonka.mn.minn.comcast.net [68.86.234.41] 0/ 10 = 0% | 4 9ms 0/ 10 = 0% 0/ 10 = 0% 68.86.232.37 0/ 10 = 0% | 5 8ms 0/ 10 = 0% 0/ 10 = 0% 68.86.232.33 0/ 10 = 0% | 6 12ms 0/ 10 = 0% 0/ 10 = 0% 68.86.232.5 0/ 10 = 0% | 7 8ms 0/ 10 = 0% 0/ 10 = 0% 68.86.232.1 0/ 10 = 0% | 8 --- 10/ 10 =100% 10/ 10 =100% 12.116.99.41 0/ 10 = 0% | 9 20ms 0/ 10 = 0% 0/ 10 = 0% tbr2.cgcil.ip.att.net [12.122.99.70] 0/ 10 = 0% | 10 18ms 2/ 10 = 20% 2/ 10 = 20% ggr2.cgcil.ip.att.net [12.123.6.69] 1/ 10 = 10% | 11 --- 10/ 10 =100% 9/ 10 = 90% ar1-a3120s2.wswdc.ip.att.net [192.205.34.6] 0/ 10 = 0% | 12 44ms 2/ 10 = 20% 1/ 10 = 10% 66.192.247.163 0/ 10 = 0% | 13 63ms 1/ 10 = 10% 0/ 10 = 0% ge8-13.csw5-pmtpa.wikimedia.org [66.193.50.242] 0/ 10 = 0% | 14 63ms 6/ 10 = 60% 5/ 10 = 50% rr.pmtpa.wikimedia.org [66.230.200.100] Trace complete. <syntaxhighlight lang="doscon"> >pathping -n wikipedia.org Tracing route to wikipedia-lb.eqiad.wikimedia.org [208.80.154.225]over a maximum of 30 hops: 0 192.168.1.102 1 192.168.1.1 2 10.202.181.110 3 10.202.182.109 4 10.202.181.153 5 10.202.181.49 6 212.72.4.97 7 82.178.32.102 8 63.218.109.117 9 63.218.44.38 10 206.111.0.249 11 216.156.8.189 12 * * * Computing statistics for 275 seconds... </syntaxhighlight> ==See also== * [[ping (networking utility)]] * [[traceroute]] * [[MTR (software)|MTR]] β software which combines the functionality of traceroute and ping * [[Layer four traceroute]] β a more modern traceroute (IP network tracing) implementation that supports a multitude of layer-4 protocols ==Notes and references== {{Reflist}} ==Further reading== *{{Cite book|author1=Robert Cowart|author2=Brian Knittel|year=2002|title=Special Edition Using Windows XP Home Edition, Bestseller Edition|publisher=[[Que Publishing]]|isbn=978-0789728517|url-access=registration|url=https://archive.org/details/specialeditionus0000cowa}} *{{Cite book|author=John Paul Mueller|year=2007|title=Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000|publisher=[[Wiley (publisher)|John Wiley & Sons]]|isbn=978-0470165799}} ==External links== {{Wikibooks|Guide to Windows Commands}} * [https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pathping pathping | Microsoft Docs] β Information about the PathPing tool (Microsoft.com) * [http://winmtr.sourceforge.net/ WinMTR] {{Windows commands}} [[Category:Network analyzers]] [[Category:Internet Protocol based network software]] [[Category:Windows administration]] [[Category:Windows communication and services]] [[Category:Windows components]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Infobox
(
edit
)
Template:Infobox software
(
edit
)
Template:Main other
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Sister project
(
edit
)
Template:Template other
(
edit
)
Template:Wikibooks
(
edit
)
Template:Windows commands
(
edit
)