function_kill_procs 

Fuego 1.0 wiki

Login

function kill procs

NAME [edit section]

kill_procs

SYNOPSIS [edit section]

kill_procs $1 [$2 ...]

DESCRIPTION [edit section]

This function is used to kill processes by name on the target board. It's primary use it intended to be for cleaning up after a test (in case the test left processes still running on the target. For that usage, it is normally called from the base script's test_cleanup function.

It is important to use specific process names. Effectively 'grep' is used to match the process name to the processes to be killed on the target. If a name is provided that is too general, you will end up killing more than you expected on the target.

EXAMPLES [edit section]

Here are some sample invocations:
    kill_procs interbench

    kill_procs lmbench lat_mem_rd par_mem

ENVIRONMENT and ARGUMENTS [edit section]

This function takes the following arguments:
  • $1, $2, $3, $4 ... names of processes to kill

RETURN [edit section]

Returns true.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.9.2 by Tim Bird