From 8fdc4029ad9bd2489aa0266bbbcaefac4fb239d1 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 11 Feb 2016 09:03:35 -0500 Subject: set sandbox nice value --- src/man/firejail-profile.txt | 4 ++++ src/man/firejail.txt | 10 ++++++++++ 2 files changed, 14 insertions(+) (limited to 'src/man') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 20fd731e1..3ebb11549 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -228,6 +228,10 @@ Set the CPU cores available for this sandbox using \fBcpu\fR command. Examples: cpu 1,2,3 Use only CPU cores 0, 1 and 2. +.TP +nice -5 +Set a nice value of -5 to all processes running inside the sandbox. + .SH Control Groups Place the sandbox in an existing control group specified by the full path of the task file using \fBcgroup\fR. Example: diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 784f1583e..bdd1bb1f6 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -761,6 +761,16 @@ PID User RX(KB/s) TX(KB/s) Command .br 7383 netblue 9.045 0.112 firejail \-\-net=eth0 transmission +.TP +\fB\-\-nice=value +Set nice value for all processes running inside the sandbox. +.br + +.br +Example: +.br +$ firejail --nice=-5 firefox + .TP \fB\-\-noblacklist=dirname_or_filename -- cgit v1.2.3-54-g00ecf