PRIMEQUEST 1000 Series Tool Reference
CHAPTER 4 PSA CLI (Command Line Interface) Operations
4.4
Command for Collecting PSA Data for Investigation (getopsa)
The getopsa command batch-writes data for investigation, such as the following PSA failure data, to a single
compressed file:
- Installation status of application packages
- Files and modules
- Configuration files
- Internal logs
- Trace files
Remarks
The user must have root (Linux) or Administrator (Windows) privileges to execute this command. In Windows, if
an operating system function (access control function) is used to execute the command with privileges other than
Administrator privileges, the end status is undefined.
(1) Syntax
For output_filename, specify the full path of the destination file to which to write the compressed data for
investigation.
- In Linux or VMware
/opt/FJSVpsa/sh/getopsa {output_filename}
- In Windows
getopsa output_filename
(2) Options
None
(3) Usage example
- In Linux
To write data for investigation to the /tmp/dump/psa_dump file
# /opt/FJSVpsa/sh/getopsa
- In Windows
To write data for investigation to the C:\temp\dump\psa_dump file
> getopsa C:\temp\dump\psa_dump
(4) End status
0: Normal end
>0: Abnormal end
/tmp/dump/psa_dump
351
C122-E110-10EN