mi_integer mi_vpinfo_vpid(void)
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
No | Yes |
The mi_vpinfo_vpid( ) function returns the VP identifier for the current VP. The current VP is the VP on which the current UDR is running. The VP identifier is a unique integer that the database server assigns to each active VP. The output of the onstat -g glo command displays the VP identifier for a VP in its first output column.
After you have a VP identifier, you can use the following DataBlade API functions to obtain additional information about the VP environment.
See also the descriptions of mi_vpinfo_classid( ) and mi_vpinfo_isnoyield( ).
For information about how to obtain information on the VP environment, see the IBM Informix: DataBlade API Programmer's Guide.