mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 21:27:53 +00:00
78 lines
889 B
Plaintext
78 lines
889 B
Plaintext
### Test -k
|
|
parallel: Warning: Only enough file handles to run 19 jobs in parallel.
|
|
Raising ulimit -n or /etc/security/limits.conf may help.
|
|
begin
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help.
|
|
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
|
|
17
|
|
18
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
parallel: SIGTERM received. No new jobs will be started.
|
|
parallel: Waiting for these 9 jobs to finish. Send SIGTERM again to stop now.
|
|
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 17
|
|
parallel: sleep 3; echo 18
|
|
### Test bug: empty line for | sh with -k
|
|
a
|
|
b
|