ts.1
changeset 309 de0a7720dbc2
parent 303 2edd42e77392
child 320 549211f9affa
equal deleted inserted replaced
308:191898249d9a 309:de0a7720dbc2
     1 .\" Copyright Lluís Batlle
     1 .\" Copyright Lluís Batlle i Rossell
     2 .\"
     2 .\"
     3 .\" This file may be copied under the conditions described
     3 .\" This file may be copied under the conditions described
     4 .\" in the LDP GENERAL PUBLIC LICENSE, Version 1, September 1998
     4 .\" in the LDP GENERAL PUBLIC LICENSE, Version 1, September 1998
     5 .\" that should have been distributed together with this file.
     5 .\" that should have been distributed together with this file.
     6 .\" 
     6 .\" 
     7 .\" Note: I took the gnu 'ls' man page as an example.
     7 .\" Note: I took the gnu 'ls' man page as an example.
     8 .TH TS 1 2011-10 "Task Spooler 0.7.1"
     8 .TH TS 1 2011-11 "Task Spooler 0.7.2"
     9 .SH NAME
     9 .SH NAME
    10 ts \- task spooler. A simple unix batch system
    10 ts \- task spooler. A simple unix batch system
    11 .SH SYNOPSIS
    11 .SH SYNOPSIS
    12 .BI "ts [" actions "] [" options "] [" command... ]
    12 .BI "ts [" actions "] [" options "] [" command... ]
    13 .sp
    13 .sp
    92 .TP
    92 .TP
    93 .B "\-B"
    93 .B "\-B"
    94 In the case the queue is full (due to \fBTS_MAXCONN\fR or system limits),
    94 In the case the queue is full (due to \fBTS_MAXCONN\fR or system limits),
    95 by default ts will block the enqueuing command. Using \fB\-B\fR,
    95 by default ts will block the enqueuing command. Using \fB\-B\fR,
    96 if the queue is full it will exit returning the value 2 instead of blocking.
    96 if the queue is full it will exit returning the value 2 instead of blocking.
       
    97 .TP
       
    98 .B "\-E"
       
    99 Keep two different output files for the command stdout and stderr. stdout goes to
       
   100 the file announced by ts (look at \fB\-o\fR), and stderr goes to the stdout file
       
   101 with an additional ".e". For example, /tmp/ts-out.SKsDw8 and /tmp/ts-out.SKsDw8.e.
       
   102 Only the stdout file gets created with \fBmkstemp\fR, ensuring it does not overwrite
       
   103 any other; the ".e" will be overwritten if it existed.
    97 .SH ACTIONS
   104 .SH ACTIONS
    98 Instead of giving a new command, we can use the parameters for other purposes:
   105 Instead of giving a new command, we can use the parameters for other purposes:
    99 .TP
   106 .TP
   100 .B "\-K"
   107 .B "\-K"
   101 Kill the
   108 Kill the
   292 .SH AUTHOR
   299 .SH AUTHOR
   293 Lluis Batlle i Rossell
   300 Lluis Batlle i Rossell
   294 .SH NOTES
   301 .SH NOTES
   295 This page describes
   302 This page describes
   296 .B ts
   303 .B ts
   297 as in version 0.7.1. Other versions may differ. The file
   304 as in version 0.7.2. Other versions may differ. The file
   298 .B TRICKS
   305 .B TRICKS
   299 found in the distribution package can show some ideas on special uses of
   306 found in the distribution package can show some ideas on special uses of
   300 .B ts.
   307 .B ts.