part command
Purpose
Provides performance reports with suggestions for making configurational changes to the environment, and helps to identify areas for further investigation. The reports are based on the key performance metrics of various partition resources that are collected from the Virtual I/O Server (VIOS) environment.
Description
You can use the part command to start the VIOS Performance Advisor tool.
By using the VIOS command-line interface, run the part command to start the VIOS Performance Advisor tool.
- On-demand monitoring mode
- Postprocessing mode
When you start the VIOS Performance Advisor tool in the on-demand monitoring mode, provide the duration for which the tool must monitor the system in minutes. The duration that you provide must be 10 - 60 minutes at the end of which the tool generates the reports.
When you start the VIOS Performance Advisor tool in the postprocessing mode, provide the command with an .nmon file as input (-f FILENAME). If the recordings do not have all the required data for the advisory tool to produce the reports, it adds Insufficient Data messages to the relevant fields.
- Transfer the generated .tar file to a server that has the browser and .tar file extractor installed.
- Extract the .tar file.
- Open the vios_advisor.xml file from the extracted directory in a browser.
The vios_advisor.xml file structure is based on an XML schema definition (XSD) located in the /usr/perf/analysis/vios_advisor.xsd file.
Flags
Flag name | Description |
---|---|
-? | Prints the usage. |
-f filename | Specifies the nmon recording to be analyzed
by the part command and generates advisory reports
based on the recording. Note: The options -i and -f are
mutually exclusive.
|
-help | Prints the usage. |
-i Interval | Specifies the duration for which the part command
must monitor the VIOS and
generate advisories based on it. Note: The options -i and -f are
mutually exclusive.
|
-t level | Specifies the trace level, which is either 1 or 2 for basic, detailed tracing, and logging facility respectively. |
Exit Status
This command returns the following exit values:
Return code | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
Examples
- To monitor the system for 30 minutes and generate an advisory
report based on it, type the command as follows:
The system displays the output as follows:part -i 30
Reports are successfully generated and placed in ic43_120408_18_52_42.tar
- To generate an advisory report based on the data available with
existing .nmon file recordings, type the command as follows:
The system displays the following output:part -f ic43_120206_1511.nmon
Reports are successfully generated and placed in ic43_120206_1511.tar
- To monitor the system for 30 minutes with maximum tracing enabled
and to generate an advisory report based on it, type the command as
follows:
The system displays the following output:part -i 30 -t 2
Reports are successfully generated and placed in ic43_120408_18_52_42.tar
- To get the usage for the part command, type
the command as follows:
The system displays the following output:part -help
Reports are successfully generated and placed in ic43_120408_18_52_42.tar