10 More Discussions You Might Find Interesting
1. 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
2. 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
3. UNIX for Advanced & Expert Users
I have master job which will run based on the sub jobs status.
In the master job I am giving the condition like,
condition: s(sub_job) f(sub_job)
This scenario will work if the sub job status is success or failed. but I want to run my master job even if the sub_job was... (1 Reply)
Discussion started by: Kattoor
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
I have a cron job which runs every ten minutes, now i hav to check the process whether it is running or not only once and then this should be sent to a log file..
00,10,20,30,40,50 * * * * a
ps = 'ps -ef |grep a '
echo " Success" >... (3 Replies)
Discussion started by: NehaKrish
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
FILE1=mysql-bin.index... (4 Replies)
Discussion started by: kaushik02018
7. Shell Programming and Scripting
I need to run a ftp command in one of my scripts and I need to evaluate what happens after it's done. The problem is the script would not capture the ftp responses. If I type the same thing on the command
line, I get all kinds of responses. I would like to capture the same responses in... (2 Replies)
Discussion started by: april
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
9. Shell Programming and Scripting
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
AK5~A... (3 Replies)
Discussion started by: isingh786
10. Shell Programming and Scripting
I'm using the below script to ftp the file passed as 3rd argument. I'm passing the source and destination directory as 1st and 2nd argument. This script does the ftp successfully.
The script displays the echo before ftp stmt and does the ftp and does not display the stmts after that... (4 Replies)
Discussion started by: acheepi