firemon1
Monitoring program for processes started in a firejail sandbox.
Usage
firemon [OPTIONS]
[PID]
Overview
Firemon monitors programs started in a Firejail sandbox. Without a PID specified, all processes started by Firejail are monitored. Descendants of these processes are also being monitored. On Grsecurity systems only root user can run this program.
Options
-
--apparmor -
Print AppArmor confinement status for each sandbox.
-
--arp -
Print ARP table for each sandbox.
-
--caps -
Print capabilities configuration for each sandbox.
-
--cpu -
Print CPU affinity for each sandbox.
-
--debug -
Print debug messages
-
-?, --help -
Print options end exit.
-
--list -
List all sandboxes.
-
--name=name -
Print information only about named sandbox.
-
--netstats -
Monitor network statistics for sandboxes creating a new network namespace.
-
--route -
Print route table for each sandbox.
-
--seccomp -
Print seccomp configuration for each sandbox. Several other firejail features such as memory-deny-write-execute, protocol and restrict-namespaces are implemented as seccomp filters. This option will show the global seccomp setting inside the kernel.
-
--top -
Monitor the most CPU-intensive sandboxes. This command is similar to the regular UNIX top command, however it applies only to sandboxes.
-
--tree -
Print a tree of all sandboxed processes.
-
--version -
Print program version and exit.
-
--wrap -
Enable line wrapping in terminals. By default the lines are trimmed.
-
--x11 -
Print X11 display number.
The format for each listed sandbox entry is as follows:
PID:USER:Sandbox Name:Command
Listed below are the available fields (columns) in various firemon commands in alphabetical order:
Command-
Command used to start the sandbox.
- CPU%
-
CPU usage, the sandbox share of the elapsed CPU time since the last screen update
- PID
-
Unique process ID for the task controlling the sandbox.
Prcs-
Number of processes running in sandbox, including the controlling process.
- RES
-
Resident Memory Size (KiB), sandbox non-swapped physical memory. It is a sum of the RES values for all processes running in the sandbox.
- Sandbox Name
-
The name of the sandbox, if any.
- SHR
-
Shared Memory Size (KiB), it reflects memory shared with other processes. It is a sum of the SHR values for all processes running in the sandbox, including the controlling process.
Uptime-
Sandbox running time in hours:minutes:seconds format.
- USER
-
The owner of the sandbox.
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.
--apparmor since Debian 10 (Buster);
--debug since Debian 11 (Bullseye);
--wrap since Debian 11 (Bullseye).
--cgroup until Debian 11 (Bullseye);
--interface until Debian 12 (Bookworm);
--nowrap until Debian 10 (Buster).