06-14-2010
How about just doing a wget on a web page. Alert only when wget fails.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everybody
I want to create 20 file using simple script - listed bellow-.
But the script doesn't work.
I hope anyone guide me to correct this script
----------------
The script
integer number=01
until (($number==21))
do
>TELE-LOG-$number
number=$number+01
echo $number
done
exit... (4 Replies)
Discussion started by: so_friendly
4 Replies
2. Shell Programming and Scripting
why won't below work?
I am trying to see
a)sipfile has username of the system.
b)it will read the sipfile and do a grep function against the /etc/passwd
c)it will save that output to /tmp/result..
but my script is just hanging...
#!/usr/bin/perl -w
open(SIPFILE, "</tmp/sipfile")
... (4 Replies)
Discussion started by: hankooknara
4 Replies
3. Shell Programming and Scripting
Hi all.
I am not a DBA. But I do have responsibility for making sure the archive logs dont fill up and cause the database. This happend the other day while I was absent (sick) and I got a good ticking off for it.
Needless to say I dont want this happen!
Could anyone lend a hand to a... (8 Replies)
Discussion started by: Incremental
8 Replies
4. Shell Programming and Scripting
So I need a script that does the following:
If a certain user is logged in
Run `command`
Else
Echo “incorrect user”
This is my first stab...which doesn't work:
#!/bin/bash
X="user=`ls -l /dev/console | cut -d " " -f 4`"
Y="foobar"
echo $X
echo $Y (4 Replies)
Discussion started by: doubleminus
4 Replies
5. Shell Programming and Scripting
hi all,
i have installed simple cgi-script
under apache/cgi-bin directory
hello.cgi
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print <<END_HTML;
<html>
<head></head>
<body>Hello, World!</body>
</html>
END_HTML
when i hit the url... (6 Replies)
Discussion started by: raghur77
6 Replies
6. Shell Programming and Scripting
Hi All,
My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert:
#!/bin/bash
export DBALIST="abc@xyz.com"
df -k /oradata/xyz/archive > dfk.result
archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4`
if ]
then... (5 Replies)
Discussion started by: a1_win
5 Replies
7. Solaris
hi ,
i have install solaris 11 on my server and using vm virtual box i have install solaris 10 on it. But on solaris 10 my internet is not working.
From my base OS solaris 11 internet is working fine but not on solaris 10. for testing purpose i have also install another os centos on Virtual... (2 Replies)
Discussion started by: zeeshan047
2 Replies
8. Shell Programming and Scripting
Hi all,
Please guide me writing this script
Follwing is the file which I have created, which contains the files to be copied.
cat system1-dr.txt
/etc/passwd
/etc/shadow
/etc/group
/etc/vfstab
/etc/profile
/etc/default/init
/etc/shells
/etc/dfs/dfstab
/etc/dfs/sharetab... (11 Replies)
Discussion started by: manalisharmabe
11 Replies
9. Shell Programming and Scripting
I have the below sftp script to transfer a file from a linux host(source) to another linux host(target). Public key is already set up in target host and I am able to transfer file using sftp from source to target.
But not sure why the below script(ftp_script) is not working.
Any help in this... (3 Replies)
Discussion started by: Armaan
3 Replies
10. Shell Programming and Scripting
Hi All,
My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert:
Code:
#!/bin/bash
export DBALIST="abc@xyz.com"
df -k /oradata/xyz/archive > dfk.result
archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4`
if... (6 Replies)
Discussion started by: harveyclayton
6 Replies
SPKI(5) Lsh Manuals SPKI(5)
NAME
SPKI - Simple Public Key Infrastructure formats
DESCRIPTION
The IETF Simple Public Key Infrastructure Working Group has defined a format for storing, transmitting and manipulating certificates to
support security in a wide range of Internet applications which will require the use of public key certificates.
For the definition of the SPKI format, please refer to [SPKI].
The format of SPKI objects is a simplified form of S-expression. An S-expression is a list enclosed in matching "(" and ")", similar to the
recursive list data structure in of the LISP and Scheme programming languages.
Canonical S-expression
A canonical S-expression is a unique representation of an S-expression which may contain arbitrary binary byte strings. For transport over
a 7-bit channel, it may be base64 (see [RFC2045]) encoded.
Advanced S-expression
The advanced S-expression format is a complexer form of an S-expression which is not necessarily unique. It is more suited for human read-
ing than the canonical S-expression format.
EXAMPLE
Examples SPKI certificates can be found in [SPKI].
REFERENCES
<URL:http://www.clark.net/pub/cme/html/spki.html>
Home-page of the IETF SPKI working group.
<URL:http://theory.lcs.mit.edu/~rivest/sexp.html>
Home-page of the S-expression technology.
Carl M. Ellison, SPKI Requirements, Internet draft,
<URL:http://www.ietf.org/internet-drafts/internet-drafts/draft-ietf-spki-cert-req-02.txt>,
24 October 1998.
[SPKI] Carl M. Ellison, Bill Frantz, Butler Lampson, Ron Rivest, Brian M. Thomas and Tatu Ylonen, Simple Public Key Certificate, Internet
draft (expired),
<URL:http://www.ietf.org/internet-drafts/internet-drafts/draft-ietf-spki-cert-structure-05.txt>,
13 March 1998.
Carl M. Ellison, Bill Frantz, Butler Lampson, Ron Rivest, Brian M. Thomas and Tatu Ylonen, SPKI Certificate Theory, Internet draft,
<URL:http://www.ietf.org/internet-drafts/internet-drafts/draft-ietf-spki-cert-theory-04.txt>,
17 November 1998.
Carl M. Ellison, Bill Frantz, Butler Lampson, Ron Rivest, Brian M. Thomas and Tatu Ylonen, SPKI Examples, Internet draft (expired),
<URL:http://www.ietf.org/internet-drafts/draft-ietf-spki-cert-examples-01.txt>,
10 March 1998.
[RFC2045] N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, 2 December
1996.
AUTHOR
This man-page was written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>.
SEE ALSO
lsh_keygen(1)
LSH
JANUARY 1999 SPKI(5)