objid
Abstract
Displays the object ID of the specified object.
Syntax
objid <objref>
| Argument | Type | Description |
|---|---|---|
<objref> |
integer or string | numeric object ID or hierarchical name of the object-of-interest Although this argument will accept an object ID, an hierarchical name is almost always passed to this argument, since name-to-ID conversion is the purpose of the command. |
Details
The object-of-interest is specified by an hierarchical name, which consists of several components separated by dots (hierarchical object names are described in Common Arguments. This command is useful to determine the object ID of an object with a known hierarchical name. Many ODB commands support an object reference argument, which accepts either an hierarchical name or an object ID. The object ID option is more convenient for frequent references to the same object. An alias for an earlier version of this command is supported (modid).
Example
ODB> objid pksw2.node0
object ID: 9
ODB> objid pksw2.node0.xmt
object ID: 124
ODB> objprint 124
______________________________________________________________
Attributes
object type : pt-pt transmitter
object ID : 124
parent object ID : 9
name : xmt
priority : 0
super priority : disabled
channel count : 1
link objid : 15
remote rx objid : 98
______________________________________________________________
Channel object ids and tx queue lengths
channel 0 : object id (125) , queue length (0 (pks))