Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wbemlogviewer(1m) [redhat man page]

wbemlogviewer(1M)														 wbemlogviewer(1M)

NAME
wbemlogviewer - start WBEM Log Viewer SYNOPSIS
/usr/sadm/bin/wbemlogviewer The wbemlogviewer utility starts the WBEM Log Viewer graphical user interface, which enables administrators to view and maintain log records created by WBEM clients and providers. The WBEM Log Viewer displays a Login dialog box. You must log in as root or a user with write access to the rootcimv2 namespace to view and maintain log files. Namespaces are described in wbemadmin(1M). Log events can have three severity levels. o Errors o Warnings o Informational The WBEM log file is created in the /var/sadm/wbem/log directory, with the name wbem_log. The first time the log file is backed up, it is renamed wbem_log.1, and a new wbem_log file is created. Each succeeding time the wbem_log file is backed up, the file extension number of each backup log file is increased by 1, and the oldest backup log file is removed if the limit, which in turn is specified in the log ser- vice settings, on the number of logfiles is exceeded. Older backup files have higher file extension numbers than more recent backup files. The log file is renamed with a .1 file extension and saved when one of the following two conditions occur: o The current file reaches the specified file size limit. o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file. o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file. o A user chooses Action->Back Up Now in the Log Viewer application. Help is displayed in the left panel of each dialog box. Context help is not displayed in the main Log Viewer window. The WBEM Log Viewer is not the tool for a distributed environment. It is used for local administration. The WBEM Log Viewer allows you to perform the following tasks: View the logs Set properties of log fiClick Action->Log File Settings to specify log file parameters and the log file directory. Back up a log file Click Action->Back Up Now to back up and close the current log file and start a new log file. Open historical log fileClick Action->Open Log File to open a backed-up log file. Delete an old log file Open the file and then click Action->Delete Log File. You can only delete backed-up log files. View log record details Double-click a log entry or click View->Log Entry Details to display the details of a log record. Sort the logs Click View->Sort By to sort displayed entries. You can also click any column heading to sort the list. By default, the log entries are displayed in reverse chronological order (new logs first). EXIT STATUS
The wbemlogviewer utility terminates with exit status 0. /var/sadm/wbem/log/wbem_log WBEM log file See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWwbcor | +-----------------------------+-----------------------------+ wbemadmin(1M), init.wbem(1M), mofcomp(1M), attributes(5) 3 Jan 2000 wbemlogviewer(1M)

Check Out this Related Man Page

smlog(1M)						  System Administration Commands						 smlog(1M)

NAME
smlog - manage and view WBEM log files SYNOPSIS
/usr/sadm/bin/smlog subcommand [auth_args] -- [subcommand_args] DESCRIPTION
The smlog command manages WBEM log files and allows a user to view WBEM log file records. Subcommands The smlog command supports the following subcommands: backup Backs up the entries in the current WBEM log file. The backup command then creates a new log file and makes this log file the current log file. delete Deletes an existing (backed up) WBEM log file. list Lists the names of all the WBEM log files available for viewing. view Allows the user to view the contents of the specified WBEM log file. OPTIONS
The smlog authentication arguments, auth_args, are derived from the smc(1M) arg set and are the same regardless of which subcommand you use. The smlog command requires the Solaris Management Console to be initialized for the command to succeed (see smc(1M)). After rebooting the Solaris Management Console server, the first Solaris Management Console connection might time out, so you might need to retry the com- mand. The subcommand-specific options, subcommand_args, must come after the auth_args and must be separated from them by the -- option. auth_args The valid auth_args are -D, -H, -l, -p, -r, and -u; they are all optional. If no auth_args are specified, certain defaults will be assumed and the user may be prompted for additional information, such as a password for authentication purposes. These letter options can also be specified by their equivalent option words preceded by a double dash. For example, you can use either -D or --domain with the domain argu- ment. -D | --domain domain Specifies the default domain that you want to manage. smlog accepts only file for this option. file is also the default value. The file default domain means that changes are local to the server. Toolboxes can change the domain on a tool-by-tool basis; this option specifies the domain for all other tools. -H | --hostname host_name:port Specifies the host_name and port to which you want to connect. If you do not specify a port, the system connects to the default port, 898. If you do not specify host_name:port, the Solaris Management Console connects to the local host on port 898. You may still have to choose a toolbox to load into the console. To override this behavior, use the smc -B option (see smc(1M)), or set your console prefer- ences to load a "home toolbox" by default. -l | --rolepassword role_password Specifies the password for the role_name. If you specify a role_name but do not specify a role_password, the system prompts you to sup- ply a role_password. Passwords specified on the command line can be seen by any user on the system, hence this option is considered insecure. -p | --password password Specifies the password for the user_name. If you do not specify a password, the system prompts you for one. Passwords specified on the command line can be seen by any user on the system, hence this option is considered insecure. -r | --rolename role_name Specifies a role name for authentication. If you do not specify this option, no role is assumed. -u | --username user_name Specifies the user name for authentication. If you do not specify this option, the user identity running the console process is assumed. -- This option is required and must always follow the preceding options. If you do not enter the preceding options, you must still enter the -- option. subcommand_args Descriptions and other arg options that contain white spaces must be enclosed in double quotes. The backup subcommand supports the following subcommand_args: -h Displays the command's usage statement. This subcommand_arg is optional. The delete subcommand supports the following subcommand_args -h Displays the command's usage statement. This subcommand_arg is optional. -n name Specifies the name of the log file you want to delete. The list subcommand supports the following subcommand_args: -h Displays the command's usage statement. This subcommand_arg is optional. The view subcommand supports the following subcommand_args: -h Displays the command's usage statement. This subcommand_arg is optional. -n name Specifies the name of the log file you want to view. -v Displays the data in verbose format. This subcommand_arg is optional. EXAMPLES
Example 1: Listing WBEM Log Files The following command lists all available WBEM log files: ./smlog list -H myhost -p mypasswd -u root -- Log.01/03/2001.14:38:29 Log.01/04/2001.16:34:59 Log.01/08/2001.14:13:33 Log.01/11/2001.18:39:53 Log.01/12/2001.10:31:31 Log.12/21/2000.17:41:11 Example 2: Displaying a WBEM Log File The following command displays the contents of a log file: ./smlog view -H myhost -p mypasswd -u root -- -n Log.01/04/2001.16:34:59 Date and Time Client User Source Severity Cate gory Summary 1/5/01 5:22:47 PM hostname1 root Solaris_OsService Informational Appl ication log No services found. 1/5/01 5:21:46 PM hostname1 root Solaris_OsService Informational Appl ication log No services found. The smlog output wraps when it exceeds 80 characters. ENVIRONMENT VARIABLES
See environ(5) for a description of the JAVA_HOME environment variable, which affects the execution of the smlog command. If this environ- ment variable is not specified, the /usr/java1.2 location is used. See smc(1M). EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 Invalid command syntax. A usage message displays. 2 An error occurred while executing the command. An error message displays. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmga | +-----------------------------+-----------------------------+ SEE ALSO
smc(1M), attributes(5), environ(5) SunOS 5.10 16 Feb 2001 smlog(1M)
Man Page