Search Results

Search: Posts Made By: Anusha M
1,611
Posted By Anusha M
Yes RudiC
Yes RudiC
1,611
Posted By Anusha M
Hi RudiC, Outlook 2013 is the mail client which...
Hi RudiC,
Outlook 2013 is the mail client which is the receiving system

Thanks.
1,611
Posted By Anusha M
Font Editing to be done in shell script
Hi,
Iam writing a script in unix shell and need to edit the output (With colors and bold/italic/underline) and send as email. Can someone please help me on this requirement

Output as below. Need...
3,352
Posted By Anusha M
Thank you!! It worked fine... Thanks, ...
Thank you!! It worked fine...



Thanks,
Anusha
3,352
Posted By Anusha M
Hi, I tried the same echo "DEFINE QL('$e')...
Hi,

I tried the same
echo "DEFINE QL('$e') MAXDEPTH('$6') MAXMSGL('$7') DEFPSIST('$8') '$9'" | /apps/mqm_opt/bin/runmqsc $2

./sample.sh 3 SDBXBRK2 Q1 Q2 Q3 5000 4194304 NO

Output is "DEFINE...
3,352
Posted By Anusha M
Shell scripting with passing arguments
Hi All,

I am using the script for creating local queue and passing the arguments while running the script as below

n=0
while [ $n -lt $1 ]
do
e=`expr $n + 3`
echo 'DEFINE QL('$e')...
5,291
Posted By Anusha M
Hi RudiC, I didn't get any errors. It said...
Hi RudiC,

I didn't get any errors. It said as below

passwd: all authentication tokens updated successfully.

How to check if the user is locked.

Thanks.

---------- Post updated at 06:33...
5,291
Posted By Anusha M
Unable to change password using root user
Hi,

I tired changing password for mqm user in linux server with root user.
But still I couldn't able to login mqm user with changed password.

Can anyone please help on this.

[root@huxccc111...
18,029
Posted By Anusha M
Dpkg command not found
Hi All,
I tried to install Message Broker toolkit in Linux server. When I tried to run mqsicreatebar, I received below error

-bash-3.2$
-bash-3.2$ pwd
/opt/IBM/WMBT800
-bash-3.2$ ...
4,096
Posted By Anusha M
Hi, Below is the Linux version which we are...
Hi,

Below is the Linux version which we are using. We have Non production environment support, so no monitoring tools are available as it is newly formed team.

uname -r
2.6.18-308.11.1.el5xen...
4,096
Posted By Anusha M
Hi Rudic, The problem is if I configure the...
Hi Rudic,
The problem is if I configure the script to run every one hour, in between time if the queue manager is down I will not be notified, which can cause issue.

The script has to run...
4,096
Posted By Anusha M
Run the script continously but mail once in 1 hour
Hi,
I have a script written for monitoring the queue manager status continously. below is the script.

QMGR=`dspmq | awk '{print $1}' | cut -f2 -d "(" | cut -f1 -d ")"`
QMSTATUS=`dspmq | awk...
1,547
Posted By Anusha M
Ssh command without password - Not working
Hi,
I have followed the below commands for key generation and ssh from one server to another with user mqm

cd /var/mqm/.ssh
mqm@A:~> ssh-keygen -t rsa
<public key creation>
mqm@A:~> ssh mqm@B...
2,710
Posted By Anusha M
Hi, I had another requirement to ssh to a...
Hi,
I had another requirement to ssh to a server and then execute the command. Hence used as below

cat queue_creation.sh
ssh $1 "echo \"$3\" | runmqsc $2"

./queue_creation.sh xccl1111...
1,420
Posted By Anusha M
Thanks it works.. But queue creation is issue...
Thanks it works..
But queue creation is issue again here..

cat queue_creation.sh
ssh $1 "echo $3 | runmqsc $2"


./queue_creation.sh xcclx111 QASSSSA 'DEFINE QL(HI)'

Error is ksh: syntax...
1,420
Posted By Anusha M
SSH command
Hi All,

The code is running from A server

cat queuecreation.sh
ssh $1
echo "$3" | runmqsc "$2"

Running the script as below
./queuecreation.sh <servername> <Queuemanagername>...
2,710
Posted By Anusha M
Thanks a lot!! It's working fine as below. ...
Thanks a lot!! It's working fine as below.

./queue_creation.sh QASSSSS 'DIS QL(TEST)'
2,710
Posted By Anusha M
Hi Rudic, The purpose is to automate running...
Hi Rudic,

The purpose is to automate running this script using a tool. So the manual activity of changing the file which is passed as argument is impossible.

Every time the requirement changes...
2,710
Posted By Anusha M
Passing arguments while running the script
Hi,

I have a requirement for creating a MQ (queue) where the inputs has to be passed as arguments.

Running the script as below
./hi.sh "Servername" "QueueManagername" "QueuecreationCommand"
...
1,329
Posted By Anusha M
Compare the string in different files
Hi,
There is a file A.txt which contains a list of strings.
A.txt
QASSBRK1
QASSBRK2

And in B.txt, command is written to generate output of dspmq with AWK script

B.txt
QMGR=`dspmq | awk...
4,899
Posted By Anusha M
Hi Gull and Don, Thanks a lot for your quicker...
Hi Gull and Don,
Thanks a lot for your quicker response.
source ~/.profile This command works fine. And I am able to get the output of queue manger and broker status appropriately now.
4,899
Posted By Anusha M
Scripts can be run manually but couldn't run with cronjobs
I am from MQ/MB technology. My requirement is to display the queue manger and broker status on daily basis.

If I manually run the script, it works fine and displays output. But when I have...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 07:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy