473,233 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

notify when process finishes (on unix)

Hi,

I'd like to write a script that sends me an email when a unix (Linux)
process ends running (or CPU drops below some threshold). Could
anyone point me to the relevant functions, or show me an example?

Thanks
bahoo

Sep 30 '07 #1
2 2106

On Sep 30, 2007, at 7:11 AM, bahoo wrote:
I'd like to write a script that sends me an email when a unix (Linux)
process ends running (or CPU drops below some threshold). Could
anyone point me to the relevant functions, or show me an example?
man at.
Sep 30 '07 #2
On Sun, 30 Sep 2007 11:54:38 -0700, Michael Bentley wrote:
On Sep 30, 2007, at 7:11 AM, bahoo wrote:
>I'd like to write a script that sends me an email when a unix (Linux)
process ends running (or CPU drops below some threshold). Could anyone
point me to the relevant functions, or show me an example?

man at.
http://stromberg.dnsalias.org/~strom...-when-up2.html

Sep 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: uwnewsgroup | last post by:
When I was using Runtime.exec(String cmd) to run a unix utility (join), and try to get its standard output by using Process.getOutputStream(), it blocks forever. I tried it using Java 1.4 and...
3
by: Brad Tilley | last post by:
I've tested this function out and it works well... it'll loop until ntbackup.exe has exited and then the script goes on to rename the backup.bkf file and copy it to a file server. Having _never_...
0
by: kishor | last post by:
I have a webpage, having two buttons Start and stop. When user clicks start It starts generating some tempfiles and send mails. now I want to implement stop functionality. user can click stop...
0
by: PokerJoker | last post by:
I created a monitor program that checks for certain critera and then launches other executables to perform maintenence tasks. One of these executables uses a DLL, when launched by double...
2
by: David | last post by:
I'm opening a cmd window to run an ftp process. It's easy enough to close the process (.close()), but the cmd window won't close unless I go out to the window and type 'quit'. How can I send a...
1
by: PraveenKadkol | last post by:
Hi, My question : If my process is taking more than 30 mins to complete, then i need to send out email to all the users. I have two forms, 1 is "Main form" and another is dummy form, dummy...
8
by: Lonifasiko | last post by:
Hi, Using Process class I asynchronously launch an executable (black box executable) file from my Windows application. I mean asynchronously because I've got an EventHandler for "Exited" event....
1
by: kazpsp | last post by:
i want my program that when it ends instead of closing it goes back to the top like an example: main() { int go; cout<<"text here "; cin>>go; if(go==10)
3
by: Saser | last post by:
Hi all bytes out there. I have a few little problems in my program. The program is supposed to help me to not spend too much time of my day at the computer ;) I play a game called...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.