Home
Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Script to Send Email to a user when an admin kills process

Tags
shell scripts

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 09-02-2011
Script to Send Email to a user when an admin kills process

Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes?

Or

Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is this possible?
# 2  
Old 09-02-2011
Yes, it is possible.
But, I am afraid, no one has enough time to write down a script for you.
Why don't you try out by yourself and reply back if you face any issue?
# 3  
Old 09-02-2011
I assume that you have are a regular UNIX user or even have some basic shell scripting knowledge if so,
Try to adapt the following scripts posted here and here to satisfy your needs.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script to send email if Java process was done Nageswara Reddy Shell Programming and Scripting 1 09-12-2016 04:25 AM
Automated script once user send email to UNIX server ramkumar15 Shell Programming and Scripting 3 02-20-2015 01:26 AM
Problem with Script to email Admin users with expired passwords writed byygemici redmansas Red Hat 3 11-04-2014 09:37 AM
Send one email per user hotdang Shell Programming and Scripting 2 03-13-2014 08:14 PM
Postfix - want to send email to some non-existent user using alias freebird8z Red Hat 0 04-03-2013 02:21 PM
Write a scripts to kill idle user for 60 min. & email user list to admin in text file sumit30 Shell Programming and Scripting 4 04-02-2011 11:05 PM
Script to send email after comparing the folder permissions to a certain permission & send email nairshar Shell Programming and Scripting 2 12-07-2010 09:22 PM
Send email as a different user than the user logged in rakeshou UNIX for Advanced & Expert Users 1 02-17-2009 01:12 PM
How to get rid of message when script kills process it started? cmarkle Shell Programming and Scripting 1 06-11-2008 12:00 AM
Send email to user when condition met *Jess* Shell Programming and Scripting 4 06-29-2006 12:34 AM


All times are GMT -4. The time now is 09:03 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password