05-16-2011
monitoring script
Hi,
I ned to monitor the memory for the red-hat machine,when its reaches a threshold value like 2GB then a mail should be sent as soon as it finds the the value is met
can you suggest me which is the best way to do this?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
can someone help me to write a script to monitor the growth of the directory running at 5 hours interval and then pipe it to a file :(?
i only know the manual command "du -sk"
and the worst i dun know anything about script. (3 Replies)
Discussion started by: legato
3 Replies
2. UNIX for Advanced & Expert Users
i have a unix batch written in c, dealing with really time-consuming
database operations
i want to write a ksh script to monitor its performance.
which items i should monitor?
do you have any suggestions?
1)cputime
2)swap area
3)pmem
4)
5)
what else? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
3. Solaris
Hi,
I want to write a script that will monitor cpu,mem usage and disk usage for entire day and data will be redirected to file, (4 Replies)
Discussion started by: manoj.solaris
4 Replies
4. Shell Programming and Scripting
Dear All,
I am new to Shell Programming, but I need a script which will monitor the different IP's in the live logs.
Condition:-
The script will monitor the logs continously and should print only those IP's which exists more than 3 times per day.
Please do help me.
Thanks and... (1 Reply)
Discussion started by: akhtar.bhat
1 Replies
5. Shell Programming and Scripting
Could anyone please help?
I have written a small program that's actually working fine for me and extracting all the details I required. What code does is, it goes to all archivelog directories and see if archivelog backup was failed or successful
<<CODE>>
... (2 Replies)
Discussion started by: anjum.suri
2 Replies
6. Shell Programming and Scripting
Hi Gurus,
Currently I am learning UNIX through online forums and unix blogs. I have the below requirement.
I need to write a script to monitor server processes. For example, there are 3 processes currently running on the server.(java, pmrepagent, pmserver). If any of the process goes down,... (2 Replies)
Discussion started by: svajhala
2 Replies
7. Shell Programming and Scripting
Hi,
I want to write script that monitors particular ports in a server.
I completed the script but.... If the server is restarted i need manually start the script..
Is there any way i can make the script start by it self after the server reboot........
Thanks,
Firestar (4 Replies)
Discussion started by: firestar
4 Replies
8. UNIX for Advanced & Expert Users
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
9. Shell Programming and Scripting
Hello All,
I have written a script which will grep for error codes in a file and if the count for the same is about 500 it will send and smpp alert.
Here is my code.
#!/bin/bash
#########################################################################################################... (3 Replies)
Discussion started by: Siddheshk
3 Replies
10. Shell Programming and Scripting
I currently have a shellscript to check the size of a filesystem and email me if the size is over a certain percentage (80%). I have this script on crontab and executes the shell every 10 mins.
I have the above in place on 8 servers. It so happens that a file system on one of the servers is... (1 Reply)
Discussion started by: goddevil
1 Replies
LEARN ABOUT DEBIAN
wmmemload
WMMEMLOAD(1) General Commands Manual WMMEMLOAD(1)
NAME
wmmemload - A dockapp to monitor memory/swap usages
SYNOPSIS
wmmemload [options]
DESCRIPTION
This manual page documents briefly the wmmemload command.
WMMemLoad is a program to monitor memory/swap usages. It is a dockapp that is supported by X window managers such as Window Maker, After-
Step, BlackBox, and Enlightenment.
The current memory usage is displayed in the top half. The swap usage is in the bottom half. It has an LCD look-alike user interface. The
back-light may be turned on/off by clicking the mouse button over the appliacation. If the usage hits a certain threshold, an alarm-mode
will alert you by turning on back-light.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-d, --display <string>
Attempt to open a window on the named X display. In the absence of this option, the display specified by the DISPLAY environment
variable is used.
-bl, --backlight
turn on back-light.
-lc, --light-color <color>
back-light color. (rgb:6E/C6/3B is default)
-i, --interval <number>
number of secs between updates. (1 is default)
-b, --ignore-buffers
ignore buffers. (GNU/Linux)
-c, --ignore-cached
ignore cached pages. (GNU/Linux / FreeBSD)
-wr, --ignore-wired
ignore wired pages. (FreeBSD)
-h, --help
show help text and exit.
-v, --version
show program version and exit.
-w, --windowed
run the application in windowed mode
-bw, --broken-wm
activate broken window manager fix
-am, --alarm-mem <percentage>
activate alarm mode of memory. <percentage> is threshold of percentage from 0 to 100.(90 is default)
-as, --alarm-swap <percentage>
activate alarm mode of swap. <percentage> is threshold of percentage from 0 to 100.(50 is default)
AUTHOR
WMMemLoad was assembled by Mark Staggs <me@markstaggs.net>. It is largely based on WMMemMon and WMCPULoad by Seiichi SATO
<ssato@sh.rim.or.jp>.
April 3, 2002 WMMEMLOAD(1)