function_test_deploy >> function_syslog_cmp >> function_deploy 

Fuego 1.0 wiki

Login

function ov rootfs oom in split format

NAME [edit section]

= NAME =ov_rootfs_oom

SYNOPSIS [edit section]

= SYNOPSIS = * ov_rootfs_oom

DESCRIPTION [edit section]

= 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 [edit section]

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

ENVIRONMENT and ARGUMENTS [edit section]

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

RETURN [edit section]

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

SOURCE [edit section]

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

SEE ALSO [edit section]

safe_cmd, abort_job
= SEE ALSO = * [[function_safe_cmd|safe_cmd]], [[function_abort_job|abort_job]]
TBWiki engine 1.9.3 by Tim Bird