Hi All,
We now have a Log file which has time stamps of all the scripts ran. It has start
time and end time. I now have a requirement to send mail to the Admin after the script finishes running.
Can some one help me with a Script which will send mail with Start time and
End time of the... (2 Replies)
Hi all,
After expect catches the string I specify, is there a way to ask expect wait for sometime before running the next send command ?
So my script looks like following,
expect "some string"
#How to ask expect to wait for a while
send "next command"
The reason I want to do this is... (0 Replies)
Hi guys, I have a issue with a background process, I need to update the value of a variable in that process which is running at this time and it will be running for at least 2 days.
Any idea?
I will apreciate your help. regards.
Razziel. (2 Replies)
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Hi. A shell scripting newbie here. I am trying to write a script that will create a running total of Sales, and increment a counter for each Sales entry, but when I executed the program it never stopped.
counter=0
Sales=0
echo "enter sales price"
read sales
while
do
let counter=counter+1... (6 Replies)
Hi,
I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
my request is:
i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job)
Scenario:
logged in to machine abc
went to particular path: cd /a/b/c
then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
I have set up a cron, which will send the mail with not runnnig jobs in the script.sh
15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com
But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 Replies)
Discussion started by: learner987
2 Replies
LEARN ABOUT REDHAT
netdump
NETDUMP-CLIENT(8) System Programs NETDUMP-CLIENT(8)NAME
netdump - send oops data and memory dumps over the network
SYNOPSIS
/etc/init.d/netdump (start|stop|status|restart|propagate)
DESCRIPTION
Loads and configures the netdump kernel modules. Once these are loaded, when the kernel crashes it will send the oops message and a dump of
physical memory to the machine that runs the netdump-server. This can then be used to debug the problem using gdb and a kernel image.
OPTIONS
start Starts the netdump client service. Loads the kernel modules with the right options.
stop Unloads the kernel modules.
status Shows the status of the netdump client
restart
Restarts the netclient modules with new configurations.
propagate
Sends the ssh public key needed to update the random key for each netdump session to the netdump server.
FILES
/etc/sysconfig/netdump
Configuration for the netdump client. You need to at least specify the address of the machine running the netdump server here.
/etc/sysconfig/netdump_id_dsa.pub
Public key for this machine. Used by the server to authenticate the client. This must be installed on the server, possibly by using
the the propagate capability of the netdump init script, which does:
cat /etc/sysconfig/netdump_id_dsa.pu | ssh netdump@$NETDUMPADDR cat '>>' /var/crash/.ssh/authorized_keys2
Where $NETDUMPADDR is the ip or name of the machine running the netdump server.
SEE ALSO netdump-server(8), init(8)BUGS
Report any bugs you find to http://bugzilla.redhat.com/bugzilla
AUTHOR
Alexander Larsson <alexl@redhat.com>
Linux 14 Feb 2002 NETDUMP-CLIENT(8)