mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-28 23:57:54 +00:00
73 lines
714 B
Plaintext
73 lines
714 B
Plaintext
### Test -k
|
|
parallel: Warning: Only enough filehandles to run 20 jobs in parallel. Raising ulimit -n may help
|
|
begin
|
|
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
|
|
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
|