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
NWPJMV(1) nwpjmv NWPJMV(1)
NAME
nwpjvm - Move print job to Unix queue
SYNOPSIS
nwpjmv [ -S server ] [ -h ] [ -U user name ] [ -P password | -n ] [ -C ] [ -q queue name ] [ -c command ] [ -j job number ] [ -d ]
DESCRIPTION
nwpjmv is a program that connects to print queues on NetWare servers and moves a designated print job to a Unix queue.
OPTIONS
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user
user is the print server name at the server.
-P password
password is the password to use for the print server at the server. If neither -n nor -P are given, and the user has no open connection
to the server, pserver prompts for a password.
-n
-n should be given if the print server does not require a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
-q queue name
queue name is the name of the print queue you want to service.
-c command
nwpjmv removes the designated job from the Novell queue and feeds the job file to stdin. command is the printing command that is exe-
cuted for each job. The default command is 'lpr'.
You can insert several flags into the command, preceded by %. These are replaced with values retrieved from the queue structure for the
print job.
%u: This field will be replaced by the name of the user who posted this print job.
%d: This field will be replaced by the job description field of this print job.
-j job number
This designates the ID number of the print job to be moved.
-d causes extra error messages to be logged.
SEE ALSO
nwclient(5), slist(1), pqlist(1), ncpmount(8), ncpumount(8), pserver(1)
CREDITS
nwpjmv was written by Bruno Browning (bruno@lss.wisc.edu) based on pserver by Volker Lendecke (lendecke@math.uni-goettingen.de)
nwpjmv 03/15/2003 NWPJMV(1)