Changes and displays the ProbeVue dynamic tracing parameters and the ProbeVue sessions.
probevctrl [ -c attribute = value ] [ -d sessionID = value ] [ -l ] [ -n attribute = value ] [ -p ] [ -u user-list ] [ -t ]
The probevctrl command changes and displays the ProbeVue dynamic tracing parameters, the per-processor trace buffer size, the consumed pinned memory, the user owning the session, the identifier of the process that started the session, and the information on whether the session has kernel probes for the ProbeVue sessions.
Sid | Pid | Uid | Buffer size in bytes | Consumed memory in bytes | Kernel Probes |
---|---|---|---|---|---|
<sid> | <pid> | <uid> | <bufsize> | <memory> | Yes/No |
By default, the ProbeVue is enabled. Attempt to disable the ProbeVue when the ProbeVue sessions are active will fail.
Item | Description |
---|---|
-c | Specifies non-user ProbeVue parameters. Arguments to this
flag must be separated by commas or enclosed in double quotation marks
and separated by commas or spaces. If either the -p or the -t flag
is not specified with this flag, new values will be made effective
both in the present boot and next boot sessions. The valid attribute-value pairs
are as follows:
|
-d sessionId | Displays the list of probes enabled for the specified session. When you specify all as the session ID, then the probes for all the ProbeVue sessions that can be viewed by the user is displayed. A list of ProbeVue sessions and the associated session ID can be obtained using the probevctrl command. |
-l | Lists the present value of the ProbeVue configuration parameters. If the -p or the -t flag is not specified, parameter values for the present boot session are displayed. |
-n | Specifies the configurable parameters for regular users. Arguments
to this option must be separated by commas or enclosed in double quotation
marks and separated by commas or spaces. If either the -p or
the -t flag is not specified with this flag, new values will
be made effective both in the present boot and next boot sessions.
The valid attribute-value pairs are as follows:
|
-p | Specifies that the default values for the next boot must be updated and displayed. |
-u | Specifies comma-separated user list whose ProbeVue sessions must be listed. If the -u flag is not specified, all of the ProbeVue sessions that the user can view are displayed. A user with the aix.ras.probevue.manage authorization can view all of the ProbeVue sessions in the system. Users without this authorization can view only the ProbeVue sessions they own. |
-t | Specifies that the default values for the present boot session must be updated and displayed. |
probevctrl -c trace=on,default_buffer_size=8 –p
or probevctrl -c "trace=on default_buffer_size=8" -p
probevctrl –l –p
probevctrl –l –t
probevctrl
probevctrl –u guest
probevctrl –n pin_mem_dvar_pc = 75