subscribe iconSubscribe to this information

postprocesssvc command

Purpose

Performs actions on agents after the agent is started by the startsvc command.

Syntax

postprocesssvc AgentName { -attr Attribute[=Value] ... | -ls }

Description

The postprocesssvc command performs actions for an agent based on the set of attributes specified for the command.

perfmgr

The performance manager agent (perfmgr) collects data about system performance and sends it to IBM® support by means of the Electronic Service Agent™ (ESA) agent for processing. When the agent is started, it runs a set of utilities to collect metrics to measure performance. This command generates a file from the list of available individual performance data files that the ESA agent can understand.

The list of available attributes for this agent are D, T, S, A, and V.

Flags

-attr Lists actionable agent options, which can be any of the following attributes:
D
Generates the stats.send file from the specified date. A value of 0 (zero) specifies to generate data.send from all the available data files.
T
Enables or Disables the data transmission.
S
Prints the absolute path to the stats.send file.
A
Lists all the stats files in data directory, except the stats.send file.
V
Prints the version.
-ls Lists the attributes that can be processed.

Exit Status

0 The command completed successfully
>0 An error occurred.

Examples

  1. To list the available attributes for the perfmgr agent, type:
    postprocesssvc perfmgr -ls
  2. To generate the stats.send file from the data available on 06/14/2006, type:
    postprocesssvc perfmgr -attr D=20090614
  3. To generate the stats.send file from the data available, type:
    postprocesssvc perfmgr -attr D=0
  4. To list the all the stats files in the data directory, type:
    postprocesssvc perfmgr -attr A
  5. To print the absolute path to the stats.send file, type:
    postprocesssvc perfmgr -attr S
  6. To print the version, type:
    postprocesssvc perfmgr -attr V

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009