02-19-2010
Thanks SKMDU for the suggestion. Unfortunatley, I tried but it did not work for what I am doing. The router= string will change each time.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to figure out how to do this efficiently with as little execution time as possible and I'm pretty sure using sed is the best way. However I'm new to sed and all the reading and examples I've found don't seem to show a similar exercise:
I have a long text file (i'll call it... (3 Replies)
Discussion started by: JeffV
3 Replies
2. Shell Programming and Scripting
I have a huge file with 13 million records , how do i split this file into 13 files which has 1 million records in each ( each record is one line)
I tried this but how to print the second million etc
cat file | head -1000000 > file1
cat file | tail -1000000 >file13
please shed some... (1 Reply)
Discussion started by: ramky79
1 Replies
3. AIX
Hello
I have a requirement where i have to split the file into number of files. Lets say i have 200 records and i need to split the file with 50 records each which would be 4 files. If the file has 60 records then first 50 records in first file and then rest of the 10 records in second file. if... (3 Replies)
Discussion started by: dsdev_123
3 Replies
4. Linux
I have a tab delimitted dataset with 4 fields. I like to split the second field into two, and have 5 fields. I like to remove the "-" sign when I get a new fiel. would you help?
It is like:
1223 100-5 rr dd
I need it like:
1223 100 5 rr dd (2 Replies)
Discussion started by: sire
2 Replies
5. UNIX for Dummies Questions & Answers
Hello I need help with the following. I have strings like
#if defined(__def1__)
#if defined(__def1__) || defined(__def2__)
#if defined(__def1__) && defined(__def2__) && defined(__def3__).
#if defined(__def1__) || defined(__def2__) || defined(__def3__).
I need to print what is there in... (4 Replies)
Discussion started by: srk
4 Replies
6. Shell Programming and Scripting
Hi experts,
In the lines below I am trying to copy only the words which come after "//" into an array
short nloh; // Comments
int age; // Age of the person
Please help me in achieving this
After the code, the output of the array should
Comments
Age of the person (6 Replies)
Discussion started by: ramakanth_burra
6 Replies
7. Shell Programming and Scripting
I have a file with single line, that line contains just like the following sample
00200100293^30^1^bla bla ...._______To: zabell00200100293^30^3^aSub00200100293^30^4^ellaCc: Sanders,De on my desk__________00200100293^30^4^___________________________________00A00ABC0293^30^1^something___To: some... (10 Replies)
Discussion started by: Vasan
10 Replies
8. Shell Programming and Scripting
Hello, i want to take a one word from my file.
-- myfile.txt --
test
blablabla
suPHP_ConfigPath /home/performe/etc
blablabla
etc. bla bla.
-- myfile.txt --
How can i take performe from this file ?
Thank you. (7 Replies)
Discussion started by: SAYGIN
7 Replies
9. Shell Programming and Scripting
I will simplify the explaination a bit, I need to parse through a 87m file -
I have a single text file in the form of :
<NAME>house........
SOMETEXT
SOMETEXT
SOMETEXT
.
.
.
.
</script>
MORETEXT
MORETEXT
.
.
. (6 Replies)
Discussion started by: sumguy
6 Replies
10. Programming
I want to access query string properties by key using client side laguage like jquery or javascript.
window.location.search will be used but i dont have any idea how i wll be used to get query string parameters.
private URL removed (1 Reply)
Discussion started by: grabbitmedia
1 Replies
rdpd(1M) rdpd(1M)
NAME
rdpd - router discovery protocol daemon (OBSOLETE)
SYNOPSIS
| |
DESCRIPTION
the router discover protocol daemon, implements the host portion of the router discovery protocol (see More specifically
o solicits router advertisements when it is first started so as to populate the kernel table as soon as possible.
o listens on all ethernet interfaces (that are up) for ICMP router advertisement datagrams.
o adds a default router to the kernel table based on whether the router is a neighbor and has the highest preference among all
advertisements received.
o ages the default router entry applied to the kernel table based on the lifetime value found in the advertisement message.
can be started during boot-time initialization. To do so, see (But see below.)
Options
supports the following options:
Display the version of
Enable tracing of the following events:
o setting of expiration timer for advertised entry.
o expiration of a router advertisement entry (only the active entry has a timer running).
o add/update of an advertised router to the kernel.
o removal from kernel table of an advertised router.
o reception of a router advertisement from the link.
o transmission of a router solicitation message.
o failure while attempting to transmit a solicitation.
Enable verbose tracing, which in addition to the above, traces:
o contents of the router advertisement message received.
o contents of rdpd internal statics which includes:
1. total number of messages received,
2. total number advertisements received,
3. total number of advertisements with invalid number of addresses field,
4. total number of advertisements with invalid address size field,
5. total number of advertisements with invalid message lengths,
6. total number of advertisements with invalid lifetime fields,
7. total number of messages with number of bytes received <> header length field.
LIMITATIONS
1. The maximum number of default routes retained is 10. Only one of which is applied to the kernel routing tables (the one with the high-
est preference). In the event that the advertised router with the highest preference expires the retained advertised router list will
be searched for the highest preference, still current entry and that entry will be applied to the kernel table. This allows for quick
recovery from aged advertisements.
2. only becomes aware of link state changes when either a new Router Advertisement message is received or a timer pops to age a currently
active default router added by This may cause a delay between an interface state change (e.g., down) and any necessary change to the
kernel routing table.
3. The "all hosts on subnet" broadcast address is used for sending solicitations instead of either the all-routers multicast or limited-
broadcast IP addresses.
4. The limited-broadcast address for inbound Advertisements is assumed.
5. Default routers added via the command can be altered due to Router Advertisements for the same router.
6. Adding default routes via the command can cause unpredictable results and should be avoided.
OBSOLESCENCE
The functionality of has been subsumed in See the statements described in gated.conf(4). has been obsoleted in HP-UX 11i Version 2.
WARNINGS
should not be used if is enabled when running
AUTHOR
was developed by HP.
SEE ALSO
gated(1M), gated.conf(4).
[1] Deering, S., "ICMP Router Discovery Messages", RFC 1256
rdpd(1M)