Sponsored Content
Full Discussion: Health check script
Top Forums Shell Programming and Scripting Health check script Post 302414118 by Renjesh on Monday 19th of April 2010 09:34:13 AM
Old 04-19-2010
Error Health check script

Hi,

I have a server type(A group of AIX,HP-UX and Linux servers running with different appn) in which i need to do health check(memory,cpu,h/w etc). I am planning to automate the same. Please help me out in writing the same.

Thanks
Renjesh Raju
 

10 More Discussions You Might Find Interesting

1. HP-UX

check health

Dear Gentelmen I need command for display to me the following statement: -battery state -The application if working or not -The cpu is working or not -The power supply is working or not -The Data base is workig or not (2 Replies)
Discussion started by: magasem
2 Replies

2. Shell Programming and Scripting

need help to write script to check the process health and automatically restart it

I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically. Please kindly refer me to URL which teach how to write this kind of script, or service. Thanks. (1 Reply)
Discussion started by: dragondad
1 Replies

3. AIX

AIX Health Check

Hi All, I would like to know if there is a downloadable AIX health check script available from IBM that would print a report of a servers health status. I've been working on a number of Sun Solaris servers and Sun provide a sun checkup script which can give you an ORI figure as well as a list... (3 Replies)
Discussion started by: backslash
3 Replies

4. AIX

AIX Health Check script

Hi Everyone, Can you please help me put together a aix health check script that will check the status of CPU,Memory,Adapter, Filesystems (threshold 80%) and Disks.Im thinking of deploying a script to gather the required data in all the 22 servers and probably send out a mail if anything needs... (3 Replies)
Discussion started by: R!C
3 Replies

5. Shell Programming and Scripting

Health check script

There are 3 servers . I want to fire commands df -kh and mpstat -P ALL on those individual servers and retrieve particular values to genrate reports. This part is almost done. But i am facing issue when i need to compile the reports from all three servers on to one server in order to generate a... (1 Reply)
Discussion started by: pratikm23
1 Replies

6. HP-UX

HP-UX Health Check

Hi Experts, I want to check health of hp-ux box. Basically I want to check if there are possibilities of network/memory/cpu bottleneck? Are there are any commands available other than glance in hp-ux for the same? (11 Replies)
Discussion started by: sai_2507
11 Replies

7. Shell Programming and Scripting

Daily health check script

Hi I am still learning how to write shell scripts, so I started to write a script like this: #!/bin/sh date echo outputOK () { echo $1 "" } outputOK () { echo $1 "" } for vol in `/usr/bin/grep -E 'hfs|vxfs|nfs|cifs' /etc/fstab | egrep -v '^#' | awk '{ print $3 }'` do if... (7 Replies)
Discussion started by: fretagi
7 Replies

8. Shell Programming and Scripting

Script to check the health of a database

need a script to check the health of a session server database. It must read the data base and send an alert if the database is unavailable. If its unavailable, we will want to bring down the database listener to force failover. can u guyz help me in doing this. what information do i need... (1 Reply)
Discussion started by: remo999
1 Replies

9. Shell Programming and Scripting

Health check report

Hi Team, I am writing a small script in that I want collect all servers of /opt and /stage. Below is my small script #!/bin/ksh #checking Media server opt_Disk_Space_logs myclient=`cat media_server.txt` > opt_logs.txt printf " Server Name\tsize\tused\tavail\tcapacity\tMounted... (12 Replies)
Discussion started by: bashi77
12 Replies

10. AIX

AIX Health Check

Hi everyone, I am new to the Unix admin position, needed some help. My management wants to report how their over all AIX servers / environment is doing so far. I've been researching and found multiple commands to run on each LPAR, well I have few questions and also wanted to share the commands Im... (12 Replies)
Discussion started by: Adnans2k
12 Replies
gmemusage(1)						      General Commands Manual						      gmemusage(1)

NAME
gmemusage - graphically display memory used by running processes. SYNOPSIS
gmemusage [ options ] DESCRIPTION
Gmemusage is modelled after the program of the same name on Silicon Graphics' workstations. Gmemusage graphically displays the contents of memory on a running system, broken up by individual processes. The display is a stacked bar graph with the height of an area representing the RSS size of the corresponding process. In addition, the process name, number of processes with that name and the size (in kilobytes) are shown. Processes which take up less memory than a (user-specifiable) threshhold are merged into a single area on the graph. Multiple processes with the same name are merged into a single area. While running, gmemusage accepts the following keys: Q or q Exit the program. Up Arrow Increase the minimum threshhold by 10 kb. Down Arrow Decrease the minimum threshhold by 10 kb. Other keys are (not-so-silently!) ignored. OPTIONS
Gmemusage accepts the following command-line options (defaults in brackets): -name resourcename Class name to use for resources (Gmemusage) -display display X server to contact ($DISPLAY environment variable) -geometry geometry Initial window geometry (320x400) -font font Use font font for drawing text (fixed) -background color Color to use for window background (grey4) -update seconds Update interval (5 seconds) -threshhold kb Threshhold below which small processes are merged (400 kb) -ncolors #colors How many different colors to use (3) -color1 color Name of first color (red/maroon) -color2 color Name of second color (green/OliveDrab) -color3 color Name of third color (blue/SlateBlue) -color[4-9] color Names of remaining colors (undefined) -help Print a short help message. RESOURCES
Gmemusage understands the following X resources. See the OPTIONS section for details of what they do. name (class Name) display (class Display) geometry (class Geometry) font (class Font) background (class Background) update (class Interval) threshhold (class Threshhold) ncolors (class NColors) color1 (class Color) color2 (class Color) color3 (class Color) color[4-9] (class Color) BUGS
See the TODO file which comes with the distribution. SEE ALSO
top(1), ps(1), xosview(1). VERSION
Gmemusage version 0.2, 1998/01/14 AUTHOR
Raju Mathur (raju@sgi.com) aka OldMonk. SITE
The canonical site for gmemusage is: http://reality.sgi.com/raju/software COPYRIGHT
Gmemusage is copyright (C) 1997, 1998 by Raju Mathur. See the file COPYING in the source directory for copyright information. Silicon Graphics 14 January 1998 gmemusage(1)
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy