"echo always returns zero" is the rule I was looking for, when I couldn't even think of it!
I have implemented your suggested code, but /home/jj/Documents/cirrhus9/Accounts/Norveld/3WeekTest/norveld.test had an apache entry. A typo probably prevented the email from being sent.
The extra "fi" was probably a bad hack at some ! logic snippet I had since removed... I dunno, I tend to "hack now, debug during-run" (complete with "set -x" statement.)
Since this post, I reviewed Chapter 6 of "Linux Shell Script Programming" by Todd Meadors - Copyright 2003) where it illustrated a clue...
on Page 215
I will change some detail in your code and watch the inbox!
Thanks for the code and have a Prosperous New Year.
Edit:
Changed temp=$(curl -Is http://xxx.xxx.xx.xx | \grep -E '^Server' | cut -c9-) for 7 passes and no email. (I used the wrong IP)...
Hi,
I am trying to write a script, which queries a db to get the names of processes, stores it in a file and then checks if that process is running on a remote server. However I am not getting it right, could anyone help me out.
#!/bin/sh
echo "select Address from Device where Cust =... (5 Replies)
I want to write a unix shell script that will check if a process (say debu) is running in the server or not. If no , then send a mail to the corresponding person to start the process??? (2 Replies)
Hi everybody,
Is there a way to do a stat of files on a ftp server? I have a database which is populated by the contents of these files. I want to setup a crontab to check if there has been an update to these files. If the file has been updated I will download it and then update my database.
... (2 Replies)
Hello,
Little new to unix scripting. I need to create a script that will do the following.
Check in a directory for a file that will be present between 19:00 and 23:00. If the file is present a e-mail then needs to be sent to myself confirming. I did write something basic...as below...
... (3 Replies)
Hi Rockers,
I hope u r dng good one. I have a one question is in unix with informatica . I need a unix script to check whether particular file exists in the folder , If it means we have a informatica server , so we can start the informatica server by accessing that file. Every week we have... (0 Replies)
Hello EveryOne,
I am new to *ix. some could help to write a script.
Problem :- Have to ssh to so many client and check port or filesystem usage, so thinking to automate using script.
What i Need:- when i run script on my Launchpad server, it should
Should ask and SSH to user provided... (3 Replies)
Hello,
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine.
please help me where i am... (8 Replies)
Hello,
I am not efficient in script, so need some help to create a small script.
I have file, which have list of all IPs. All those IPs can be connected from a gateway server with "sudo ssh 10.63.xx.xx". We do not have reverse lookup for IPs, so I want script to login to each server, return... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT DEBIAN
slacon
slacon.f(3) LAPACK slacon.f(3)NAME
slacon.f -
SYNOPSIS
Functions/Subroutines
subroutine slacon (N, V, X, ISGN, EST, KASE)
SLACON
Function/Subroutine Documentation
subroutine slacon (integerN, real, dimension( * )V, real, dimension( * )X, integer, dimension( * )ISGN, realEST, integerKASE)
SLACON
Purpose:
SLACON estimates the 1-norm of a square, real matrix A.
Reverse communication is used for evaluating matrix-vector products.
Parameters:
N
N is INTEGER
The order of the matrix. N >= 1.
V
V is REAL array, dimension (N)
On the final return, V = A*W, where EST = norm(V)/norm(W)
(W is not returned).
X
X is REAL array, dimension (N)
On an intermediate return, X should be overwritten by
A * X, if KASE=1,
A**T * X, if KASE=2,
and SLACON must be re-called with all the other parameters
unchanged.
ISGN
ISGN is INTEGER array, dimension (N)
EST
EST is REAL
On entry with KASE = 1 or 2 and JUMP = 3, EST should be
unchanged from the previous call to SLACON.
On exit, EST is an estimate (a lower bound) for norm(A).
KASE
KASE is INTEGER
On the initial call to SLACON, KASE should be 0.
On an intermediate return, KASE will be 1 or 2, indicating
whether X should be overwritten by A * X or A**T * X.
On the final return from SLACON, KASE will again be 0.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Contributors:
Nick Higham, University of Manchester.
Originally named SONEST, dated March 16, 1988.
References:
N.J. Higham, 'FORTRAN codes for estimating the one-norm of
a real or complex matrix, with applications to condition estimation', ACM Trans. Math. Soft., vol. 14, no. 4, pp. 381-396, December
1988.
Definition at line 116 of file slacon.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.1 Sun May 26 2013 slacon.f(3)