10-07-2008
which script is best for the job
hi all,
was wondering which scripting language would be best for the following task :
have got about 20 application servers which get assigned port numbers from a known range (2750 - 2770). when a server is assigned a port from the given range it gets written to the log file for that server e.g for server1.log this would be written out "port:2750".
i wanted a script which would search each servers log file, grep the port and count the number of connections established on that port (by using netstat).
many thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Thanks in advance.
i need to kill a unix background running job after that job process completes.
i can kill a job by giving the following unix command
kill -9 processid
how to kill the job after the current process run gets completed ?
Appreciate your valuable help.
... (1 Reply)
Discussion started by: dtazv
1 Replies
2. Solaris
Hi,
Thanks in advance.
i need to kill a unix background running job after that job process completes.
i can kill a job by giving the following unix command
kill -9 processid
how to kill the job after the current process run gets completed ?
Appreciate your valuable help.
Thanks... (7 Replies)
Discussion started by: dtazv
7 Replies
3. Programming
Hi,
We are running a list of jobs (nearly 100 jobs). We have to monitor these jobs through their log files and based on job's exit status.
If any one friend have this kind of scripts that will help me to create my own script.
Please give me some codes.
Your's loving friend.
Love... (1 Reply)
Discussion started by: Love
1 Replies
4. UNIX for Advanced & Expert Users
Although there are many threads on this forum regarding cron, none have specifically answered my question. So hopefully someone can shed some light on what I'm doing wrong..
I have a perl script that I want to run in a cron job. Since I've read that cron doesn't have any environments set, I... (3 Replies)
Discussion started by: man
3 Replies
5. Shell Programming and Scripting
Hi Experts,
I need a script advice to schedule 12 jobs ( SAS Codes execute back ground ).
Algorithem:
1. Script checks first job.
2. Finds first job is done; invoke second job.
3. finds second job is done; invoke third job.
..
Request you to please assist. (3 Replies)
Discussion started by: Jerald Nathan
3 Replies
6. Shell Programming and Scripting
I need to do a work to my job, but i m new in script shell, someone can help with this.. :confused:
Description
Bsafe The command creates a backup directory of each month at the command line (arguments of the script). The names of directories to copy will always be specified for the... (4 Replies)
Discussion started by: strshel
4 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to set an AT job in a script but I don't know how I could do that. I need to use the CTRL-D key to confirm the entry but how can I do this in a shell script? I tried to use the ^D character but it doesn't work.
at now + 10 minute
/tmp/bla.sh
^D (1 Reply)
Discussion started by: Milthiade
1 Replies
8. Shell Programming and Scripting
:wall:Hi All,
I want to build script to force start the list of child jobs under a box. I prepared this below script, but this script need to some bug fix at run time. Please help me to to develop this script. Please let me know if any thing require for this script. Advance thank for all..
... (3 Replies)
Discussion started by: pradipta_pks
3 Replies
9. Shell Programming and Scripting
Hi,
I need help to write a script to check process of job running.
If it does not run, then send email notify.
ex:
list of job: a,b,c,d,e,f
thanks, (8 Replies)
Discussion started by: xitrum
8 Replies
10. Shell Programming and Scripting
Hi Guys,
I need your help with setting up a shell script for the following job. Please help.
Encrypted file received at the SFTP server (.55 network - DMZ) from ABC company
Encrypted file is passed into the internal network (.52 or .53) in one of the system and comes to Folder 'A'
A script... (8 Replies)
Discussion started by: sam0912
8 Replies
LEARN ABOUT DEBIAN
globus-job-status
GLOBUS-JOB-STATUS(1) GRAM5 Commands GLOBUS-JOB-STATUS(1)
NAME
globus-job-status - Check the status of a GRAM5 job
SYNOPSIS
globus-job-status JOBID
globus-job-status [-help] [-usage] [-version] [-versions]
DESCRIPTION
The globus-job-status program checks the status of a GRAM job by sending a status request to the job manager contact for that job specifed
by the JOBID parameter. If successful, it will print the job status to standard output. The states supported by globus-job-status are:
PENDING
The job has been submitted to the LRM but has not yet begun execution.
ACTIVE
The job has begun execution.
FAILED
The job has failed.
SUSPENDED
The job is currently suspended by the LRM.
DONE
The job has completed.
UNSUBMITTED
The job has been accepted by GRAM, but not yet submitted to the LRM.
STAGE_IN
The job has been accepted by GRAM and is currently staging files prior to being submitted to the LRM.
STAGE_OUT
The job has completed execution and is currently staging files from the service node to other http, GASS, or GridFTP servers.
OPTIONS
The full set of options to globus-job-status are:
-help, -usage
Display a help message to standard error and exit.
-version
Display the software version of the globus-job-status program to standard output.
-versions
Display the software version of the globus-job-status program including DiRT information to standard output.
ENVIRONMENT
If the following variables affect the execution of globus-job-status.
X509_USER_PROXY
Path to proxy credential.
X509_CERT_DIR
Path to trusted certificate directory.
BUGS
The globus-job-status program can not distinguish between the case of the job manager terminating for any reason and the job being in the
DONE state.
SEE ALSO
globusrun(1)
University of Chicago 03/18/2010 GLOBUS-JOB-STATUS(1)