list_events

Purpose:

List create and attach information about events in the system. Output of this program will be printed to the screen.

Enter:

list_events [-e event_id] [-E event_name] [-p process_id] [-P program_name]

Where:

-e event_id

Optional. Specify the event id of the event to display information about.

-E event_name

Optional. Specify the event name of the event to display information about.

-p process_id

Optional. Specify the process id of the program to see what events have been created or attached by this process

-P program_name

Optional. Specify the program name to see what events have been created or attached by this program. If multiple instances of the specified program name exists, information will be shown for all instances.

Example:

list_events
The above command will produce two lists of data. One list displays output of all processes and the events created by each process. Another list display output of all processes and the events attached to each process.

list_events -e 33554448
The above command will list the process that created and is attached to the event with event id – 33554448

list_events -E delta_flush
The above command will list the process that created and is attached to the delta_flush event

list_events -E advance_mode
The above command will list the process that created and is attached to the advance_mode event. The output will not contain the actual process that created this event due to the process no longer running.

list_events -p 2713641
The above command will list the events that have been created and are attached to the program with the process id = 2713641

list_events -P gp_test
The above command will list the events that have been created and are attached to the gp_test program. If multiple gp_test programs are running, the created and attached events will be displayed for each running instance of gp_test. Each instance of gp_test will be uniquely identified with the corresponding process id.

Notes:

Up to 7000 events can be listed in the output.

Sometimes the output for a process does not contain the process name. This is due to the process no longer existing. For instance, if specifying an event named advance_mode as an option, the process name will not be shown because the sys_start program created the event. sys_start is a program that no longer exists after first running.

See Also: