03-25-2010
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in
this forum under
special homework rules.
Please review the
rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
If you did post homework in the main forums, please review the
guidelines for posting homework and repost.
Thank You.
The UNIX and Linux Forums.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Please let us know how to create a multiple instances of a job in the shell script.
Thanks.
Gangegowda K.G (1 Reply)
Discussion started by: Gangegowda
1 Replies
2. Shell Programming and Scripting
Hey Guys,
i was trying out a shell script which has to remove a file for every 90 mins. this is the code i came up with .
$ crontab -e file1
file1 contains
30 1 * * * * rm -r /folder1/folder2/somefile.txt
Now i need the cron to run for every 90 mins. the problem with this is... (8 Replies)
Discussion started by: Irishboy24
8 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am running a shell script whose execution often takes several hours to complete. Is there way I can get some kind of status update as the job is running? Something as simple as the start and the current time stamp.
Thanks,
Gussi (2 Replies)
Discussion started by: Gussifinknottle
2 Replies
4. Shell Programming and Scripting
Hello
I have a Zabbix Server were Linux kernel version 2.6.26-2-amd64 is running.
now my Question how can i make a script that does:
- connect with ssh to a device
- get the systeminfo (but only the interfaces, mac adresses, serialnumber and Software version)
- write the output in a file
... (18 Replies)
Discussion started by: Fraggy
18 Replies
5. UNIX for Dummies Questions & Answers
Hi am newbie for unix shell..
how to create a cron job for my already created shell script.:confused:
Thanks! (1 Reply)
Discussion started by: vidhyaS
1 Replies
6. Shell Programming and Scripting
Hi all,
I am trying to exit a shell script (c shell) while invoking a job (service) that must run in the background:
......
/mydir/runservice &
exit
......
There are downstream jobs and scripts that need to be run, but they all 'wait' for the script to exit. The script 'hangs' and... (3 Replies)
Discussion started by: CKT_newbie88
3 Replies
7. AIX
Hi.
I created schell script for sending messages to some processes in AIX:
#!/bin/sh
BSE=/infor/ERPLN/bse
BSE_TMP=/infor/ERPLN/bse/tmp
export BSE BSE_TMP
for i in `ps -eo pid,comm | grep bshell | cut -f 1 -d " "`
do
/something $i
done
Unfortunatelly this script does not work on... (6 Replies)
Discussion started by: giovanni
6 Replies
8. UNIX for Dummies Questions & Answers
I have simple script. like that, I am working on /usr/local/src and also under src folder there is a ft folder
#!/bin/ksh
#!/bin/bash
dirpath="/usr/local/src/ft"
echo $dirpath
cd $dirpath
echo displays ok "/usr/local/src/ft"
but that doesn't enter "ft" folder. stays in current... (4 Replies)
Discussion started by: F@NTOM
4 Replies
9. Shell Programming and Scripting
Hi Sir/Madam
I have a file data.txt like below
file_name date_of_creation
x 2/10/2012
y 8/11/2010
z 11/3/2013
a 2/10/2013
b 3/10/2013
c ... (4 Replies)
Discussion started by: kumar85shiv
4 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
condor_qsub
CONDOR_QSUB(1) User Commands CONDOR_QSUB(1)
NAME
condor_qsub - minimalistic qsub emulation for Condor
SYNOPSIS
condor_qsub [OPTIONS] [<command> [<command_args>]]
DESCRIPTION
Minimalistic emulation of SGE's qsub for Condor.
The primary purpose of this emulation is to allow SGE-style submission of dependent jobs without the need to specify the full dependency
graph at submission time. This implementation is neither as efficient as Condor's DAGMan, nor as functional as SGE's qsub/qalter. It merely
serves as a minimal adaptor to be able to use software original written to interact with SGE in a Condor pool.
In general condor_qsub behaves just like qsub. However, only a fraction of the original functionality is available. The following list of
options only describes the differences in the behavior of SGE's qsub and this emulation. Qsub options not listed here are not supported.
OPTIONS
-b <y|n>
If 'y', command and arguments given on the command line are wrapped into a shell script which is then submitted to Condor.
--condor-keep-files
This is a non-SGE option. If given, it will prevent condor_qsub from deleting temporary files (generated submit files, sentinel
jobs). This is mostly useful for debugging.
-cwd
If given, this option will cause the 'initialdir' value in the Condor submit file to be set to the current directory.
-e <filename|path>
Name of the file to contain the STDERR output of the job. By default this will be job_name.ejob_id[.task_id]. If an existing direc-
tory is specified, the file will be placed inside this directory using the default schema for the filename.
-h,--help
Print usage summary and option list.
-hold_jid <jid>
If given, the job will be submitted in 'hold' state. Along with the actual job a 'sentinel' job will be submitted to Condor's local
universe. This sentinel watches the specified job and releases the submitted job whenever the job has completed. The sentinel
observes SGE's behavior to detect job exiting with code 100 and not start depedent job in this case. If a cluster id of an array job
is given the dependent job will only be released after all individual jobs of a cluster have completed.
-l <ressource spec>
This option is currently ignored.
-m <a|e|n><...>
SGE's notification labels will be translated (approximately) into Condor's notifications states (Never, Error, Complete).
-M <email>
Added as 'notify_user' to the submit file.
-N <jobname>
Determines the default name of logfile (stdout, stderr).
-o <filename|path>
See -e option, but for a job's stdout.
-p <int>
Added a 'priority' to the submit file.
-r <y|n>
This option is currently ignored.
-S <shell>
Path to a shell binary for script execution.
-shell <y|n>
This option is currently ignored.
-t <start>[-<stop>[:<step>]]
Task ID specification for array job submissions.
-q <queue name>
This option is permanently ignored, as Condor doesn't have multiple queues.
-V
If given, 'getenv = True' is added to the submit file.
--version
Print version information and exit.
This script is released under the Apache V2.0 License. It was written by Michael Hanke <michael.hanke@gmail.com>.
condor_qsub 0.1 September 2012 CONDOR_QSUB(1)