Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

slptool(1) [centos man page]

SLPTOOL(1)							   User Commands							SLPTOOL(1)

NAME
slptool - SLP command line tool SYNOPSIS
slptool [options] command-and-arguments OPTIONS
options may be: -v (or --version) displays the versions of slptool and OpenSLP. -s (or --scope) followed by a comma-separated list of scopes. -l (or --language) followed by a language tag. -t (or --time) followed by a lifetime tag. -i (or --interfaces) followed by a comma-separated list of interfaces. -u (or --unicastifc) followed by a single interface. command-and-arguments may be: findsrvs service-type [filter] findattrs url [attrids] findsrvtypes [authority] findscopes register url [attrs] deregister url getproperty propertyname EXAMPLES
slptool register service:myserv.x://myhost.com "(attr1=val1),(attr2=val2)" slptool findsrvs service:myserv.x slptool findsrvs service:myserv.x "(attr1=val1)" slptool -i 10.77.13.240,192.168.250.240 findsrvs service:myserv.x slptool -u 10.77.13.237 findsrvs service:myserv.x "(attr1=val1)" slptool findattrs service:myserv.x://myhost.com slptool findattrs service:myserv.x://myhost.com attr1 slptool -i 10.77.13.243 findattrs service:myserv.x://myhost.com attr1 slptool -u 10.77.13.237 findattrs service:myserv.x://myhost.com attr1 slptool deregister service:myserv.x://myhost.com slptool getproperty net.slp.useScopes slptool 2.0.beta2 May 2013 SLPTOOL(1)

Check Out this Related Man Page

slptool(1)						      General Commands Manual							slptool(1)

NAME
slptool - SLP command line tool SYNOPSIS
/usr/bin/slpd [-v|--version] [-s|--scope scopes] [-l|--language languagetag] [command [arguments]] DESCRIPTION
slptool is a command line tool to make SLPv2 User Agent (UA) requests. It can be used for SLP lookup/advertisement in shell scripts or as a diagnostic tool. OPTIONS
-v|--version displays version of slptool and OpenSLP. -s|--scope scopes scopes is a comma separated list of scopes applicable for the command. [-l|--language languagetag languagetag is the language tag to be used for the command. findsrvs service-type [filter] findattrs url [attrids] findsrvtypes [authority] findscopes register url [attrs] deregister url getproperty propertyname EXAMPLES
slptool register service:myserv.x://myhost.com "(attr1=val1),(attr2=val2)" slptool findsrvs service:myserv.x slptool findsrvs service:myserv.x "(attr1=val1)" slptool findattrs service:myserv.x://myhost.com slptool findattrs service:myserv.x://myhost.com attr1 slptool deregister service:myserv.x://myhost.com slptool getproperty net.slp.useScopes SEE ALSO
"OpenSLP User's Guide" NOTES
This man page was written for the Debian project by Debian Developer Ganesan Rajagopal (rganesan@debian.org). You should refer to the online html documentation in the openslp-doc package for more complete and up-to-date information. BUGS
http://sourceforge.net/tracker/?group_id=1730&atid=101730 ACKNOWLEDGEMENTS
OpenSLP is developed and maintained by The OpenSLP Project (http://www.openslp.org/). OpenSLP 1.0.1 Sep 08 2001 slptool(1)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

telnet myhost 1234 cant work?

in myhost, i did a telnet myhost 1234, but got the below Trying... Connected to myhost. Escape character is '^]'. and just waits there... in /etc/services i had the following sftp 1234/tcp then in my /etc/inetd.conf i had sftpd stream tcp nowait meuser /usr/sftpd sftpd ... (13 Replies)
Discussion started by: yls177
13 Replies

2. UNIX for Dummies Questions & Answers

Question?

what will be the output and why?? .$val1=10; val2=25; $ x:=${val1-val2:=35} $ echo $x; (1 Reply)
Discussion started by: skyineyes
1 Replies

3. UNIX for Dummies Questions & Answers

cmp 2 variables

Hi I have two variables contining a set of near identical lines, i'd like to list the lines that differ? Prefereably i'd like not to save the variables into a file first. i.e var1 tag:val1 tag:val2 tag:val3 var2 tag:val1 tag:val4 tag:val3 i'd like the result to print out... (2 Replies)
Discussion started by: nickrick
2 Replies

4. Shell Programming and Scripting

Parsing String

Hello All, I have a case, wherein I have a string of the format "attr1=value1 attr2=value2 attr3=value3 attr4=value4" How do I extract the value associated with for a given attributename. For eg. I need to get a value of "value2" when I give an input for attribute name as "attr2". Note, each... (10 Replies)
Discussion started by: msgforsunil
10 Replies

5. Shell Programming and Scripting

regex help to get unique hostnames

Hi I have a file containing hostnames like this (host=myhost.domain.com) or (host=myhost) i need to extarct the unique hostnames without the domain names from that file. so my output should be myhost (without domain names) But my regex skills are rusty i tried grep "host"... (4 Replies)
Discussion started by: xiamin
4 Replies

6. Shell Programming and Scripting

Replace matching nth occurence

Hi for eg my file has: val1 | val2 | val1 | val2 | val1 | val2 | val1 | val2 | here i need to replace '|' with '|\n' where the occurence of '|' is divisble by 2 so that the output comes like this val1 | val2 | val1 | val2 | val1 | val2 | val1 | val2 | Requesting suggestions in... (1 Reply)
Discussion started by: raghav288
1 Replies

7. Shell Programming and Scripting

How to search and append words in a file

Hi , I have a file myhost.txt which contains below, 127.0.0.1 localhost 1.17.1.5 atrpx958 11.17.10.11 atrpx958zone nsybhost I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone. How to search the word atrpx958 only in... (2 Replies)
Discussion started by: gsreeni
2 Replies

8. Shell Programming and Scripting

How to search and append words in the same file using unix scripting file operations

Hi , I have a file myhost.txt which contains below, 127.0.0.1 localhost 1.17.1.5 atrpx958 11.17.10.11 atrpx958zone nsybhost I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone. How to search the word atrpx958(which is hostname) only,... (5 Replies)
Discussion started by: gsreeni
5 Replies

9. Shell Programming and Scripting

Getting values in pattern /val1/val2/val3/...

I have a string containing /val1/val2/val3/... and want to get all the fields and determine how many there are, so that I can create the string -k val1n -k val2n -k val3n Example: set str = "/5/6/7" -k 5n -k 6n -k 7n set str = "/7/8/9/23" -k 7n -k 8n -k 9n -k 23n (7 Replies)
Discussion started by: kristinu
7 Replies

10. Shell Programming and Scripting

Text Conversion in Column

Hi all; We have a table: COL1 COL2 COL3 COL4 COL5 COL6 COL7 val1 val2 val3 val4 val5 1 val7 val1 val2 val3 val4 val5 3 val7 val1 val2 val3 val4 val5 5 val7 val1 val2 val3 val4 val5 2 val7 ... As you see, 6th columns are filled with numbers as, 1, 2, 3, 4, etc... and I want to make a... (10 Replies)
Discussion started by: gc_sw
10 Replies

11. Shell Programming and Scripting

Extract patterns with grep and align results

Hello folks! I got a list with about 880 lines. An example line looks like this: attr1=sample,attr2=sample,attr3=sample,email=example@example.org; EMAIL=example@example.org,attr3=sample,attr4=sample,attr5=sample,... (3 Replies)
Discussion started by: Chugger
3 Replies