File: runstat.1

package info (click to toggle)
cronutils 1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: ansic: 664; sh: 89; makefile: 35
file content (56 lines) | stat: -rw-r--r-- 1,185 bytes parent folder | download | duplicates (6)
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