473,395 Members | 1,797 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,395 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 2110

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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.