08-10-2009
Email Alerts
hi
I am running so scripts that clean up empty folders on our servers once a week.
I run from a cron. But what i would like to do is add a email notfication so i can be notified that it completed.
The script is
#Clean Empty Folders on Studio Share
perl /appcfg/Admin_Backup_Files/Script_Folder_Cleanup/clean.pl /prod/CLIENTS/0/
perl /appcfg/Admin_Backup_Files/Script_Folder_Cleanup/clean.pl /prod/CLIENTS/1/
So what i need once the script has finished i get email notfication
thanks in advanced
Treds
10 More Discussions You Might Find Interesting
1. IP Networking
Dear Network Masters,
I want to know who brought up the concept of Email Alerts Feature.
are their any RFC's on Email Alerts????
Please let me know.
Thanks in Adv,
meti (1 Reply)
Discussion started by: ashokmeti
1 Replies
2. Solaris
I want to be able to use an account on a solaris 10 server, eg root@myhost
to act as a relay to forward mail to my domain account me@mycompany.com
The reason for this is to configure root@myhost as a mail relay on Brocade SAN switches - so that when a port goes bad i get an email alert.... (0 Replies)
Discussion started by: wibidee
0 Replies
3. AIX
Hi Guys,
I hope this is an easy question: I need some kind of script or an idea how I can convince syslog to send an email to root or someone else once cpu usage exceeds 95% or the memory consumption (maybe via AVM value times 4k) exceeds 85% of my real memory on any of my 700 lpars. We're... (4 Replies)
Discussion started by: zxmaus
4 Replies
4. Shell Programming and Scripting
Hi -
I would like to send an e-mail alerts if in the output below capacity reaches to 80% and 90%
df -k /d500/oracle /d905/oracle /d805/oracle /d705/oracle
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/abcde_raid5_db/d500
52428800... (1 Reply)
Discussion started by: niraj_bhatt
1 Replies
5. Shell Programming and Scripting
Hi,
I have written below disk space monitoring script to monitor disk space every minute. I have scheduled this script through cron. But now my problem is this script alerts the users continuously until the space is freed up. These emails are filling up the inbox exponentially until the space... (3 Replies)
Discussion started by: svajhala
3 Replies
6. Solaris
Hi
I'm new to this forum and I was hoping you can help me with this strange activity.
I have a Sol10 sun4u sparc SunFireV250 machine. Currently running ALOM 1.6.8 firmware.
The following error was experienced on this machine:
"Input power unavailable for PSU @ PS0"
Reading the documention... (0 Replies)
Discussion started by: La-Paloma78
0 Replies
7. Shell Programming and Scripting
Hi all,
Thanks in Advance!!
I dont know how to start to write script for this process, my requirement is if any user logs into server automatically Admin get mail alert. how is this possible? any one guide me to complete this process. (1 Reply)
Discussion started by: anishkumarv
1 Replies
8. AIX
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies
9. AIX
Hello,
I am trying to write a shell script, which will send email alerts to Admin/users when users password is going to expire in 15 days.
Can you please help me with the script.
thank you. (3 Replies)
Discussion started by: Kumar7997
3 Replies
10. UNIX for Dummies Questions & Answers
Good Day
Kindly assist:
I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script.
Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies
LEARN ABOUT DEBIAN
ompi-clean
orte-clean(1) Open MPI orte-clean(1)
NAME
orte-clean - Cleans up any stale processes and files leftover from Open MPI jobs.
SYNOPSIS
orte-clean [--verbose]
mpirun --pernode [--host | --hostfile file] orte-clean [--verbose]
OPTIONS
[-v | --verbose] This argument will run the command in verbose mode and print out the universes that are getting cleaned up as well as pro-
cesses that are being killed.
DESCRIPTION
orte-clean attempts to clean up any processes and files left over from Open MPI jobs that were run in the past as well as any currently
running jobs. This includes OMPI infrastructure and helper commands, any processes that were spawned as part of the job, and any temporary
files. orte-clean will only act upon processes and files that belong to the user running the orte-clean command. If run as root, it will
kill off processes belonging to any users.
When run from the command line, orte-clean will attempt to clean up the local node it is run from. When launched via mpirun, it will clean
up the nodes selected by mpirun.
EXAMPLES
Example 1: Clean up local node only.
example% orte-clean
Example 2: To clean up on a specific set of nodes specified on command line, it is recommended to use the pernode option. This will run
one orte-clean for each node.
example% mpirun --pernode --host node1,node2,node3 orte-clean
To clean up on a specific set of nodes from a file.
example% mpirun --pernode --hostfile nodes_file orte-clean
Example 3: Within a resource managed environment like N1GE, SLURM, or Torque. The following example is from N1GE.
First, we see that we have two nodes with two CPUs each.
example% qsh -pe orte 4
example% mpirun -np 4 hostname
node1
node1
node2
node2
Clean up all the nodes in the cluster.
example% mpirun --pernode orte-clean
Clean up a subset of the nodes in the cluster.
example% mpirun --pernode --host node1 orte-clean
SEE ALSO
orterun(1), orte-ps(1)
1.4.5 Feb 10, 2012 orte-clean(1)