TPING(1) LAM COMMANDS TPING(1)NAME
tping - Send echo messages to LAM nodes.
SYNOPSIS
tping [-hv] [-c count] [-d delay] [-l length] nodes
OPTIONS -h Print the command help menu.
-v Turn OFF verbose mode.
-c count Send count messages.
-d delay Delay delay seconds between each message.
-l length Each message is length bytes long.
DESCRIPTION
The tping command sends messages to, and collects replies from, a list of nodes, via the LAM echo server. It is similar to the UNIX
ping(8) command, and is used as a quick diagnosis of the LAM network.
Unless options are specified, tping sends a 1 byte message an infinite number of times, displaying the roundtrip time of each message as it
completes, with a delay of 1 second between roundtrips. After the loop is broken (with keyboard interrupt, eg: ^C), tping prints statis-
tics about all roundtrip messages.
EXAMPLES
tping h
Echo messages to the local node.
tping -v n7 -l 1000 -c 10
Echo 1000 byte messages to node 7. Stay silent while working. Stop after 10 roundtrips and report statistics.
BUGS
There is no built-in timeout and tping will wait forever to receive an echo. If no echo is received, due to a dead link or node, tping
hangs. Stop the process with a keyboard suspend signal (eg: ^Z) and terminate LAM with lamhalt(1) or lamwipe(1) (although the use of
lamwipe(1) is deprecated).
SEE ALSO lamhalt(1), lamwipe(1)LAM 7.1.4 July, 2007 TPING(1)
Check Out this Related Man Page
TPING(1) LAM COMMANDS TPING(1)NAME
tping - Send echo messages to LAM nodes.
SYNOPSIS
tping [-hv] [-c count] [-d delay] [-l length] nodes
OPTIONS -h Print the command help menu.
-v Turn OFF verbose mode.
-c count Send count messages.
-d delay Delay delay seconds between each message.
-l length Each message is length bytes long.
DESCRIPTION
The tping command sends messages to, and collects replies from, a list of nodes, via the LAM echo server. It is similar to the UNIX
ping(8) command, and is used as a quick diagnosis of the LAM network.
Unless options are specified, tping sends a 1 byte message an infinite number of times, displaying the roundtrip time of each message as it
completes, with a delay of 1 second between roundtrips. After the loop is broken (with keyboard interrupt, eg: ^C), tping prints statis-
tics about all roundtrip messages.
EXAMPLES
tping h
Echo messages to the local node.
tping -v n7 -l 1000 -c 10
Echo 1000 byte messages to node 7. Stay silent while working. Stop after 10 roundtrips and report statistics.
BUGS
There is no built-in timeout and tping will wait forever to receive an echo. If no echo is received, due to a dead link or node, tping
hangs. Stop the process with a keyboard suspend signal (eg: ^Z) and terminate LAM with lamhalt(1) or lamwipe(1) (although the use of
lamwipe(1) is deprecated).
SEE ALSO lamhalt(1), lamwipe(1)LAM 7.1.4 July, 2007 TPING(1)
hi
while
do
if
then
echo QManager Name $1
fi
if
then
echo Cluster Name$2
fi
if (( $count != 0 && $count != 1 ))
then
echo Queue Name `$($count)`
fi
... (3 Replies)
I have file named script1 as follows:
#!/bin/bash
count="0"
echo "hello"
echo "$count"
while
do
echo "$count"
count=`expr $count + 1`
done
-----------
when I run it, I get
./script1: line 9: syntax error near unexpected token `done'
./script1: line 9: `done'
I... (6 Replies)
Hi,
Iam trying to add a while loop in my script in the below way which gets value from count file and checks if its not equal to 0.If yes then it shld echo me a message.
while //count file has some number other than 0
do
echo "count is not zero"
done
But iam getting this error:... (5 Replies)
Hi All,
I want to echo a message in case a system is reachable by ping or echo a different message in case it's not reachable.
Sample code i wrote is
ping localhost -n 2 | grep 'ttl' > ping_op; ls ping_op > /dev/null && drReachable=Alive; echo -e `date`: \\t "DR server is reachable" >>... (5 Replies)
hi
I had created a while loop in a script file called whiletest.sh as follows
as follows:
count=0
max=10
while
do
echo $count
echo count=$(count+1)" "
done
echo "value of count:$count"
then i run the script with the command
sh whilestest.sh
but its giving me an error... (5 Replies)