---
name: "nws_search"
section: "1"
platform: "linux"
package: "nws"
version: "2.13-6.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/nws_search"
---

# nws\_search(1)

search a Network Weather Service nameserver

## 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)](/nws_nameserver/1.md)** in order to obtain various infomation about  **[nws\_sensor(1)](/nws_sensor/1.md)** , 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. ⟨http://nws.cs.ucsb.edu⟩

## AUTHOR

NWS is an original idea of Rich Wolski Rich Wolski (rich@cs.ucsb.edu) who came up with the original **nws\_memory.**

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

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

## SEE ALSO

**[nws\_sensor(1)](/nws_sensor/1.md),** **[nws\_search(1)](/nws_search/1.md),** **[nws\_nameserver(1)](/nws_nameserver/1.md),** **[nws\_extract(1)](/nws_extract/1.md)** **halt\_activity(1)** **start\_activity(1)**
