09-02-2010
Or as I'd put it: shell scripting may be involved in your job, and you can use it to improve or simplify your job, but it probably won't be your job.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Iam using grep command as follows in my script
read_file1()
{
cat file1.txt | while read line
do
grep $line file2.txt >> out.txt
done
}
read_file1
This way the performance is very slow. We are having lacks of records in file1 and file2
how can i improve the... (3 Replies)
Discussion started by: nivas
3 Replies
2. Shell Programming and Scripting
Hi,
iam having the file as follows:
ABCDEFGH|0987654321234567
ABCDEFGH|0987654321234523
ABCDEFGH|0987654321234556
ABCDEFGH|0987654321234545
POIUYTRE|1234567890890678
POIUYTRE|1209867757352567
POIUYTRE|5463879088797131
POIUYTRE|5468980091344456
pls provide me the split command
... (14 Replies)
Discussion started by: nivas
14 Replies
3. Shell Programming and Scripting
I want to compare some files.
say iam having 2 sets of files ,each is having some 10 files.
ie,
file1
1a.txt
1b.txt
1c.txt
...
file2
2a.txt
2b.txt
2c.txt
...
i need to read line by line of this files parralley..
ie.. i want to read file1 first line that is 1a.txt and file2... (2 Replies)
Discussion started by: nivas
2 Replies
4. Shell Programming and Scripting
Hi,
Iam having file1 as follows:
ERTYUIOU|1234567689089767688
FDHJHKJH|6817738971783893499
JFKDKLLUI|9080986766433498444
FILE2
ERTYUIOU|1234567689089767688 resh@abc_com 767637218328322332 893589893499 asdsddssd ... (21 Replies)
Discussion started by: nivas
21 Replies
5. Shell Programming and Scripting
Hi,
Iam having the files as follows:
file1
aa
aa
aa
aa
ab
ac
ad
ae
file2
aa
aa
ab
Outputfile: (20 Replies)
Discussion started by: nivas
20 Replies
6. Shell Programming and Scripting
Hi All,
How do I code a password with multiple special characters in it.
Example: password is P#utar&@
None of the belwo options worked
1. passwd="P#utar&@"
2. passwd='P#utar&@'
Any help will be greatly appreciated. (3 Replies)
Discussion started by: afredri
3 Replies
7. Shell Programming and Scripting
I was trying out some new series to get it print
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
and the seond one is
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
but was unable to get the result. (5 Replies)
Discussion started by: harjinder
5 Replies
8. Shell Programming and Scripting
I am working in production support in an leading bank and more of my job is more in oracle/plsql. I am learning unix shell scripting and have started development in the same.I would like to know regarding the scope of these two in the industry.Also would like to know about other scripting... (2 Replies)
Discussion started by: jesthomas
2 Replies
9. Shell Programming and Scripting
hi,
i am trying this while loop and i only want that it should only read food as pizza....no other entry should be taken here.
#!/usr/bin/perl -w
$food = " ";
while ( $food ne 'pizza' )
{
print 'enter what you had last night: ';
chomp ($food = <STDIN>);
#print $food ;
}
... (2 Replies)
Discussion started by: kullu
2 Replies
10. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
LEARN ABOUT DEBIAN
globus_gram_protocol_job_state
GRAM Job States(3) globus gram protocol GRAM Job States(3)
NAME
GRAM Job States -
Enumerations
enum globus_gram_protocol_job_state_t { GLOBUS_GRAM_PROTOCOL_JOB_STATE_PENDING = 1, GLOBUS_GRAM_PROTOCOL_JOB_STATE_ACTIVE = 2,
GLOBUS_GRAM_PROTOCOL_JOB_STATE_FAILED = 4, GLOBUS_GRAM_PROTOCOL_JOB_STATE_DONE = 8, GLOBUS_GRAM_PROTOCOL_JOB_STATE_SUSPENDED = 16,
GLOBUS_GRAM_PROTOCOL_JOB_STATE_UNSUBMITTED = 32, GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_IN = 64, GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_OUT
= 128, GLOBUS_GRAM_PROTOCOL_JOB_STATE_ALL = 0xFFFFF }
Detailed Description
The globus_gram_protocol_job_state_t contains information about the current state of the job as known by the job manager.
Job state changes are sent by the Job Manager to all registered clients. A client may ask for information from the job manager via the
status request.
Enumeration Type Documentation
enum globus_gram_protocol_job_state_t
GRAM Job States.
Enumerator:
GLOBUS_GRAM_PROTOCOL_JOB_STATE_PENDING
The job is waiting for resources to become available to run.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_ACTIVE
The job has received resources and the application is executing.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_FAILED
The job terminated before completion because an error, user-triggered cancel, or system-triggered cancel.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_DONE
The job completed successfully.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_SUSPENDED
The job has been suspended. Resources which were allocated for this job may have been released due to some scheduler-specific
reason.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_UNSUBMITTED
The job has not been submitted to the scheduler yet, pending the reception of the GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST
signal from a client.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_IN
The job manager is staging in files to run the job.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_OUT
The job manager is staging out files generated by the job.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_ALL
A mask of all job states.
Author
Generated automatically by Doxygen for globus gram protocol from the source code.
Version 11.3 Mon Apr 30 2012 GRAM Job States(3)