sourCEntral - mobile manpages

pdf

nws_search

NAME

nws_search − search a Network Weather Service nameserver

SYNOPSIS

nws_search [-a][-o][-V][-f yes/no][-N host][-v level] filter [attribute ...]

DESCRIPTION

This manual page explains the nws_search program. nws_search is used to query a nws_nameserver(1) in order to obtain various infomation about nws_sensor(1) , running activities, available measurements etc... The filter is an LDAP-like filter (see EXAMPLES for few examples on how to use it).

OPTIONS

-a

only the attributes should be displayed

only the values of should be displayed

-N nws_nameserver

specifies the nws_nameserver to be queried

-f yes/no

Indicates whether to format the program output, listing one attribute per line and padding the names. The default is yes.

-t timeout

Use timeout seconds as timeout during communications with the nameserver. 0 has a special meaning of disabling the timeout altogether.

-v level

Set the verbosity in case of error. Value of level can be 0 to 5 where 5 is the more verbose. It is currently disabled.

-V

Print the version informations.

EXAMPLES

To retrieve registrations of all cliques register with nameserver

nws_search -N nameserver "(&(objectclass=nwsActivity)(control=clique))"

To retrieve registrations for all sensors

nws_search -N nameserver "(hostType=sensor)"

To retrieve registrations that have a name starting with abc

nws_search -N nameserver "(name=abc*)"

BUGS

Bugs list is at http://nws.cs.ucsb.edu.

AUTHOR

NWS is an original idea of Rich Wolski Rich Wolski (rich AT cs DOT ucsb DOT edu) who came up with the original nws_memory.

Neil Spring, Jim Hayes (jhayes AT cs DOT ucsd DOT edu) and Martin Swany maintained and enhanced it.

Graziano Obertelli (graziano AT cs DOT ucsb DOT edu) currently maintains NWS and wrote this man page.

SEE ALSO

nws_sensor(1), nws_search(1), nws_nameserver(1), nws_extract(1) halt_activity(1) start_activity(1)

pdf