folks;
i'm trying to write a shell script to do the following:
1. i have a file with 39 fields, i'm trying to add 10 more fields with (!) as a field separator. with the following requirement:
if field number 20 has a value, then field number 40 will show as (!M!), and if the field number 20 does... (2 Replies)
Hi guys...
I am a newbie to scripting... I have a small requirement... I dont whether u r clear with my requirement... But plz try to help me...
Like,
tell me some kind of scripts that can help me in retreiving the data from the datasets.
Regards,
Mahesh... (1 Reply)
Hi guys...
I am newbie to Shell Scripting...
I am querying the Oracle database.I want a Shell script for fetching some data from datasets in Oracle database and displaying in an excel sheet.This is my requirement..
Can u plz help me guys..
Regards,
Mahesh... (4 Replies)
Hi Guys,
I am quite new to Shell Scripting... I need ur help.. This is very urgent.
The thing is like,
I need to match a IP address (ex 192.168.200.56) i.e, xxx.xxx.xxx.xx inside a KSH script,but if we enter in different format other than the specified format (ex jjj.ksj., 1.0...), it should... (3 Replies)
Hello,
Guys I am having a sql script file which contains some sql statements including inserting values, One column is of the data type date.
Now i am having a KSH script for inserting values via this script into the database.
The problem I am facing that when I am inserting value in the... (1 Reply)
Hello,
I have an ASCII file (many files of the same format, but different dates and numbers) in the format like below:
2008.01.02,08:00,1.46520,1.46520,1.46410,1.46440,70
2008.01.02,08:05,1.46450,1.46560,1.46440,1.46540,79
2008.01.02,08:10,1.46530,1.46540,1.46490,1.46500,46... (8 Replies)
I am having an issue with a script that I created today, my first attempt at this, and was wondering if anyone can give me insight to what changes need to be made. Below is a copy of the script that I have written. WEe are trying to monitor whether or not a services is running. I do have a cron... (1 Reply)
I am having a problem. which I have described below>>
I have to run a script with the format : <File_name><Start_date><End_date>
abcd.sh 19-JAN-2015 01-May-2014
problem is I need to compare these two dates and throw an error as start date must be less than or equal to end date.
But... (13 Replies)
Hi All,
I am facing a problem when i am trying to run shell script more than 5 times.
I have shell script(.sh file) which ran perfectly fine in the early attempts(1,2,3,4 runs). But if i try to run the script more number of times, i am facing the below error message.
Too many ('s
I do... (3 Replies)
Hi Experts,
I'm stuck with a single liner bash script. Need your help to fix it.
Let me brief you that what is my expectations from this script.
I need the interfaces configured for a list of servers, their respective IP address and FQDN in a output file. The output should be in the same... (3 Replies)
Discussion started by: arun_adm
3 Replies
LEARN ABOUT REDHAT
lamhalt
LAMHALT(1) LAM TOOLS LAMHALT(1)NAME
lamhalt - Shutdown the LAM/MPI run-time environment.
SYNOPSIS
lamhalt [-dhHv]
OPTIONS -d Turn on debugging mode. This implies -v.
-h Print the command help menu.
-i Return immediately (even before the LAM universe is fully halted); deprecated
-H Suppress printing the header message.
-v Be verbose.
DESCRIPTION
The lamhalt tool terminates the LAM software on each of the nodes that were initially booted with lamboot and/or lamgrow. No additional
command line arguments are necessary - lamhalt simply sends a message to each remote node telling it to shut down. Each remote node
invokes tkill(1) locally to shut down. See tkill(1) for a description of how LAM is terminated on each node.
lamhalt may fail if one of the remote nodes has failed, and does not respond to lamhalt's queries. In this case, the lamwipe(1) command
should be used to shut down LAM/MPI. If lamwipe(1) fails, the user can manually invoke tkill(1) on the troubled node. In extreme cases,
the user may have to terminate individual LAM processes with kill(1).
Older versions of lamhalt would return 1-3 seconds before the entire LAM universe was shut down. This caused problems for some LAM users,
particularly those who had scripts that invoked lamboot immediately after lamhalt. lamhalt has therefore been changed to wait until the
entire LAM universe is down before exiting. This makes the execution of lamhalt take a few seconds (typically less than 5).
For users who want the old lamhalt behavior, use the -i (or "immediate") switch, which will cause lamhalt to return immediately, likely
before the entire LAM universe has been taken down.
EXAMPLES
lamhalt -d
Shutdown LAM on the machines and be verbose about its actions.
SEE ALSO recon(1), lamboot(1), tkill(1), bhost(5), lam-helpfile(5), lamwipe(1)LAM 7.1.4 July, 2007 LAMHALT(1)