Return codes, Sp set logfile subcommand, Format – Sun Microsystems FIRE V40Z User Manual

Page 205

Advertising
background image

Appendix H

Service Processor Commands

183

Return Codes

TABLE H-37

lists the return codes for this subcommand.

SP Set Logfile Subcommand

Description: Configures the event log file that is the destination of all Event Manager
events and notices.

Format

Command format:

sp set logfile [ {-f | --file} FILENAME] [ {-s | --size} SIZE]

You must specify the name of the file to which the Event Manager sends logs. When
setting the log file using this command, specify only the name of the log file without
the path. File names cannot contain the forward slash character (/), backward
relative-path reference (..) or the less-than symbol (<).

TABLE H-38

lists the arguments for this subcommand.

TABLE H-37

Return Codes for Subcommand sp get logfile

Return Code

ID

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_NoMemory

8

Insufficient memory.

TABLE H-38

Arguments for Subcommand sp set logfile

Argument

Description

{-f | --file}

Specifies the name of the file within the directory to which the Event
Manager sends logs.

{-s | --size}

Specifies the size of the file in megabytes. A minimum size of 0.01 MB
is required for this log file.

Advertising
This manual is related to the following products: