03-12-2012
Nice job narrowing it down, ctsgnb.
Regards,
Alister
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello,
i have a listing (let say ABC) consists of the below:
:
public database link
public synonym
role
rollback segment
:
when i run the below for loop,
for i in `more ABC`
do
echo "$i"
done
it gives me,
:
public
database (4 Replies)
Discussion started by: newbie168
4 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
I have a string which is of multiple line,I have to split the string by reading one line in each iteration and keep it in a string.I am keeping all the file names in side as string returned by the ls command ,I am stocked at the point of spliting the string to segragate each file.
... (4 Replies)
Discussion started by: Deekay.p
4 Replies
3. Shell Programming and Scripting
So, I want to read line-by-line a text file with unknown number of files....
So:
a=1
b=1
while ; do
b=`sed -n '$ap' test`
a=`expr $a + 1`
$here do something with b etc
done
the problem is that sed does not seem to recognise the $a, even when trying
sed -n ' $a p'
So, I cannot read... (3 Replies)
Discussion started by: hakermania
3 Replies
4. UNIX for Dummies Questions & Answers
So, the beginning of my script will cat & grep a file with the output directed to a new file. The data I have in this file needs to be parsed, read and evaluated.
Basically, I need to identify the latest date/time stamp and then calculate whether or not it is within 15 minutes of the current... (1 Reply)
Discussion started by: hynesward
1 Replies
5. Shell Programming and Scripting
I need some help. I would like to read in a text file.
Take a variable such as ROW-D-01, compare it to what's in one line in the text file such as PROD/VM/ROW-D-01 and only input PROD/VM into a variable without the /ROW-D-01.
Is this possible? any help is appreciated. (2 Replies)
Discussion started by: xChristopher
2 Replies
6. Shell Programming and Scripting
Hi,
i have a scenario were i should compare a few fields from each line then increment a variable based on that.
Example file
989878|8999|Y|0|Y|N|V
989878|8999|Y|0|N|N|V
989878|8999|Y|2344|Y|N|V
i have 3 conditions to check and increment a variable on every line
condition 1 if ( $3... (4 Replies)
Discussion started by: selvankj
4 Replies
7. Shell Programming and Scripting
Hi,
I want to read a live log file line by line and considering those line which start from time stamp;
Below code I am using, which read line but throws an exception when comparing line that does not contain error code
tail -F /logs/COMMON-ERROR.log | while read myline; do... (2 Replies)
Discussion started by: ketanraut
2 Replies
8. Shell Programming and Scripting
$ cat bashtest
#!/usr/local/bin/bash
echo <<<"EOF"
line1
line2
line3
EOF
$ ./bashtest
./bashtest: line 3: line1: command not found
./bashtest: line 4: line2: command not found
./bashtest: line 5: line3: command not found
./bashtest: line 6: EOF: command not found
What am i doing... (4 Replies)
Discussion started by: urello
4 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
i want to write a shell script read below file line by line and want to exclude the lines which contains empty value for MOUNTPOINT field.
i am using centos 7 Operating system.
want to read below file.
# cat /tmp/d5
NAME="/dev/sda" TYPE="disk" SIZE="60G" OWNER="root"... (4 Replies)
Discussion started by: balu1234
4 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)