06-22-2015
Welcome to the forum!
What have you tried so far? Can you post your script that is not working?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm a newbie to the Unix world Help!
I have to maintain a host of Sybase database servers sitting on Unix Sun Solaris 8...I've been tasked with finding/creating a way to auto start/stop Unix via unix commands, specifically when the Unix servers need to be restarted we want Sybase to start... (2 Replies)
Discussion started by: jjv1
2 Replies
2. Shell Programming and Scripting
Hi,
I just learnt the shell scripting and got working on that right now. I have one problem.
Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am writing a bash shell script. How can I tell it to stop. For example, I would like to have something similar to the following:
mike=1
if ; then
STOP THE SCRIPT
fi (3 Replies)
Discussion started by: msb65
3 Replies
4. UNIX for Dummies Questions & Answers
i have two separate scripts that work nicely to curl and generate two files.. one html and one txt so a total of four.
When the script starts up i want it to:
call and run shellscripta
call and run shellscriptb
sleep for about 40 seconds
again run shellscripta
again run shellscriptb
check... (4 Replies)
Discussion started by: phpfreak
4 Replies
5. Shell Programming and Scripting
Hi All,
I would like to develop a shell script for stop & start an application server (1-4) on Solaris box. Here are the user requirements for this task.
1. User will input the option which server they wish to stop.
2. Will clear cache files from specific location.
3. ... (1 Reply)
Discussion started by: venga
1 Replies
6. UNIX for Dummies Questions & Answers
I did a search of these forums but couldnt find a suitable resolution.
I am attempting to script a stop and start of an application on AIX.
Such as:
However it has authentication where username and password prompts will appear after running the above command requiring input from a... (2 Replies)
Discussion started by: Soupy
2 Replies
7. Solaris
I have Big brother script, which start/stop Big Brother processes. Something got change on server and now I am not able to start/stop it. There is no change in script, as I compared it from other server. This service is being managed by bb user (group is also bb).
root@tsazdq04:/#... (6 Replies)
Discussion started by: solaris_1977
6 Replies
8. Shell Programming and Scripting
Hello everyone,
Newbie to the forum.
I have a requirement for a script to check Queue Manager SSL certificates - However I have no previous scripting skills what so ever. I need a script which from high level point of view does the following:
#For each Queue Manager on the server go to... (1 Reply)
Discussion started by: MQAdmin
1 Replies
9. Shell Programming and Scripting
Hi,
I need to create a shell script for automated server patching, with the following scenario:
I have two Linux servers Primary and secondary.
Server patching should start on Primary 1st and then secondary.
1st check both servers are up and running.
Then stop primary and patching will... (1 Reply)
Discussion started by: rcroyal88
1 Replies
qstop(8B) PBS qstop(8B)
NAME
qstop - stop pbs batch job processing at a destination
SYNOPSIS
qstop destination ...
DESCRIPTION
The qstop command directs that a destination should stop processing batch jobs. If the destination is a execution queue, the server will
cease scheduling jobs that reside in the queue for execution. If the destination is a routing queue, the server will cease routing jobs
from that queue.
In order to execute qstop, the user must have PBS Operation or Manager privilege.
OPERANDS
The qstop 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 stop that queue at the default server. If the @server form is given, the request is to stop all
the queues at that server. If a full destination identifier, queue@server, is given, the request is to stop the named queue at the named
server.
STANDARD ERROR
The qstop 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 qstop command, the exit status will be a value of zero.
If the qstop command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO
pbs_server(8B), qstart(8B), and qmgr(1B)
Local qstop(8B)