aboutsummaryrefslogtreecommitdiffstats
path: root/net/generic-nqs/scripts/create-example-batch-queues
blob: f4c5ebcf26751bd6c948068cf0a73410f6f5d947 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
qmgr <<eof
#
create pipe misc-sched run_limit= 40 destination= batch
enable queue misc-sched
start queue misc-sched
#
create batch_queue batch    priority = 10 run_limit = 4 user_limit = 2
set data_limit = (2gb) batch
set per_process permfile_limit = (2gb) batch
set STack_limit = ( 8192kb ) batch
#
create batch_queue misc     priority = 10 run_limit = 4 user_limit = 1
set data_limit = (2gb) batch
set per_process permfile_limit = (50mb) misc
set STack_limit = ( 8192kb ) misc
#
set default batch_request queue batch
SEt SHell_strategy FIxed = (/bin/csh)
enable queue batch
enable queue misc
start queue batch
start queue misc
eof