run_secs
Manual Reference Pages - RUN_SECS (1)
NAME
run_secs - Runs a command for a limited amount of time
CONTENTS
Synopsis
Description
Examples
See Also
Copyright
SYNOPSIS
run_secs time command [argument] ...
DESCRIPTION
run_secs is a small helper script that will run a given command for a specified length of time in seconds and then terminates the command by sending a SIGKILL signal to it. While this script has been primarily made to run the actual tools belonging to the sp-stress package, it can be used to run other arbitrary commands as long as the abrupt termination via SIGKILL is not a problem.
EXAMPLES
Cause 90% CPU load for half a minute, then stop it:
$ run_secs 30 cpuload 90
SEE ALSO
cpuload(1) ioload(1) memload(1)
COPYRIGHT
Copyright (C) 2007 Nokia Corporation.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License v2 included with the software. There is NO WARRANTY, to the extent permitted by law.
Improve this page