10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two shell scripts, one written with xargs for parallel processing (p1) and the other written in old school way (p3) .
when I execute them, i get the below values.
$ time ./p1
real 0m25.36s
user 0m0.32s
sys 0m0.80s
$ time ./p3
real 0m23.25s
user 0m6.20s
sys ... (4 Replies)
Discussion started by: luhah
4 Replies
2. Shell Programming and Scripting
i have a very big script i have that i'd like to add a timeout to.
this script runs on a several remote host. i update this script with timeout clause and then copy it over to all the hosts on which it is currently on.
basically, i want the timeout to make the script abort/exit if it's... (1 Reply)
Discussion started by: SkySmart
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Quick question, someone will hopefully be able to stop me from :wall:.
I currently have a script which calls a script on a remote machine and captures the stdout to a file:
ssh <user>@<server> > output 2>/dev/null <<_EOF
/path/script.ksh
_EOF
This runs the script but the... (4 Replies)
Discussion started by: chris01010
4 Replies
4. Shell Programming and Scripting
This is Input - starts with Storage Group Name and ends with Shareable and the loop continues all I need is Storage group name and Alu numbers in the below output format requested.
Storage Group Name: abcd
Storage Group UID: 00:00:000:00:0:0:0
HBA/SP Pairs:
HBA UID ... (6 Replies)
Discussion started by: maddysa
6 Replies
5. Shell Programming and Scripting
Hi,
I want to display both html and plain in email in my script.
i tried the below code
code:
export MAILTO="ssi@a.com"
export CONTENT1="$htmlfile"
export CONTENT2="$plainfile"
export SUBJECT="INFO "
export MAILFROM="si@a.com"
(
echo "Subject: $SUBJECT"
echo "MIME-Version:... (4 Replies)
Discussion started by: sreelu
4 Replies
6. Shell Programming and Scripting
I have a Bash script where, in a loop, I access several urls.
Sometimes, if an url is not available, lynx hangs, and the script does not continue. How can I time out the lynx request when it takes more than, 10 Seconds, but continue with the other jobs...
For some reason lynx does not care... (1 Reply)
Discussion started by: lowmaster
1 Replies
7. Shell Programming and Scripting
hy,
i have an html file
file1.html
i want to display a browser i.e html file1 from a ksh script
-------------------------------------------------------------------
#!/bin/ksh
----------------------------------------------\\
so can u tell me how to display file1.html as a browser.wat... (2 Replies)
Discussion started by: ali560045
2 Replies
8. Shell Programming and Scripting
how to invoke html file from a ksh shell
plz help......... (4 Replies)
Discussion started by: ali560045
4 Replies
9. Shell Programming and Scripting
Hi
I made a small script which uses ksh.
When i run the script then i get the following error
However when i run each of the commands on the commandline they get executed and provide the desired output. i cant figure out why the script is not running.
Kindly Help
Thanks in... (3 Replies)
Discussion started by: PradeepRed
3 Replies
10. Shell Programming and Scripting
I have a problem with the execution of a ksh as deamon on linux. I explain you first the context.
We have developped a Java program that execute every minutes an external (that we don't have developped) program with a config file in parameter.
The Java program is runned as deamon with a perl... (0 Replies)
Discussion started by: adrian.mihai
0 Replies