03-29-2012
Hi Corona688,
Thanks for your help on Wget.
my expectation :
1) If 1st try is failed and iam retrying again before 2nd retry i have to check for "xxxxxxx" entry in the log file.
2) If "XXXXXXX" entry is not available ,i have to allow 2nd retry.
3) If "XXXXXXX" entry is available,i shouldnot allow to retry again.
Can we check the condition between every retry,if yes please advice me how to achieve this..
thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to get the status code of a web request,size of the download file and response time using wget.
When i use the command: wget <sitename> ,it gives all these parameters in the command line.But i want to get these values seperately and assign in different variables using shell script.Is... (2 Replies)
Discussion started by: rajbal
2 Replies
2. UNIX for Dummies Questions & Answers
Helo ,
I m using RHEL 4.
If I run 'ls -laF | more', response is properly display.
but when I run If I run 'ls -laF | less', the response is garbled
what to do to remove this?
Regards,
Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
3. Shell Programming and Scripting
normally when i type:
condor_q | tail -1
command line returns:
0 jobs; 0 idle, 0 running, 0 held
I want use the number in front of 'running' in a series of equality tests to submit more jobs when my queue gets low. Someone showed me how to do it a few days ago by setting an array equal to... (4 Replies)
Discussion started by: pattywac
4 Replies
4. Shell Programming and Scripting
I should trasfer some files by xxx.xxx.xxx.xxx to local host.
In order to check the function works i tried to transfer a single file and I typed:
scp -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas
At this point i haven't response anch i have to type CTRL+C to return to... (2 Replies)
Discussion started by: andreac81
2 Replies
5. Shell Programming and Scripting
Hi all,
I am new to this forum and want an urgent help from you experts. I am currently using SunOs 5.10.
I have a .cfi file which contains some commands to be executed in a node(MSC node in telecom) To connect to a node (for eg node name is MSC1) we have a shell script that has the... (5 Replies)
Discussion started by: interceptor16
5 Replies
6. Shell Programming and Scripting
Hi All,
I am using wget to call a url..i am getting 202 if it is successful. if not i am forcing the response code to 417.
how can i capture the response code and print 0 if it is 202 and 1 if it is not 202
any ideas, please share
Thanks,
Jack. (2 Replies)
Discussion started by: jack3698
2 Replies
7. Shell Programming and Scripting
Hello,
I have a script that contains the command "whois 1.2.3.4"
Sometimes this command takes far too long to produce any output and as a result the rest of the script is not executed.
Can anyone suggest a method so that if no output is produced after say 2 seconds the script skips that... (2 Replies)
Discussion started by: colinireland
2 Replies
8. Solaris
I'm trying to run from a generic Sun-OS and am getting the title message repeated indefinitely. I just want to get into the file system to disable some errors I made earlier. Any help? (2 Replies)
Discussion started by: PeterGuerilla
2 Replies
9. Shell Programming and Scripting
hi,
i need help for downloading excel file from internet and convert it to text file
wget http://spreadsheetpage.com/downloads/xl/wordfrequency.xls (4 Replies)
Discussion started by: raghur77
4 Replies
10. Shell Programming and Scripting
I would like to execute and external command and insert it into a particular area of the file I am editing. Note that I have the ORIGINAL AT&T vi training doc dated 1987. Doesnt explain it.
As an example, in a vi editor I have
I would like the result :
After executing the following... (1 Reply)
Discussion started by: popeye
1 Replies
LEARN ABOUT DEBIAN
kumo-gateway
KUMO-GATEWAY(1) General Commands Manual KUMO-GATEWAY(1)
NAME
kumo-gateway - kumofs gateway daemon
SYNOPSIS
kumo-gateway -m <addr[:port]> -p <addr[:port]> [-t port] [-b port] [-c port]
DESCRIPTION
kumo-gateway receives requests from applications and relays it to the kumo-servers. Run this daemon on the hosts that runs applications
that uses kumofs.
OPTIONS
-m <addr[:port=19700]> --manager1
address of manager 1
-p <addr[:port=19700]> --manager2
address of manager 2
-lc --local-cache
local cache (Tokyo Cabinet abstract database)
-t <[addr:]port=11411> --memproto-text
memcached text protocol listen port
-b <[addr:]port=11511> --memproto-binary
memcached binary protocol listen port
-c <[addr:]port=11611> --cloudy
asynchronous memcached binary protocol listen port
-F --memproto-save-flag
save flags on memcached text protocol
-As --async-replicate-set
send response without waiting replication on set
-Ad --async-replicate-delete
send response without waiting replication on delete
-G <number=5> --get-retry
get retry limit
-S <number=20> --set-retry
set retry limit
-D <number=20> --delete-retry
delete retry limit
-rn <number=4> --renew-threshold
hash space renew threshold
-k <number=2> --keepalive-interval
keepalive interval in seconds
-Ys <number=1> --connect-timeout
connect timeout time in seconds
-Yn <number=4> --connect-retry-limit
connect retry limit
-Ci <number=2> --clock-interval
clock interval in seconds
-TW <number=2> --write-threads
number of threads for asynchronous writing
-TR <number=4> --read-threads
number of threads for asynchronous reading
-o <path.log> --log
output logs to the file
-g <path.mpac> --binary-log
enable binary log
-v --verbose
-d <path.pid> --daemon
EXAMPLE
[on cli1 ]$ kumo-gateway -v -m mgr1 -p mgr2 -t 11211 -As -Ad
[localhost]$ kumo-gateway -v -m localhost -t 11211 -d kumo-gateway.pid
SEE ALSO
kumolog(1).
kumo-gateway July 2009 KUMO-GATEWAY(1)