genld Command

Purpose

The genld command collects the list of all processes currently running on the system, and optionally reports the list of loaded objects corresponding to each process.

Syntax

genld [ -h | -l [ -d ] ] [ -a Area ]

Description

For each process currently running, the genld command prints a report consisting of the process ID and name, optionally followed by the list of objects loaded for that process. The object's address and path name are displayed. Members of libraries are shown between brackets. For example, /usr/lib/libc.a[shr.o] means shr.o is a loaded member of the libc.a library.

Note: Unprivileged users can see loaded objects only for their processes.

Flags

Item Description
-a Area Lists only processes using the shared library area specified by the Area parameter.
-d Shows the address and size of the Data section, in addition to the address and size of the Text section. This option has no effect without the -l flag.
-h Displays the usage statement.
-l Reports the lists of loaded objects for each process running on the system.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

To obtain the list of loaded objects for each running process, enter:

genld -l