dll
Manages shared libraries
Format 
TV::dll action [ dll-id-list |-all ] [ other-args ]
Arguments 
action
The action to perform, as follows:
close
Dynamically unloads the shared object libraries that were dynamically loaded by the ddlopen commands corresponding to the list of dll-ids.
If you use the -all option, TotalView closes all libraries that it opened.
commands
Displays available subcommands. The CLI responds by displaying these four action subcommands. There are no arguments to this subcommand.
get
Retrieves the values of one or more TV::dll properties. The other-args argument can include one or more property names.
If you use the -all option as the dll-id-list, the CLI returns a list containing one (sublist) element for each object.
properties
Lists the TV::dll properties that TotalView can access. This subcommand takes no arguments.
resolution_urgency_values
Returns a list of values that this property can take. This list is operating-system specific, but always includes {lazy now}.
symbol_availability_values
Returns a list of values that this property can take. This list is operating system specific, but always includes {lazy now}.
dll-id-list
A list of one or more dll-ids. These are the IDs returned by the ddlopen command.
-all
Performs the specified action for all libraries opened with the ddlopen command.
Description 
The TV::dll command either closes shared libraries that were dynamically loaded with the ddlopen command or obtains information about loaded shared libraries.
Examples 
TV::dll close 1
Closes the first shared library that you opened.
 
d1.<> ddlopen /usr/lib64/libnuma.so
Process 1 has loaded the library /usr/lib64/libnuma.so
1
d1.<> ddlopen /usr/lib64/libz.so
Process 1 has loaded the library /usr/lib64/libz.so
2
d1.<> TV::dll get -all id
1 2
d1.<> TV::dll get 2 name
/usr/lib64/libz.so
First opens two shared libraries, then retrieves some properties: first, the id for both; then the name of the second library.
Related Topics