This article documents the usage of the Cpanel::Net::traceroute function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Synopsis
Cpanel::Net::traceroute
Description
This function displays the route of a packet from the web interface user's computer to the server the user's domain resides on.
Variables
Input
None
Output
- line (string)
- Line outputs a line of the traceroute output. Format: host (IP) time ms time ms time ms.
Examples
<?cp Net::traceroute( %, line) ?>
This example will output the traceroute information from the interface user's computer to the server their site is located on.
Copyright
Copyright 2007 cPanel Inc.
Topic revision: r2 - 07 Apr 2009 - 21:40:10 - Main.JustinSchaefer