This is an old revision of the document!
Table of Contents
TMSS10Ping
Synopsis
TMSS10Ping [-n count] [-P port] host
Description
TMSS10Ping sends dummy packets to a TapeTrack Framework Server and receives a reply packet.
TMSS10Ping sends payload packets via the TCP/IP protocol. This means that even if a firewall is configured to block ping requests, if TapeTrack connections are allowed, then TMSS10Ping packets will be successful.
Options
The options which apply to the TMSS10Ping command are:
-nThis option sets the number of test packets to send to an integer other than 4.-PThis option sets the TCP/IP port to an integer other than 5000.hostHost name or dotted IP address of the TapeTrack Framework Server.
Exit Status
- zero Program has ended successfully.
- non-zero Program was unable to connect to the TapeTrack Framework Server.
Environment
Files
stdoutProgram messages indicating statistics from ping.
Examples
This example tests a TapeTrack connection on port 443.
<sxh plain;> C:\>TMSS10Ping -P 443 tapetrack.ironmountain.com 44 bytes from 216.229.153.104: seq=1 time=58.00 ms 44 bytes from 216.229.153.104: seq=2 time=58.00 ms 44 bytes from 216.229.153.104: seq=3 time=58.00 ms 44 bytes from 216.229.153.104: seq=4 time=57.00 ms — tapetrack.ironmountain.com TMSS10Ping statistics — 4 packets transmitted
round-trip min/avg/max = 0.00/57.75/58.00 ms </sxh> This example sends an email if a TapeTrack Server is down.
<sxh bash;> #!/bin/bash TMSS10Ping -P 443 tapetrack.ironmountain.com > /dev/null [ $? -ne 0 ]; then sendmail ….. fi </sxh>
This example sends ping request via a proxy server, creates a trace file and displays the trace file.
<sxh bash;> set PROXYIP=192.168.1.10 set PROXYPORT=3128 set PROXYUSER= set PROXYPW= set TAPETRACKIP=server.databank.co.il set TAPETRACKPORT=443 set TMSSAPILOGDIR=%TEMP% set TMSSSERVERPROXY=%PROXYUSER%:-%PROXYPW%@%PROXYIP%:%PROXYPORT% del /Q “%TMSSAPILOGDIR%\TMSSAPILOG-*.txt” TMSS10Ping -P %TAPETRACKPORT% %TAPETRACKIP% type “%TMSSAPILOGDIR%\TMSSAPILOG-*.txt” pause </sxh>
