System Administration Commands ndmpstat(1M) NAME ndmpstat - show NDMP backup progress statistics SYNOPSIS ndmpstat [interval [count]] DESCRIPTION ndmpstat reports NDMP statistics regarding NDMP worker threads, disk IO, tape IO, files operation, performance and backup activity. ndmpstat reports the aggregate numbers for all tapes and disks. OPERANDS The following operands are supported: count Specifies the number of times that the statistics are repeated. interval Specifies the last number of seconds over which ndmpstat summarizes activity. This number of seconds repeats forever. EXAMPLES Example 1 Using ndmpstat The following command displays a summary of what NDMP daemon is doing every five seconds. example% ndmpstat 5 wthr ops file disk tape bytes perf prcnt r w bk rs rd wr rd wr rd wr rd wr bk rs dsk tpe idl 1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20 1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20 1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20 1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20 ^C example% The fields of ndmpstat's display are wthr Report the number of worker threads in each of the four following states: r the number of worker threads running w the number of blocked worker threads that are waiting for resources I/O, paging, and so forth ops Report the number of backup/restore operations currently running: bk the number of backups operations currently running rs the number of restores operations currently running file Report on usage of filesystem rd the number of file read operations wr the number of file write operations disk Report the number of disk operations per interval. rd the number of disk blocks being read wr the number of disk blocks being written tape Report the number of tape operations per interval. rd the number of tape blocks being read wr the number of tape blocks being written bytes the number of bytes transfered in general. This is the aggregate value of both tapes and disk. The number is in kilobytes. rd the number of kilobytes being read wr the number of kilobytes being written perf This is a rough estimate of performance of the backup/restore operation in megabytes per second. bk backup performance rs restore performance prcnt Give the breakdown of percentage usage of worker time. dsk disk IO time tpe tape IO time idl idle time ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWndmpu | |_____________________________|_____________________________| | Interface Stability | See below. | |_____________________________|_____________________________| Invocation is evolving. Human readable output is unstable. SEE ALSO ndmpd(1), ndmpadm(1M), iostat(1M), mpstat(1M) NOTES Performance numbers are not accuarate and rounded up at MB/s boundry.