snippetbashTip
aa-status — List currently loaded AppArmor modules. See also: `aa-complain`, `aa-disable`, `aa-enforce`. More in
Viewed 0 times
commandapparmormodulesloadedaa-statusclicurrentlylist
linux
Problem
How to use the
aa-status command: List currently loaded AppArmor modules. See also: aa-complain, aa-disable, aa-enforce. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-status.8>.Solution
aa-status — List currently loaded AppArmor modules. See also: aa-complain, aa-disable, aa-enforce. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-status.8>.Check status:
sudo aa-statusDisplay status in JSON format:
sudo aa-status --jsonDisplay status in pretty JSON format:
sudo aa-status --pretty-jsonDisplay the number of loaded policies:
sudo aa-status --profiledDisplay the number of loaded enforicing policies:
sudo aa-status --enforcedDisplay the number of loaded non-enforcing policies:
sudo aa-status --complainingDisplay the number of loaded enforcing policies that kill tasks:
sudo aa-status --killCode Snippets
Check status
sudo aa-statusDisplay status in JSON format
sudo aa-status --jsonDisplay status in pretty JSON format
sudo aa-status --pretty-jsonDisplay the number of loaded policies
sudo aa-status --profiledDisplay the number of loaded enforicing policies
sudo aa-status --enforcedContext
tldr-pages: linux/aa-status
Revisions (0)
No revisions yet.