2010-05-27 06:09:28 +00:00
|
|
|
### Test -k
|
2014-07-26 11:17:13 +00:00
|
|
|
parallel: Warning: Only enough file handles to run 9 jobs in parallel.
|
2016-08-21 13:37:59 +00:00
|
|
|
parallel: Warning: Running 'parallel -j0 -N 9 --pipe parallel -j0' or
|
2016-05-17 00:11:38 +00:00
|
|
|
parallel: Warning: raising ulimit -n or /etc/security/limits.conf may help.
|
|
|
|
parallel: Warning: No more file handles.
|
|
|
|
parallel: Warning: Raising ulimit -n or /etc/security/limits.conf may help.
|
2009-09-04 05:23:57 +00:00
|
|
|
begin
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
10
|
|
|
|
11
|
|
|
|
12
|
|
|
|
13
|
|
|
|
14
|
|
|
|
15
|
2013-11-22 17:24:09 +00:00
|
|
|
16
|
2013-10-21 20:31:52 +00:00
|
|
|
17
|
2009-09-04 05:23:57 +00:00
|
|
|
18
|
|
|
|
19
|
|
|
|
20
|
|
|
|
21
|
|
|
|
22
|
|
|
|
23
|
|
|
|
24
|
|
|
|
25
|
|
|
|
26
|
|
|
|
27
|
|
|
|
28
|
|
|
|
29
|
|
|
|
30
|
|
|
|
end
|
2010-09-21 20:00:30 +00:00
|
|
|
### Test --keep-order
|
|
|
|
job0
|
|
|
|
job1
|
|
|
|
job2
|
|
|
|
### Test --keeporder
|
|
|
|
job0
|
|
|
|
job1
|
|
|
|
job2
|
2010-05-27 06:09:28 +00:00
|
|
|
### Test SIGTERM
|
2009-10-26 11:22:21 +00:00
|
|
|
1
|
|
|
|
10
|
|
|
|
11
|
|
|
|
12
|
|
|
|
13
|
|
|
|
14
|
|
|
|
15
|
|
|
|
16
|
2010-10-26 23:50:58 +00:00
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
parallel: SIGTERM received. No new jobs will be started.
|
2014-12-26 17:31:06 +00:00
|
|
|
parallel: Waiting for these 8 jobs to finish. Send SIGTERM again to stop now.
|
|
|
|
parallel: Warning: Only enough file handles to run 8 jobs in parallel.
|
2016-08-21 13:37:59 +00:00
|
|
|
parallel: Warning: Running 'parallel -j0 -N 8 --pipe parallel -j0' or
|
2016-05-17 00:11:38 +00:00
|
|
|
parallel: Warning: raising ulimit -n or /etc/security/limits.conf may help.
|
2010-10-26 23:50:58 +00:00
|
|
|
parallel: sleep 3; echo 10
|
|
|
|
parallel: sleep 3; echo 11
|
|
|
|
parallel: sleep 3; echo 12
|
|
|
|
parallel: sleep 3; echo 13
|
|
|
|
parallel: sleep 3; echo 14
|
|
|
|
parallel: sleep 3; echo 15
|
|
|
|
parallel: sleep 3; echo 16
|
2014-12-26 17:31:06 +00:00
|
|
|
parallel: sleep 3; echo 9
|
2011-06-03 12:53:14 +00:00
|
|
|
### Test bug: empty line for | sh with -k
|
|
|
|
a
|
2011-06-11 23:19:29 +00:00
|
|
|
b
|