AMQP-DECLARE-QUEUE(1) RabbitMQ C Client AMQP-DECLARE-QUEUE(1)NAME
amqp-declare-queue - Declare (create or assert the existence of) a queue on an AMQP server
SYNOPSIS
amqp-declare-queue [OPTION...] [-d] {-q queue name}
DESCRIPTION
amqp-declare-queue attempts to create a queue on an AMQP server, and exits. If the empty-string is supplied as the queue name, a fresh
queue name is generated by the server and returned. In all cases, if a queue was successfully declared, the (raw binary) name of the queue
is printed to standard output, followed by a newline.
OPTIONS -q, --queue=queue name
The name of the queue to declare. If the empty string is supplied, a fresh queue name is generated by the server.
-d, --durable
Causes the queue to be declared with the "durable" flag set. Durable queues survive server restarts. By default, queues are declared in
"transient" mode.
EXIT STATUS
If the queue was successfully declared, the exit status is 0. If an error occurs, the exit status is 1.
EXAMPLES
Declare the durable queue "myqueue", and display the name of the queue on standard output:
$ amqp-declare-queue -d -q myqueue
myqueue
Declare a fresh, server-named transient queue, and display the name of the queue on standard output (use amqp-delete-queue(1) to delete it
from the server once you're done):
$ amqp-declare-queue -q ""
amq.gen-BW/wvociA8g6LFpb1PlqOA==
SEE ALSO librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools.
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
RabbitMQ C Client 2011-01-01 AMQP-DECLARE-QUEUE(1)
Check Out this Related Man Page
qstart(8B) PBS qstart(8B)NAME
qstart - start pbs batch job processing at a destination
SYNOPSIS
qstart destination ...
DESCRIPTION
The qstart command directs that a destination should process batch jobs. If the destination is an execution queue, the server will begin
to schedule jobs that reside in the queue for execution. If the destination is a routing queue, the server will begin to route jobs from
that queue.
In order to execute qstart, the user must have PBS Operation or Manager privilege.
OPERANDS
The qstart command accepts one or more destination operands. The operands are one of three forms:
queue
@server
queue@server
If queue is specified, the request is to start that queue at the default server. If the @server form is given, the request is to start all
queues at that server. If a full destination identifier, queue@server, is given, the request is to start the named queue at the named
server.
STANDARD ERROR
The qstart command will write a diagnostic message to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qstart command, the exit status will be a value of zero.
If the qstart command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO pbs_server(8B), qstop(8B), and qmgr(1B)Localqstart(8B)
can unix program declare int??how to declare ?
if i want to declare int and using read command then compare which int is small...how to do this??can somebody help me? (1 Reply)
Hi all,
I am new to SQLPLUS, can anyone tell me what is the following codes doing?
DECLARE
cursor c1 is select bts_int_id,
max(ave_busy_tch/res_av_denom14) maxBusyTch
from p_nbsc_res_avail
where to_char(period_start_time,'yyyymmdd')=to_char((sysdate-1),'yyyymmdd')
group by... (4 Replies)
Hi All,
I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both.
The value of $? is coming 0 in if part also and else part too.
#!/bin/ksh
if ]; then
echo "data"
# exit 0
echo "$?"
else... (4 Replies)
Hi Guys,
I am new to this forum. i need your help. I am trying to wirte a script for queue monitoring under aix.I would like to get status of each queue and number of jobs on each queue.Can you please guide me?. Thanks,
Sag (3 Replies)
hi Gurus, please why is this happening:
when i run this:
#!/bin/bash
declare -a name
declare -a ph
declare -a eid
r=0;
c=1;
i=1;
n=;
echo " name phone email_id"
while :
do
#if ; then
#break;
#else
echo -n "field $i:"; read name ph eid;
let "i++";
... (5 Replies)
Command to fresh the memory !
Some time during some load on the AIX system memory will get hang and will not respond for any new process.
Can you please helper me with command to fresh the memory to avoid that hanging on the memory. (3 Replies)
hi to all,
i am trying to declare a variable as an integer in unix shell script. i search the web for a way to do it but it doesnt work.
i tried "define -i" and "declare" but that doesnt work.
if somebody knows another way to declare a variable as integer please help me.
thank you (2 Replies)
this is my code
declare -a USERCERT
declare -a CACERT
declare -a KEYSRC
this is the error
+ declare -a USERCERT
./clone.sh: 1: declare: not found
+ declare -a CACERT
./clone.sh: 1: declare: not found
+ declare -a KEYSRC
./clone.sh: 1: declare: not found (11 Replies)
Dear All,
I am facing a simple problem . I have a x6270 server attached to a M6000 chasis. The server is fresh i:e O/S is not installed in it.
Now the customer is asking for the HostID of that server. I have tried every possible way but i am not able to find the HostID .I went through the... (4 Replies)
Hi. i am trying to print the contents of my text file with delimiter : separating them.
6:15:ABC ABD:ABB ABE:
2:20:AEE ABH:ACC AAA:
i have completed my header for the report but i am having problem with my contents. i am trying to read in the data with the code below.
{ while read... (10 Replies)
Hi everyone ,
I'm a fresh graduate in computer science ,looking to make career in the field of unix.Being fresher i'm bit frustrated since i havnt got any good opurtunities or a break into the field:mad:.I'm reading books on unix and practicing the commands on ubuntu from past 7 months and still... (4 Replies)
How can I deinstall or delete the whole environment and delete everything (all the files, group, users). I would like to start fresh. I 'd like to install ORACLE 12c. Create users from scratch, create group from scratch etc)
Why?
I installed Oracle 11g on Solaris. It had an ORACLE_BASE,... (6 Replies)