10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
Have a query
How to check for a process and if down start it , try if for 2 times and its not starting don't do it
My code is working to some extent but while starting try starting both times.
Please advise , whats wrong here ?
if you have any other approach please do share.
My... (1 Reply)
Discussion started by: abhaydas
1 Replies
2. Shell Programming and Scripting
I have some server ( IBM , Dell ) , our data center is not in the same location with office , therefore , I do not know if the HD lamp is flash when the HD is fault , can advise if I can write a script to check if the HD is normal running or not ?
thanks (1 Reply)
Discussion started by: ust
1 Replies
3. Shell Programming and Scripting
does anyone know any shell script command that can check if PSU and fan needs to be replaced?
examples will also be greatly appreciated.
thanks! (5 Replies)
Discussion started by: h0ujun
5 Replies
4. Shell Programming and Scripting
Hi all,
I am using expect (novice) and would like to check a DB status before kicking off a batch job.
Can anyone help me with such code?
Just a simple check to see if the database is up and running would be suffice.
Thanks (2 Replies)
Discussion started by: Hopper_no1
2 Replies
5. Shell Programming and Scripting
Hello All,
I'm new in shell scripting and would like to write an automated script that will check few jobs for the completion, and restart the process based on the jobs status. I am not quite sure how do I check the job status... Can someone please help? Any help will be appreciated. Thanks in... (1 Reply)
Discussion started by: mohullah
1 Replies
6. Shell Programming and Scripting
Hi I have following code
I want If whole code executes successfully then return true If found any error then print the error
I tried if ; then
But this checks only for the just upper line execution
#!/bin/bash
PATH1=/var/log/mysql
PATH2=/home/ankur/log
FILE1=mysql-bin.index... (4 Replies)
Discussion started by: kaushik02018
4 Replies
7. Shell Programming and Scripting
Hi we have weblogic deployed under Linux Enterprise 5 .
Now i want to write a script that checks if weblogic is running or not
I have found that weblogic uses Java as process .
Can i do this way :
my Script File :
Echo Checking Status
if
then
echo Server Running
else
echo... (2 Replies)
Discussion started by: Ravi Pavanv
2 Replies
8. Shell Programming and Scripting
Hi,
I wrote a script that is generating a file and then i have to ftp this file on another server. For this i am using mput to put the file.
How can i make sure that the file was ftp'd correctly to the another server, is there any status check ?
Thanks. (1 Reply)
Discussion started by: smc3
1 Replies
9. HP-UX
Hi All,
I am having shell scripts that make use of ftp to fetch data from one hp-ux box to another. Currently we are migrating these scripts to sftp. Is it a straight forward one? Also, please clarify my following doubts:
1) In ftp we check the success of ftp by verifying the status codes... (4 Replies)
Discussion started by: fisa
4 Replies
10. Shell Programming and Scripting
Hi,
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002
ST~997~0001
AK1~SH~247
AK2~856~2470001
AK5~A
AK2~856~2470002
AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies