function kill procs in split format
|
|
= NAME =kill_procs
|
|
|
= SYNOPSIS =kill_procs $1 [$2 ...]
|
|
test_cleanupfunction.
|
= DESCRIPTION =This function is used to kill processes by name on the target board. It'sprimary use it intended to be for cleaning up after a test (in case thetest left processes still running on the target. For that usage, it isnormally called from the base script's [[function_test_cleanup|test_cleanup]]function.
|
|
It is important to use specific process names. Effectively 'grep' is usedto match the process name to the processes to be killed on the target. Ifa name is provided that is too general, you will end up killing more thanyou expected on the target.
|
It is important to use specific process names. Effectively 'grep' is usedto match the process name to the processes to be killed on the target. Ifa name is provided that is too general, you will end up killing more thanyou expected on the target.
|
|
|
= EXAMPLES =Here are some sample invocations:{{{#!YellowBoxkill_procs interbench}}}
|
|
|
{{{#!YellowBoxkill_procs lmbench lat_mem_rd par_mem}}}
|
|
|
= ENVIRONMENT and ARGUMENTS =This function takes the following arguments: * $1, $2, $3, $4 ... names of processes to kill
|
|
|
= RETURN =Returns true.
|
|
|
= SOURCE =Located in ''scripts/functions.sh''
|
|
test_cleanup, ov_rootfs_kill
|
= SEE ALSO = * [[function_test_cleanup|test_cleanup]], [[function_ov_rootfs_kill|ov_rootfs_kill]]
|