AA-SHOW-USAGE(8)
π AA-SHOW-USAGE(8) π
okay bestie, welcome to the AppArmor girlie corner of section 8 of the manual, and today's main character is aa-show-usage π
πΈ NAME πΈ
aa-show-usage β bestie, it literally checks which profiles are used π
β¨ SYNOPSIS β¨
aa-show-usage [option]
π¦ DESCRIPTION π¦
so, aa-show-usage will display data on the usage of the profiles of the system. that's it, that's the vibe. it pulls up the receipts on your profiles and tells you which ones are actually out there living their lives, no cap π«Ά
π OPTIONS π
aa-show-usage accepts the following arguments:
-s,--show-type {all,used,unused}β picks the type of profiles to show. the valid choices areall,usedandunused, and yes you gotta pick from those, it's giving very specific menu energy π-j,--jsonβ output in JSON. for the girlies who pipe things into other things π₯-d,--dirβ path to profiles--show-matching-pathβ shows the path of a file matching the profile. heads up tho: only the first matching path of an executable is shown, not the whole list. so don't come for it when it shows exactly one β¨
π FILTERING OPTIONS π
aa-show-usage accepts the following filters to reduce the output of information to only those entries that will match the filter. ngl this is the part that makes the output chef's kiss instead of a wall of text. filters use Python's regular expression syntax β so bring your regex brain, bestie π§
--filter.flags FLAGSβ filter by flags--filter.profile_name PROFILE_NAMEβ filter by profile name--filter.profile_attach PROFILE_ATTACHβ filter by profile attachment (i.e. by path of the executable to which this profile applies)--filter.profile_path PROFILE_PATHβ filter by profile path
π EXAMPLES π
show both the list of used and unused profiles in your system. iconic, no args, she just knows:
$ aa-show-usage
show the list of unconfined profiles currently used by your system:
$ aa-show-usage --show-type=used --filter.flags=unconfined
π BUGS π
aa-show-usageneeds to be able to read profiles to tell whether they are used in practice. so if it can't read them, bestie, it simply cannot tell you. tragic but true πaa-show-usagewill only report directly used profiles. profiles used via profile transitions, systemd'sAppArmorProfile=, or API call such asaa-execare not shown as used. so like, don't @ it, it's not being shady on purpose π- If you find any additional bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues>. go off, file that issue, the maintainers wanna hear it π
π SEE ALSO π
and that's the whole page, periodt. this lil manual is from AppArmor 6.0.0~alpha1, dated 2026-10-05 β ty for reading, mwah ππ
π¦ where this page comes from
- ubuntu stonking: apparmor-utils 6.0.0~alpha1-0ubuntu4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms