Commands |
|
The following table and subsequent sections describe the Log Central commands.
Summary: |
Runs the Host Configuration utility. Run this command before starting Log Central. |
Syntax: |
lc_config [-inifile |
Options and Arguments: |
-inifile
-conffile
-fn
-fs
-h
|
Description: |
This command runs the Log Central Host Configuration utility, which creates the initialization file and the messaging configuration file. For more information, see Chapter 3, "Configuring the Central Host," in the Log Central Configuration Guide. |
Summary: |
Creates a database schema. Run this command before starting Log Central. |
Syntax: |
lc_create_schema [-inifile |
Options and Arguments: |
-inifile
-h
|
Description: |
This command creates the database table definitions that Log Central uses to store messages and message definitions. For a description of these tables, see Appendix E, "Database Schema," in the Log Central Configuration Guide. If an error occurs or if lc_create_schema aborts, run lc_drop_schema to clean up files that may have been created, try to correct the problem, and recreate the schema. |
Summary: |
Drops a database schema. Run this command before starting Log Central. |
Syntax: |
lc_drop_schema [-inifile |
Options and Arguments: |
-inifile
-h
|
Description: |
This command drops the Log Central database schema. If lc_create_schema aborts, you need to call lc_drop_schema before calling lc_create_schema again. Ignore all error messages that lc_drop_schema generates because it may try to drop tables and synonyms that were not created. You might also run lc_drop_schema before reinstalling Log Central. For a description of the database schema, see Appendix E, "Database Schema," in the Log Central Configuration Guide. |
Summary: |
Starts the Log Central Console. |
Syntax: |
lc_launch [-p |
Options and Arguments: |
-p
-h
-n
-fn
-fs
-b
-h
|
Description: |
This command starts the Log Central Console. For information about the Console, see the Log Central Online Help. |
Summary: |
Creates a user in the database. You can run this command while Log Central is running. |
Syntax: |
lc_user_create -u |
Options and Arguments: |
-u
-p
-inifile
-h
|
Description: |
This command creates a new user in the Log Central database. |
Summary: |
Deletes a user from the database. You can run this command while Log Central is running. |
Syntax: |
lc_user_delete -u |
Options and Arguments: |
-u
-p
-inifile
-h
|
Description: |
This command deleted a user from the Log Central database. |
Summary: |
Changes a user's password in the database. You can run this command while Log Central is running. |
Syntax: |
lc_user_modify -u |
Options and Arguments: |
-u
-p
-n
-inifile
-h
|
Description: |
This command changes a user password in the Log Central database. |
Summary: |
Lists all the users in the database. You can run this command while Log Central is running. |
Syntax: |
lc_user_list [-inifile |
Options and Arguments: |
-inifile
-h
|
Description: |
This command lists all the users in the Log Central database. |
Summary: |
Starts a Log Monitor or forwards log files. |
Syntax: |
To start a Log Monitor with predefined mappings:
To start a Log Monitor with mappings in a message mapping file:
To start a Log Monitor with mapping specified on the command line and optional predefined mapping:
To forward log files:
|
Options and Arguments: |
-i
-P
-t
-e
-f
-c
|
-h
For descriptions of the remaining options, see Table 5-2 in Chapter 5, "Creating Log Mappings," in the Log Central Configuration Guide. |
|
Description: |
This command starts a Log Monitor manually. To start log monitors automatically, use the start_messaging command. For information about mapping, see Chapter 5, "Creating Log Mappings," in the Log Central Configuration Guide. Using the LM Predefined MappingLog Central creates temporary log files. There are two abnormal situations where you might need to use Log Monitor to recover the contents of these files:
|
Summary: |
Deletes message definitions from the database. Run this command before starting Log Central. |
Syntax: |
msgdef_delete [-f |
Options and Arguments: |
-f
-inifile
-h
|
Description: |
This command deletes message definitions from the Log Central database. You can also use the subsystem_delete command to delete message definitions. |
Summary: |
Copies message definitions from the database to a text file. You can run this command while Log Central is running. |
Syntax: |
msgdef_export [-f |
Options and Arguments: |
-f
-s
-inifile
-h
|
Description: |
This command copies message definitions from the Log Central database to a text file. |
Summary: |
Loads a message definition file into the database. You can run this command while Log Central is running. |
Syntax: |
msgdef_import [-f |
Options and Arguments: |
-f
-inifile
-h
|
Description: |
This command loads a message definition file into the Log Central database. |
Summary: |
Displays the current intermediate log file. |
Syntax: |
msg_reader [-e] [-n] |
Options and Arguments: |
-e
-n
-h
|
Description: |
This command continuously reads the current intermediate file that the Message Receiver constructs, and writes the file contents to the standard output. |
Summary: |
Generates test messages. |
Syntax: |
msg_test [-i] [-l |
Options and Arguments: |
-i
-l
-n
-s
-t
-h
|
Description: |
This command tests the flow of messages. You can also use this command to print performance data. Use the Message Browser in the Log Central Console to see the test results. For information about the Log Central Console, see Introducing the Log Central Console. |
Summary: |
Checks the syntax of the messaging configuration file or displays information about Log Central. |
Syntax: |
show_config -c [-f |
Options and Arguments: |
-c
-f
-g
-p
-d
-n
-h
|
Description: |
This command checks the syntax of the messaging configuration file or displays information about Log Central. For a description of the messaging configuration file, see Appendix G, "Configuration Files," in the Log Central Configuration Guide. |
Summary: |
Starts the Log Central processes. |
Syntax: |
start_messaging [-f |
Options and Arguments: |
-f
-q
-v
-h
|
Description: |
This command starts the Log Central processes for a Central Collector or a Data Collection Agent. For a Central Collector, start_messaging starts the following processes:
For a Data Collection Agent, start_messaging starts the following processes:
The start_messaging process on a managed node uses the UDP service, which is defined by the BEA_LC_CONF_SERVICE environment variable, to connect to the start_messaging process on the central host. Then the start_messaging process on the central host downloads the local host's messaging configuration. If BEA_LC_CONF_SERVICE is not defined, start_messaging uses the lc_conf service. The Process Monitor monitors the start_messaging process to make sure that it continues to run and restarts it if it dies. The start_messaging process monitors the proc_monitor process and restarts it if it dies. |
Summary: |
Stops the Log Central processes. |
Syntax: |
stop_messaging [-q] [-v] [-h] |
Options and Arguments: |
-q
-v
-h
|
Description: |
This command stops the Log Central processes. |
Summary: |
Creates a subsystem in the database. You can run this command while Log Central is running. |
Syntax: |
subsystem_create -s |
Options and Arguments: |
-s
-d
-inifile
-h
|
Description: |
This command creates a subsystem in the Log Central database. You might want to partition the Log Central database, separating various messages (such as NT events, Oracle messages, BEA Tuxedo messages, and so on) into different categories. Each category represents a resource that generates messages. These resources are called subsystems. The subsystem is one of the unique attributes in a log message. |
Summary: |
Deletes a subsystem from the database. You can run this command while Log Central is running. |
Syntax: |
subsystem_delete -s |
Options and Arguments: |
-s
-inifile
-h
|
Description: |
This command deletes a subsystem from the Log Central database. The command deletes all the message definitions for the subsystem, but does not delete the messages. |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher. |