# SP Get Events Subcommand

access: All users

Returns detailed information about all active Service Processor events. By default, event ID, last update, component, severity, and a message are displayed.

Administrators can view detailed information about all the currently active system events and perform various actions related to each event.

You can view this information in the System Events table, which contains a row for each unique active system event, or using this command. Format and types of event information vary slightly between the SM Console and command output. For a list of all possible events and a description of the output, refer to the documentation for your server.

> sp get events [ {-i | --id} <EVENT ID> ] [{-d | --detail} ]
> [{ -v | --verbose}] [{-H | noheader}][{-D | --delim <DELIMITER>}]

Argument | Description
--- | ---
{-i | --id} | Displays only information about this event; otherwise information for all existing events returns.
{-d | --detail} | Displays the history of either one or all events.
{ -v| --verbose} | Displays all columns.
{ -H | --noheader } | Suppresses column headings.
{ -D | --delim } | Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.

Return Codes

Following are the return values for this command:

Code | Numeric Code | Description
--- | --- | ---
NWSE_Success | 0 | Command successfully completed.
NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server.
NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid.
NWSE_NotFound | 5 | The event ID was not found.
NWSE_NoMemory | 8 | Insufficient memory.

Related Topics

System Management Commands

SP Command