-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathrunstat.1
56 lines (34 loc) · 1.16 KB
/
runstat.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" -*- nroff -*-
.TH RUNSTAT 1 "October 18, 2010" "Google, Inc."
.SH NAME
runstat \- collect statistics about execution of a process
.SH SYNOPSYS
\fBrunstat\fR [ \fB-h\fR ]
\fBrunstat\fR [ \fB-d\fR ] [ \fB-f \fIpathname\fR ] \fIcommand\fR [ \fIargs\fR ]
.SH DESCRIPTION
\fBrunstat\fR 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.
.SH USAGE
.TP
\fB-d\fR
Debug mode; send log messages to standard error as well as to the
system log.
.TP
\fB-f \fIpathname\fR
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".
.TP
\fB-h\fR
Prints some basic help.
.SH SEE ALSO
\fBrunalarm\fR(1), \fBrunlock\fR(1), \fBgetrusage\fR(2)
.SH AUTHOR
\fBrunstat\fR was written by Jamie Wilkinson <jaq@google.com>.
.SH COPYRIGHT
This program is copyright (C) 2010 Google, Inc.
.PP
It is licensed under the Apache License, Version 2.0