mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
77 lines
1.1 KiB
Plaintext
77 lines
1.1 KiB
Plaintext
### Test -k
|
|
parallel: Warning: Only enough file handles to run 9 jobs in parallel.
|
|
Running 'parallel -j0 -N9 --pipe parallel -j0' or raising ulimit -n or /etc/security/limits.conf may help.
|
|
begin
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help.
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
|
18
|
|
19
|
|
20
|
|
21
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
|
27
|
|
28
|
|
29
|
|
30
|
|
end
|
|
### Test --keep-order
|
|
job0
|
|
job1
|
|
job2
|
|
### Test --keeporder
|
|
job0
|
|
job1
|
|
job2
|
|
### Test SIGTERM
|
|
1
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
Running 'parallel -j0 -N8 --pipe parallel -j0' or raising ulimit -n or /etc/security/limits.conf may help.
|
|
parallel: SIGTERM received. No new jobs will be started.
|
|
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.
|
|
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
|
|
parallel: sleep 3; echo 9
|
|
### Test bug: empty line for | sh with -k
|
|
a
|
|
b
|