esacli service
Use the esacli service command to immediately send inventory to IBM®.
Synopsis
esacli service [-d]
esacli service {–t type} {-c}
Description
The esacli service command immediately sends inventory information to IBM when invoked with the --type and collect options. When invoked with only display option, the current settings for inventory collection are displayed.
Options
- -d | --display
- Specifies the setting values are to be displayed.
- -c | --collect
- Triggers an inventory collection.
- -t | --type type of service information
- Specifies the type of service information that is collected. Options are hardware, software, and sysconfig or "system configuration".
Exit status
The following table contains the codes that are returned by this command.0
: The operation completed successfully.1
: IBM Electronic Service Agent instance is not running.10
: Unsupported option was specified. Option: {option}.14
: A required option was not provided. Option: {option}.18
: An option was set more than once. Option: {option}.19
: An option value was not provided when required. Option: {option}.30
: The IBM Electronic Service Agent instance is currently suspended.42
: Invalid value {value} specified for the {option} option.49
: The {collector} collector did not start. Reason: {Reason}
Example
- List service information
esacli service –t Hardware -c The hardware collector has been started, and will complete in approximately 2-15 minutes. Please check the activity log to view the results.