01-20-2006
No...justing running it in bg doesn't solve the problem.
Actually, when rsh runs, it uses to sockets in the system for stdout/err/in files. And my system is running out o sockets...so, I want a way by which jobs are just submitted in the remote machine and after submitting, my cmd (rsh) should close all association with the remote cmd (my_bacth_job.pl) i.e. rsh should release all sockets immediately after submittion without bothering about stdout/stderr.
-Arijit
10 More Discussions You Might Find Interesting
1. HP-UX
Hi
I am facing the problem where my HP Unix system date is in accordance with the current date but the logs written by the same is of previous time stamp.
Eg. System Date - Thu Mar 15 18:00:04 IST 2007
Syslogs -
Mar 15 12:30:10 mac@1 ftpd: FTP LOGIN FROM xx.xxx.xxx.xx , main
The ftp... (1 Reply)
Discussion started by: PradeepRed
1 Replies
2. Shell Programming and Scripting
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.
$cat run_job.ksh
#!/usr/bin/ksh
####################################
typeset -u SCHEMA_NAME=$1
... (1 Reply)
Discussion started by: GrepMe
1 Replies
3. Shell Programming and Scripting
Hi,
I have below requirement that I need to do it using AWK.
Files
====
File1: data file that has thousands of recs
File2: Lookup file
I need to compare the position 21-31 of File1 with 1-11 of File2.
If matched then write to new output file(outfile1) else write to another output... (17 Replies)
Discussion started by: Sathy153
17 Replies
4. HP-UX
I have several HP/UX nodes running Sendmail 8.13 ...some work fine, some don't.
When an Email is coming in, the 'DATA' command never ends. The other side of the connection gets to the point where it enters the '.' on a line by itself, but sendmail doesn't accept it...if fact it keeps on holding... (8 Replies)
Discussion started by: john_exonets
8 Replies
5. Shell Programming and Scripting
Hi,
i have a script of following content
#!/usr/bin/sh
'exit 255' USR1
ncm_CheckDir.pl -a
/cnt/mgr/test/working/applog_CheckDir.log -c
/cnt/mgr/test/lib/config/bp_CheckDir.conf -s
/cnt/mgr/test/log/syslog
filename : BC_CheckDir
when i execute ie :
sh BC_CheckDir
i am getting... (11 Replies)
Discussion started by: psthariharan
11 Replies
6. Shell Programming and Scripting
Hello,
I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies
7. Shell Programming and Scripting
Hi
I am new to submitting jobs. I am trying to submit my perl file to the cluster.
This is what my shell file looks like (shell1.sh):
#!/bin/sh
#$ -S /bin/sh
cd data/projects/mydir/abbc
perl autocorro.pl
followed by qsub shell1.sh
It takes the qsub, but does nothing. I check... (1 Reply)
Discussion started by: theawknewbie
1 Replies
8. Shell Programming and Scripting
I currently have two programs written in C named "remove" and "calculate.
When I call ./remove it removes some data from stdin.
When I call ./calculate which takes in an argument and also data from stdin and calculates and returns a value.
Currently writing a script that calls both of these... (1 Reply)
Discussion started by: kadanakanz
1 Replies
9. UNIX for Advanced & Expert Users
Hi all,
Today, I want to ask how to submit multiple qsub jobs.
I want to submit 100 .sh files for the simulations.
The name of files is
run_001.sh,
run_002.sh,
run_003.sh,
.....
.....
run_100.sh
Submitting each file manually are time-consuming, hence, I want to make another .sh file... (11 Replies)
Discussion started by: syg3434
11 Replies
10. Shell Programming and Scripting
I have multiple jobs and each job dependent on other job.
Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE.
I need an help how to start.
Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies
faxrm(1) mgetty+sendfax manual faxrm(1)
NAME
faxrm - remove fax jobs queued by faxspool(1)
SYNOPSIS
faxrm [-i] [job-ids...]
DESCRIPTION
Remove job(s) from the fax queue set up by faxspool(1).
faxrm removes queued fax jobs. Call with a list of job-IDs to remove specific jobs. Call with no job IDs to be asked interactively about
all jobs you own (if run by root, all jobs). For job-id, use the strings returned by faxq(1) (e.g. F000015), without the ``/JOB'' exten-
tion.
If you are not the owner of the fax job (as per the 'user xyz' statement inside the JOB file), you are not allowed to remove the fax job.
Only root is permitted to remove another user's faxes.
If the job is locked (most likely because sendfax(8) is active sending it), faxrm doesn't attempt to remove it. Instead, it prints a warn-
ing message on stderr and goes on to the next job.
EXAMPLES
faxrm F000005 F000033
OPTIONS
-i (interactive mode) Tells faxrm to ask for confirmation before removing the job (UNIMPLEMENTED).
BUGS
faxrm doesn't return diagnostic exit codes yet.
SEE ALSO
faxrunq(1), faxrunq(8), faxspool(1), faxq(1), faxqueue(5)
AUTHOR
faxrm is Copyright (C) 1993-2002 by Gert Doering, <gert@greenie.muc.de>.
greenie 23 Nov 02 faxrm(1)