FrontPage 

Fuego 1.1 wiki

Login or create account

function ov rootfs oom in 'raw' format

= NAME =
ov_rootfs_oom

= SYNOPSIS =
 * ov_rootfs_oom

= DESCRIPTION =
This sets the value of ood_score_adj for the current process (likely sshd?) so that it will be the first one killed if the system runs out of memory.


= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
  ov_rootfs_oom "$@"
}}}

= ENVIRONMENT and ARGUMENTS =
No positional arguments are used in this function, and no
environment variables are referenced.

= RETURN =
This function aborts the job if it can't set the oom_score_adj in /proc

= SOURCE =
Located in ''engine/overlays/base/base-distrib.fuegoclass''

= SEE ALSO =
 * [[function_safe_cmd|safe_cmd]], [[function_abort_job|abort_job]]




TBWiki engine 1.8.3 by Tim Bird