summary refs log tree commit diff
path: root/fq.1
blob: 72d9c3bf2cfeed92f8cb4a497b5f5c4aac9b040d (plain) (blame)
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
57
58
59
60
61
62
63
64
.Dd August 25, 2015
.Dt FQ 1
.Os
.Sh NAME
.Nm fq
.Nd job queue log viewer
.Sh SYNOPSIS
.Nm
.Op Fl a
.Op Fl q
.Op Ar job\ id ...
.Sh DESCRIPTION
.Nm
is a simple utility for
.Dq following
the output of
.Xr nq 1
jobs.
.Pp
Without arguments, the output of the currently running and queued
as-of-now jobs is emitted; else the presented job ids are used.
.Pp
.Nm
automatically terminates after the corresponding jobs are done.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl a
Output all log files, even of already finished jobs.
.It Fl q
Only print the first line of each job output
(i.e. the
.Li exec
line).
.El
.Sh ENVIRONMENT
.Bl -hang -width Ds
.It Ev NQDIR
Directory where lock files/job output resides, see
.Xr nq 1 .
.El
.Sh EXIT STATUS
.Ex -std
.Sh INTERNALS
On Linux,
.Xr inotify 7
is used to monitor job output.
On other operating systems, polling is used.
.Sh SEE ALSO
.Xr nq 1 ,
.Xr tq 1
.Sh AUTHORS
.An Christian Neukirchen Aq Mt chneukirchen@gmail.com
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/
.\" .Sh BUGS