Sets and gets group properties
TV::groupaction[object-id][ other-args]
The action to perform, as follows:
Displays the subcommands that you can use. The CLI responds by displaying these four action subcommands. Do not use additional arguments with this subcommand.
Gets the values of one or more group properties. The other-argsargument can include one or more property names. The CLI returns the values for these properties in a list in the same order as you entered the property names.
If you use the -all option instead of object-id, the CLI returns a list containing one (sublist) element for each group.
Displays the properties that the CLI can access. Do not use additional arguments with this option.
Sets the values of one or more properties. The other-args argument is a sequence of property name and value pairs.
The group ID. If you use the -all option, TotalView executes this operation on all groups in the current focus.
Arguments required by the get and set subcommands.
The TV::group command lets you examine and set the following group properties and states:
The number of shared action points planted in the group. This is only valid for share groups and shared action points that are associated with the share group containing the process, rather than with the process itself.
When you obtain the results of this read-only value, the number may not look correct as this number also includes “magic breakpoints”. These are breakpoints that TotalView sets behind the scene; they are not usually visible. In addition, these magic breakpoints seldom appear when you use the dactions command.
The absolute file name of the program being debugged. If you had entered a relative name, TotalView finds this absolute name.
The number of members in a group.
Like canonical_execution_name, this is the absolute file name of the program being debugged. It differs in that it contains symbolic links and the like that exist for the program.
The ID of the object.
The type of the group’s members, either process or thread.
A list of all possible values for the member_type -property. For all groups, this is a two-item list with the first being the number of proess groups and the second being the number of thread groups. In many ways, this is related to the type_values property, which is a list values the type property may take.
A list of a group’s processes or threads.
The group’s type. Possible values are control, lockstep, share, user, and workers.
A list of all possible values for the type property.
TV::group get 1 count
Returns the number of objects in group 1.
Related Topics