29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mmpmon Comm<strong>and</strong><br />

Name<br />

mmpmon – Manages performance monitoring <strong>and</strong> displays performance information.<br />

Synopsis<br />

mmpmon [-i Comm<strong>and</strong>File] [-d IntegerDelayValue] [-p] [-r IntegerRepeatValue] [-s] [-t<br />

IntegerTimeoutValue]<br />

Description<br />

Before attempting to use mmpmon, IBM suggests that you review this comm<strong>and</strong> entry, then read the<br />

entire chapter, Monitoring <strong>GPFS</strong> I/O performance with the mmpmon comm<strong>and</strong> in General Parallel File<br />

System: Advanced <strong>Administration</strong> Guide.<br />

Use the mmpmon comm<strong>and</strong> to manage <strong>GPFS</strong> performance monitoring functions <strong>and</strong> display performance<br />

monitoring data. The mmpmon comm<strong>and</strong> reads requests from an input file or st<strong>and</strong>ard input (stdin), <strong>and</strong><br />

writes responses to st<strong>and</strong>ard output (stdout). Error messages go to st<strong>and</strong>ard error (stderr). Prompts, if not<br />

suppressed, go to stderr.<br />

When running mmpmon in such a way that it continually reads input from a pipe (the driving script or<br />

application never intends to send an end-of-file to mmpmon), set the -r option value to 1 (or use the<br />

default value of 1) to prevent mmpmon from caching the input records. This avoids unnecessary memory<br />

consumption.<br />

Results<br />

The performance monitoring request is sent to the <strong>GPFS</strong> daemon running on the same node that is<br />

running the mmpmon comm<strong>and</strong>.<br />

All results from the request are written to stdout.<br />

There are two output formats:<br />

v Human readable, intended for direct viewing.<br />

In this format, the results are keywords that describe the value presented, followed by the value. For<br />

example:<br />

disks: 2<br />

v Machine readable, an easily parsed format intended for further analysis by scripts or applications.<br />

In this format, the results are strings with values presented as keyword/value pairs. The keywords are<br />

delimited by underscores (_) <strong>and</strong> blanks to make them easier to locate.<br />

For details on how to interpret the mmpmon comm<strong>and</strong> results, see Monitoring <strong>GPFS</strong> I/O performance<br />

with the mmpmon comm<strong>and</strong> in General Parallel File System: Advanced <strong>Administration</strong> Guide.<br />

Parameters<br />

-i Comm<strong>and</strong>File<br />

The input file contains mmpmon comm<strong>and</strong> requests, one per line. Use of the -i flag<br />

implies use of the -s flag. For interactive use, just omit the -i flag. In this case, the input is<br />

then read from stdin, allowing mmpmon to take keyboard input or output piped from a<br />

user script or application program.<br />

Leading blanks in the input file are ignored. A line beginning with a pound sign (#) is<br />

treated as a comment. Leading blanks in a line whose first non-blank character is a pound<br />

sign (#) are ignored.<br />

228 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!