![]() |
![]() |
[ Previous Page | Next Page | Table of Contents | Index ]
Tivoli Management Framework Reference Manual, 3.7.1, March, 2001
Lists the status of current and recent object calls.
Syntax
odstat [?] [-acdhlsv] [-o baseoid] [-p port_no]
(UNIX only) odstat [?] [-acdhlsv] -k dbdir [pid]
Description
The odstat command lists the status of current and recent object calls for the specified object dispatcher. This command can list object calls from a running dispatcher.
The first form of the odstat command collects the object dispatcher history by invoking a method. You can specify a remote object dispatcher if desired.
The second form of the odstat command collects information by sending a signal to the object dispatcher. The -k option specifies the database directory; the object dispatcher dumps its information to a temporary file in this directory. The pid option specifies the object dispatcher to send a signal to. The second form of the odstat command is useful when communication is disrupted for some reason, but is more specific than the first form. The second form can only send signals to local processes, and because the object dispatcher is owned by Administrator or root, you can only run this form if you are logged in as Administrator or root.
The odstat command returns its output in the following columns:
The method type flags are as follows:
The states of method threads are as follows:
Error types are as follows:
The following is an example of a method listed in the odstat output:
1242184237.1.516#TMF_SysAdmin::InstanceManager# _get_interfaces
For more information about odstat command output and other problem determination commands, see the Tivoli Management Framework Maintenance and Troubleshooting Guide.
Options
If no options are specified, the odstat command's default is odstat -c -h -l -o 0.0.0.
Authorization
You must have the super, senior, admin, or user role to run this command. You must be Administrator or root to run the -k option.
Examples
odstat
The output shows the methods currently running:
n_active = 5 n_free = 195 tid type ptid State StdO StdE Start Err Method 83 O+bhdoq run 0 0 Sat16:00 \ 200003.1.163#TMF_Scheduler::scheduler# start
In the previous section of the odstat output method thread, ID 83 is a "one way" invocation that invoked a helperless, queueing, daemon, per-object method implementation. It is currently in a run state, and started at 16:00 on Saturday. The object ID is 200003.1.163#TMF_Scheduler::scheduler# (the local scheduler object), and the method name is start.
(... output deleted for brevity ...)
---- history ----
855 O+ 1-854 done 11 0 Sun16:16 0.0.0\
get_name_registry\
856 O+hdoq 1-854 done 106 0 Sun16:16 200003.1.26 \
lookup
857 O+hd 1-854 done 6 0 Sun16:16
200003.1.128#TMF_UI::ActiveDesktopList# add_entry
The history line indicates the beginning of methods that have already completed. Methods 855, 856, and 857 are cascaded methods; they were invoked by method 854 on this oserv. (This example uses dispatcher 1.) Method 855 produced 11 bytes of standard output, 856 produced 106 bytes, and 857 produced 6 bytes.
(... more output deleted ...)\ * 918 O+hdoq 1-917 done 488 0 Sun16:27 e=12 200003.1.26 \ lookup
Method 918 produced an error. The asterisk in the first column indicates a possible abnormal condition. The e=12 indicates an exception occurred. The wtrace command can be used to determine more information about the exception.
950 O 1-949 done 0 0 Sun16:28 <batch-mgr>\add_backref_optimized 951 O+hdq 1-949 done 117 0 Sun16:28 \ 200003.1.378#TMF_Install::ProductInfo# add_backref_optimi\ zed
Method thread 950 is a batch-object-call manager. It indicates that there were multiple invocations of the same method on multiple objects at the same time. Line 951 is one of the batched method invocations managed by 950.
* 1029 O+ 1-1026 done 0 0 Sun17:06 UNAUTHORIZED\ 200003.0.0 \ get_principal_roles Root_PI-sluggo
Method 1029 shows a method that ran and failed at the core services level, below the exception facility. In this case, odstat translates the error code to an error name, where possible. Because an exception did not occur, wtrace is not likely to produce additional information about the error code.
wlookup -r ManagedNode -a pokey 200003.2.7#TMF_ManagedNode::Managed_Node# sluggo 200003.1.285#TMF_ManagedNode::Managed_Node# odstat -o 200003.2.7#TMF_ManagedNode::Managed_Node#
See Also