gennames Command

Purpose

Gathers all the information necessary to run the filemon and netpmon commands in off-line mode.

Syntax

gennames[-f ]

Description

The gennames command gathers name to address mapping information necessary for the filemon and netpmon commands to work in off-line mode. The information gathered includes:

  • the list of all the loaded kernel extension, similar to what the genkex command reports,
  • the list of all the loaded shared libraries, similar to what the genkld command reports
  • the list of all the loaded processes, similar to what the genld command reports
  • for /unix and all kernel extensions and libraries, the output of the stripnm -z command is collected

Flags

Item Description
-f Collects the device information for physical and logical volumes. It also prints out the virtual file system information used by offline filemon.

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 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

To collect information needed for the filemon command in off-line mode, type:

gennames -f > gen.out