2025-03-14 21:59:59 -06:00
|
|
|
# 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-status`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display status in JSON format:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --json`
|
|
|
|
|
|
|
|
|
|
- Display status in pretty JSON format:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --pretty-json`
|
|
|
|
|
|
2025-03-14 21:59:59 -06:00
|
|
|
- Display the number of loaded policies:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --profiled`
|
|
|
|
|
|
|
|
|
|
- Display the number of loaded enforicing policies:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --enforced`
|
|
|
|
|
|
|
|
|
|
- Display the number of loaded non-enforcing policies:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --complaining`
|
|
|
|
|
|
|
|
|
|
- Display the number of loaded enforcing policies that kill tasks:
|
|
|
|
|
|
|
|
|
|
`sudo aa-status --kill`
|