runstat - collect statistics about execution of a process
Contents
Copyright
This program is copyright (C) 2010 Google, Inc.
It is licensed under the Apache License, Version 2.0
Google, Inc. October 18, 2010 RUNSTAT(1)
Description
runstat tries to execute a command in a subprocess, and upon termination of the subprocess collects some
statistics about that subprocess, and writes them to a file.
These statistics include time of execution, exit status, and elapsed time to execute, as well as use of
various OS resources.
Name
runstat - collect statistics about execution of a process
See Also
runalarm(1), runlock(1), getrusage(2)
Synopsys
runstat [ -h ]
runstat [ -d ] [ -fpathname ] command [ args ]
Usage
-d
Debug mode; send log messages to standard error as well as to the system log.
-fpathname
Specifies the pathname of the file to save the statistics to. The default is to create a file in
/tmp/cronutils-$USER with the name of the command, and suffix ".stat".
-h
Prints some basic help.
