Sponsored Content
Top Forums Shell Programming and Scripting Monitoring system available time Post 50535 by borncrazy on Monday 26th of April 2004 09:41:23 PM
Old 04-26-2004
Question Monitoring system available time

Hi,

I am new to Unix. I have an application which i need to monitor it for the available system time. If the system is down, i need to send an email notifying the downtime. Can someone provide a sample code or shell script to perform the above activity.

Thanks
 

7 More Discussions You Might Find Interesting

1. Programming

system monitoring api

Hi all, I am looking for api to get me system monitoring statictics every 5 minutes. I am looking at the following statistics: 1. System CPU Usage 2. Process CPU Usage 3. Process Memory Usage 4. I/O Usage for a certain disk. 5. Process I/O bytes/sec utilization. I have seen very... (4 Replies)
Discussion started by: uiqbal
4 Replies

2. AIX

AIX system monitoring

Hi All, I am new to administration. can any one pls tell me how can i accomplish the follwoing task in AIX : 1.The overall %CPU used, the %CPU used of each CPU, the overall Real Memory in KB is used, the total Real Memory is installed in the host, the overall Virtual Memory in KB is... (2 Replies)
Discussion started by: panyam
2 Replies

3. Shell Programming and Scripting

Monitoring a users log in time?

how do i start with this guys? Sample run: $ LOGTIME it2015678 <enter> User it2015678 is CRUZ Tommy H And has logged on to the system for: 8 hours 12 minutes from the time this script was run. (1 Reply)
Discussion started by: skypigeon
1 Replies

4. Shell Programming and Scripting

system monitoring script

Hi, Does anyone have an example system monitoring script to monitor drives, memory, etc. Need a good example. Cheers Walnutpony (4 Replies)
Discussion started by: walnutpony123
4 Replies

5. Shell Programming and Scripting

Process monitoring for a fixed time

Hi Gurus, I have a scenario where i need to monitor for a process which starts at a particular time. I need to check if the process has started at the specified time and keep checking this for 5 minutes only and then want to alert me. ps -ef | grep -i process.sh | grep -v grep >... (5 Replies)
Discussion started by: jayadanabalan
5 Replies

6. Infrastructure Monitoring

Best system monitoring for Linux

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (1 Reply)
Discussion started by: andreea9322
1 Replies

7. Shell Programming and Scripting

Time synch monitoring

I'm using a debian variant. My system clock already auto synchronizes. I'd like to have some sort of alert or log entry if the time is ever off by more than a particular amount. My first choice is to have a new file created on the desktop each day that there is a slip greater than the specified... (4 Replies)
Discussion started by: jutnobs
4 Replies
envmond(8)						      System Manager's Manual							envmond(8)

NAME
envmond - Environmental Monitoring daemon SYNOPSIS
/usr/sbin/envmond DESCRIPTION
Environmental Monitoring provides a means of detecting system threshold conditions, that if exceeded, could result in a loss of data or damage to the system itself. Using the envmond daemon, thresholds levels can be checked and corrective action can ensue before any damage occurs. The envmond daemon performs the following: Queries the system for exceeded threshold levels. Broadcasts a message to users warning of high threshold conditions or fan failure, and suggests corrective action. Sends a message to users when a high temperature condition has been resolved. Notifies all users that an orderly shutdown is to be initiated if recovery is not possible. To enable Environmental Monitoring, the envmond daemon must be started during the system boot, but after the eSNMP and Server System MIB agents have started. Before starting Environmental Monitoring, a system check is performed. If the system hardware does not support Envi- ronmental Monitoring, the envmond daemon and Server System MIB are not started. You can customize, start, and stop the envmond daemon using the envconfig utility. For more information, see the envconfig reference page. FILES
A database that contains the values of the Environmental Monitoring variables. SEE ALSO
Commands: envconfig(8) envmond(8)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy