可以使用 onstat -g sym 命令显示 oninit 实用程序符号表的信息。
图: onstat -g sym 命令输出
以下示例显示了该输出的前几行:
Table for oninit has 23378 entries Initial value for -base-: 0x0 0x3451e0 _start 0x345300 .ld_int 0x345348 .ld_llong 0x3453dc .ld_float 0x345428 .ld_double 0x3454c4 .st_int 0x3454fc .st_llong 0x34556c .st_float 0x3455c0 .st_double 0x34565c .st_float_foreff 0x345694 .st_double_foreff 0x345718 main 0x34c2ac get_cfgfile 0x34c2fc is_server_alias
onstat -g sym 命令显示 oninit 实用程序中符号的相对内存地址和名称(函数和变量)。