OS Manuals

/usr/bin/aa-genprof

From apparmor-utils 5.0.2-r3 (enterprise-packages), captured 2026-11-08 by running aa-genprof --help (exit 0). permalink

usage: aa-genprof [-h] [-d DIR] [-f FILE] [-j] [--no-abstraction] [-o OUTPUT_DIR] program

Generate profile for the given program

positional arguments:
  program               name of program to profile

options:
  -h, --help            show this help message and exit
  -d, --dir DIR         path to profiles
  -f, --file FILE       path to logfile
  -j, --json            Input and Output in JSON
  --no-abstraction      Do not use any abstractions in profiles
  -o, --output-dir OUTPUT_DIR
                        Output Directory for profiles
Options (6)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-d, --dir DIRpath to profileshelp + man
-f, --file FILEpath to logfilehelp + man
-j, --jsonInput and Output in JSONhelp
--no-abstractionDo not use any abstractions in profileshelp
-o, --output-dir OUTPUT_DIROutput Directory for profileshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.