02-24-2014
Quote:
Originally Posted by
ahamed101
why don't you ping it if you want to check the reachability?
--ahamed
Becoz, I need to check the complete URL not just the hostname portnumber
10 More Discussions You Might Find Interesting
1. Programming
After my previous thread, I think I found out what causes the long delays.
I run this program on several Linux computers, and the sometimes (after the file with the arrays becomes big) the fwrite takes between 100 ms to 900 ms.
This is very bad for me, as I want a timer to halt each 30 ms.... ... (5 Replies)
Discussion started by: inna
5 Replies
2. Shell Programming and Scripting
Hi all,
I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB.
Can anyone tell me how to improve the performance of a shell script?
Thanks (12 Replies)
Discussion started by: ozzman
12 Replies
3. Linux
Hi,
I am trying to login using ssh on Red Hat Linux 5 server,
The password appears immediately but after I enter the password it takes about 90 seconds to login completely.
Please suggest what changes require?
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
4. UNIX for Dummies Questions & Answers
Hello,
like the title says, how can i measure the time it takes to load a module in Linux, and how how can i measure the time it takes to load a statically compiled module.
/Best Regards Olle
---------- Post updated at 01:13 PM ---------- Previous update was at 11:54 AM ----------
For... (0 Replies)
Discussion started by: ollebanan
0 Replies
5. UNIX for Dummies Questions & Answers
We are running unix. After a reboot of the server we have found that changing password takes a long time. if type in passwd "username" you can type in the 1st instance of the password , press enter , then it will wait for about 3 minutes before bringing up the confirm password line typing it in... (4 Replies)
Discussion started by: AIXlewis
4 Replies
6. Shell Programming and Scripting
Dear experts
I have a 200MG text file in this format:
text \tab number
I try to sort using options -fd and it takes very long! is that normal or I can speed it up in some ways?
I dont want to split the file since this one is already splitted.
I use this command: sort -fd file >... (12 Replies)
Discussion started by: voolek
12 Replies
7. UNIX and Linux Applications
Hi,
we currently having a issue where when we send jobs to the server for the application lawson, it is taking a very long time to complete. here are the last few lines of the database log.
2012-09-18-10.35.55.707279-240 E244403536A576 LEVEL: Warning
PID : 950492 ... (1 Reply)
Discussion started by: techy1
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
Below is my find command
find /opt/app/websphere -name myfolder -perm -600 | wc -l
At time it even takes 20 mins to complete.
my OS is : SunOS mypc 5.10 Generic_150400-09 sun4v sparc SUNW,T5440 (10 Replies)
Discussion started by: mohtashims
10 Replies
9. Shell Programming and Scripting
Hi,
I have a lengthy script which i have trimmed down for a test case as below.
more run.sh
#!/bin/bash
paths="allpath.txt"
while IFS= read -r loc
do
echo "Working on $loc"
startdir=$loc
find "$startdir" -type f \( ! -name "*.log*" ! -name "*.class*" \) -print |
while read file
do... (8 Replies)
Discussion started by: mohtashims
8 Replies
10. Shell Programming and Scripting
I need to check if the files returned by ls command in the below script is a sub-string of the argument passed to the script i.e $1
The below script works fine but is too slow.
If the ls command take 12 secs to complete printing all files with while loop then; using posix substring check... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT DEBIAN
rds-ping
RDS-PING(1) BSD General Commands Manual RDS-PING(1)
NAME
rds-ping -- test reachability of remote node over RDS
SYNOPSIS
rds-ping [-c count] [-i interval] [-I local_addr] remote_addr
DESCRIPTION
rds-ping is used to test whether a remote node is reachable over RDS. Its interface is designed to operate pretty much the standard ping(8)
utility, even though the way it works is pretty different.
rds-ping opens several RDS sockets and sends packets to port 0 on the indicated host. This is a special port number to which no socket is
bound; instead, the kernel processes incoming packets and responds to them.
OPTIONS
The following options are available for use on the command line:
-c count
Causes rds-ping to exit after sending (and receiving) the specified number of packets.
-I address
By default, rds-ping will pick the local source address for the RDS socket based on routing information for the destination address
(i.e. if packets to the given destination would be routed through interface ib0, then it will use the IP address of ib0 as source
address). Using the -I option, you can override this choice.
-i timeout
By default, rds-ping will wait for one second between sending packets. Use this option to specified a different interval. The timeout
value is given in seconds, and can be a floating point number. Optionally, append msec or usec to specify a timeout in milliseconds
or microseconds, respectively.
Specifying a timeout considerably smaller than the packet round-trip time will produce unexpected results.
AUTHORS
rds-ping was written by Olaf Kirch <olaf.kirch@oracle.com>.
SEE ALSO
rds(7), rds-info(1), rds-stress(1).
BSD
Apr 22, 2008 BSD