summaryrefslogtreecommitdiff
path: root/net/generic-nqs/scripts/create-example-batch-queues
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
commitcad6c0c117fe4b1c6ae18dda6a02174a31dc4295 (patch)
treef8a77505ed450af8911e77789464145b2a168e9d /net/generic-nqs/scripts/create-example-batch-queues
parentMove generic-nqs to the net category. (diff)
Generic-NQS, a freely available Network Queuing System that provides
configurable limits on jobs on a per queue basis as well as for the total queue system. It is based on the de facto NQS standards and is interoperable with commercial NQS products. PR: 6699 Submitted by: Tony Maher <tonym@angis.org.au>
Notes
Notes: svn path=/head/; revision=19862
Diffstat (limited to 'net/generic-nqs/scripts/create-example-batch-queues')
-rw-r--r--net/generic-nqs/scripts/create-example-batch-queues24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/generic-nqs/scripts/create-example-batch-queues b/net/generic-nqs/scripts/create-example-batch-queues
new file mode 100644
index 000000000000..f4c5ebcf2675
--- /dev/null
+++ b/net/generic-nqs/scripts/create-example-batch-queues
@@ -0,0 +1,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