---
name: "sdrwatch"
section: "1"
platform: "linux"
package: "ion"
version: "3.2.1+dfsg-1.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sdrwatch"
---

# sdrwatch(1)

SDR non-volatile data store activity monitor

## NAME

sdrwatch - SDR non-volatile data store activity monitor

## SYNOPSIS

**sdrwatch** *sdr\_name* *interval* *count* \[ verbose \]

## DESCRIPTION

For *count* interations, **sdrwatch** sleeps *interval* seconds and then invokes the *sdr\_print\_trace()* function (see [*sdr*(3)](/sdr/3.md)) to report on SDR data storage management activity in the SDR data store identified by *sdr\_name* during that interval.  If the optional **verbose** parameter is specified, the printed SDR activity trace will be verbose as described in [*sdr*(3)](/sdr/3.md).

If *interval* is zero, **sdrwatch** merely prints a current usage summary for the indicated data store and terminates.

**sdrwatch** is helpful for detecting and diagnosing storage space leaks.  For debugging the ION protocol stack, *sdr\_name* is normally "ion" but might be overridden by the value of sdrName in the .ionconfig file used to configure the node under study.

## EXIT STATUS

- "0"

  **sdrwatch** has terminated.

## FILES

No configuration files are needed.

## ENVIRONMENT

No environment variables apply.

## DIAGNOSTICS

The following diagnostics may be issued to the **ion.log** log file:

- Can't attach to sdr.

  ION system error.  One possible cause is that ION has not yet been initialized on the local computer; run [*ionadmin*(1)](/ionadmin/1.md) to correct this.

- Can't start trace.

  Insufficient ION working memory to contain trace information.  Reinitialize ION with more memory.

## BUGS

Report bugs to \<ion-bugs@korgano.eecs.ohiou.edu\>

## SEE ALSO

[*sdr*(3)](/sdr/3.md), [*psmwatch*(1)](/psmwatch/1.md)
