I have an ftp user, which has been setup to run ftp jobs to a specific machine (different jobs). for the first job i created .netrc in the ftp users home directory and added the appropriate commands
machine FTPBOX01 login user1 password xxx
macdef init
etc
etc
get file
bye
I use the... (3 Replies)
Is there any way I can submit a job to a remote machine and return immediately without withing for the job to finish?
What I mean is this...using rsh I can submit a job to a remote machine like this:
rsh remotemac1 job.sh
But this doesn't return untill the job has finished and as a... (3 Replies)
I have a list of jobs. their expected start time and their expected duration.
my needs are
monitor multiple jobs (starting at different time and their execution time also differs)
Need to mail if any of the job running longer than its expected duration.
Whats the efficient way to scripting... (1 Reply)
Hello,
I would like to write a perl script which executes several jobs. The key thing is I only want 4 jobs to be executed at one time (that's because my machine as 4 cpu, and I want one job per cpu). Is there any way that I can get perl to co-operate with me in this?
Thanks! (1 Reply)
Hello,
I have a perl script that takes in one file of input and outputs to a file. I would like to run this script on several input files, and I would like to run it with qsub, something like this:
Input files:
FileListDssp.txt.numaa
FileListDssp.txt.numab
FileListDssp.txt.numac
etc..
... (1 Reply)
I have a sequence of tasks that I routinely run and I'm trying to parallelize certain portions of the sequence. Specifically, there are 3 tasks which all read from the same file, each performing different operations and writing to their own seperate file. I was wondering if I could execute these... (3 Replies)
Hi,
I ran two crontab commands
using:
crontab program1
crontab program2
However when I type crontab -l only the second cron job shows up, how do I see all cron jobs running and how do I edit all at the same time
Thanks in Advance
S:D (10 Replies)
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)
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)
I have two scripts which I'm tying to run one after the other- this is what I've tried:
00 14 * * * /path/one.sh && /path/two.sh
I've also tried putting each script on a different line:
00 14 * * * /path/one.sh
00 14 * * * /path/two.sh
Can this be done? (1 Reply)
Discussion started by: $shell_Learner
1 Replies
LEARN ABOUT DEBIAN
pbs
pbs(1B) PBS pbs(1B)NAME
pbs - general information on pbs
DESCRIPTION
PBS stands for Portable Batch System. It is a networked subsystem for submitting, monitoring, and controlling a work load of batch jobs on
one or more systems. More information about PBS is available in the PBS Users Guide.
Batch means that the job will be scheduled for execution at a time chosen by the subsystem according to a defined policy and the availabil-
ity of resources. For a normal batch job, the standard output and standard error of the job will be returned to files available to the
user when the job is complete. This differs from an interactive session where commands are executed when entered via the terminal and
output is returned directly to the terminal. PBS also supports an interactive batch mode where the input and output is connected to the
user's terminal, but the scheduling of the job is still under control of the batch system.
A job is typically a shell script and a set of attributes which provide resource and control information about the job. A job does not
have to be submitted on the system where it will run, tt can be submitted on any system with the PBS commands and access to the execution
system, see qsub(1B). Output will be returned to the system from which the job was submitted unless directed otherwise.
Attributes offer control over when a job is eligible to be run, what happens to the output when it is completed and how the user is noti-
fied when it completes. The attributes of the job may be specified on the command line or in the job script when the job is submitted.
For information about job attributes, see qsub(1B) and pbs_job_attributes(7B).
One important attribute is the resource list. The list specifies the amount and type of resources needed by the job in order to execute.
The list also implies a hard upper limit on usage of those resources. When the limit is reached, the job is terminated. The types of
resources available to a job vary with the system architecture. For a list of resources supported on the default system, see
pbs_resources(7B). There are man pages for other systems types as well, see pbs_resources_aix4(7B), pbs_resources_fujitsu(7B),
pbs_resources_irix5(7B), pbs_resources_solaris5(7B), pbs_resources_sp2(7B), pbs_resources_sunos4(7B), or pbs_resources_unicos8(7B).
Once a job has been submitted, it may be monitored by use of the qstat(1B) command. Two forms of output are available with the qstat com-
mand. The default form is the short display. Information about a job is limited to a single line. Complete information about the job
or jobs is available through qstat with the -f option. Information will be given about all jobs in the system, all jobs in specified
queues, or only specified jobs.
When displaying status of jobs, you will see in which queue the job resides. In PBS a queue is just a collection point for jobs, it does
not imply any execution ordering. That ordering is determined by a scheduling policy implemented by the system administration.
Other commands of interest which have man pages of their own are:
qalter Alter a job's attributes.
qdel Delete a job.
qhold Place a hold on a job to keep it from being scheduled for running.
qmove Move a job to a different queue or server.
qmsg Append a message to the output of an executing job.
qrerun Terminate an executing job and return it to a queue.
qrls Remove a hold from a job.
qselect Obtain a list of jobs that met certain criteria.
qsig Send a signal to an executing job.
SEE ALSO qalter(1B), qdel(1B), qhold(1B), qmove(1B), qmsg(1B), qrerun(1B), qrls(1B), qselect(1B), qsig(1B), qsub(1B) and the PBS User Guide. Start-
ing with qsub(1B), you can find all other available PBS man pages by following references in the "See Also" section.
Localpbs(1B)