Sponsored Content
Operating Systems AIX Which tools can show the AIX CPU, Memory and I/O usage? Post 302216792 by bakunin on Monday 21st of July 2008 07:15:13 AM
Old 07-21-2008
There is a lot of alerting (server management) software out there, they basically work the same way:

There is some sort of agent, a program which collects the configured data, compares it against some configurable threshold and sends an alert when the threshold is reached. On one machine runs the central part, which receives all the alerts, displays/filters/etc. them and maybe stores the alerts and or the data in some database. Usually there are some tools to query/aggregate/etc. these data to create all sorts of colourful graphs to make management happy.

A (definitely not complete) list of such software: HP/OpenView, BMC Patrol, TekView, CA Unicenter, ....

With the named ones i have worked already and they all do more or less the same save for CAU - beware of it if you can.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

2. Shell Programming and Scripting

How to calculate Memory and CPU Usage on AIX

I have written a script that will calculate CPU usage and Memory usage of a particular process on AIX Unix. I know the PID and I am using the command -- # for CPU Usage MSG_CPU_USG=`ps uax | grep ${PID} | awk {'print $3'}` #for Memory Usage MSG_MEM_USG=`ps uax | grep ${PID} | awk {'print... (0 Replies)
Discussion started by: asutoshch
0 Replies

3. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

4. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

5. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

6. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

7. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

8. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

9. Shell Programming and Scripting

Get the memory and cpu usage

what is the best way to get the memory and cpu usage of a process on any system? this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix. ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies

10. Shell Programming and Scripting

Cpu and memory usage scripts

All I am writing a script to generate an email when cpu and memory usage is high for 5 min continuously help me urgent I wrote below scritpt LOAD=75.00 CPU_LOAD= 'sar -P all 300 5 |grep 'Average.all* '| awk -F " " '(print 100.0 -$NF)'' IF }; ECHO "pLEASE CHECK YOUR PROCESS ON YOUR... (1 Reply)
Discussion started by: anil529
1 Replies
AFSMONITOR(1)						       AFS Command Reference						     AFSMONITOR(1)

NAME
afsmonitor - Monitors File Servers and Cache Managers SYNOPSIS
afsmonitor [initcmd] [-config <configuration file>] [-frequency <poll frequency, in seconds>] [-output <storage file name>] [-detailed] [-debug <debug output file>] [-fshosts <list of file servers to monitor>+] [-cmhosts <list of cache managers to monitor>+] [-buffers <number of buffer slots>] [-help] afsmonitor [i] [-co <configuration file>] [-fr <poll frequency, in seconds>] [-o <storage file name>] [-det] [-deb <debug output file>] [-fs <list of file servers to monitor>+] [-cm <list of cache managers to monitor>+] [-b <number of buffer slots>] [-h] DESCRIPTION
The afsmonitor command initializes a program that gathers and displays statistics about specified File Server and Cache Manager operations. It allows the issuer to monitor, from a single location, a wide range of File Server and Cache Manager operations on any number of machines in both local and foreign cells. There are 271 available File Server statistics and 571 available Cache Manager statistics, listed in the appendix about afsmonitor statistics in the OpenAFS Administration Guide. By default, the command displays all of the relevant statistics for the file server machines named by the -fshosts argument and the client machines named by the -cmhosts argument. To limit the display to only the statistics of interest, list them in the configuration file specified by the -config argument. In addition, use the configuration file for the following purposes: o To set threshold values for any monitored statistic. When the value of a statistic exceeds the threshold, the afsmonitor command displays it in reverse video. There are no default threshold values. o To invoke a program or script automatically when a statistic exceeds its threshold. The AFS distribution does not include any such scripts. o To list the file server and client machines to monitor, instead of using the -fshosts and -cmhosts arguments. For a description of the configuration file, see afsmonitor(5). CAUTIONS
The following software must be accessible to a machine where the afsmonitor program is running: o The AFS xstat libraries, which the afsmonitor program uses to gather data. o The curses graphics package, which most UNIX distributions provide as a standard utility. The afsmonitor screens format successfully both on so-called dumb terminals and in windowing systems that emulate terminals. For the output to looks its best, the display environment needs to support reverse video and cursor addressing. Set the TERM environment variable to the correct terminal type, or to a value that has characteristics similar to the actual terminal type. The display window or terminal must be at least 80 columns wide and 12 lines long. The afsmonitor program must run in the foreground, and in its own separate, dedicated window or terminal. The window or terminal is unavailable for any other activity as long as the afsmonitor program is running. Any number of instances of the afsmonitor program can run on a single machine, as long as each instance runs in its own dedicated window or terminal. Note that it can take up to three minutes to start an additional instance. OPTIONS
initcmd Accommodates the command's use of the AFS command parser, and is optional. -config <file> Names the configuration file which lists the machines to monitor, statistics to display, and threshold values, if any. A partial pathname is interpreted relative to the current working directory. Provide this argument if not providing the -fshosts argument, -cmhosts argument, or neither. For instructions on creating this file, see the preceding DESCRIPTION section, and the section on the afsmonitor program in the OpenAFS Administration Guide. -frequency <poll frequency> Specifies in seconds how often the afsmonitor program probes the File Servers and Cache Managers. Valid values range from 1 to 86400 (which is 24 hours); the default value is 60. This frequency applies to both File Servers and Cache Managers, but the afsmonitor program initiates the two types of probes, and processes their results, separately. The actual interval between probes to a host is the probe frequency plus the time required for all hosts to respond. -output <file> Names the file to which the afsmonitor program writes all of the statistics that it collects. By default, no output file is created. See the section on the afsmonitor command in the OpenAFS Administration Guide for information on this file. -detailed Formats the information in the output file named by -output argument in a maximally readable format. Provide the -output argument along with this one. -fshosts <host>+ Names one or more machines from which to gather File Server statistics. For each machine, provide either a fully qualified host name, or an unambiguous abbreviation (the ability to resolve an abbreviation depends on the state of the cell's name service at the time the command is issued). This argument can be combined with the -cmhosts argument, but not with the -config argument. -cmhosts <host>+ Names one or more machines from which to gather Cache Manager statistics. For each machine, provide either a fully qualified host name, or an unambiguous abbreviation (the ability to resolve an abbreviation depends on the state of the cell's name service at the time the command is issued). This argument can be combined with the -fshosts argument, but not with the -config argument. -buffers <slots> Is nonoperational and provided to accommodate potential future enhancements to the program. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
The afsmonitor program displays its data on three screens: System Overview This screen appears automatically when the afsmonitor program initializes. It summarizes separately for File Servers and Cache Managers the number of machines being monitored and how many of them have alerts (statistics that have exceeded their thresholds). It then lists the hostname and number of alerts for each machine being monitored, indicating if appropriate that a process failed to respond to the last probe. File Server This screen displays File Server statistics for each file server machine being monitored. It highlights statistics that have exceeded their thresholds, and identifies machines that failed to respond to the last probe. Cache Managers This screen displays Cache Manager statistics for each client machine being monitored. It highlights statistics that have exceeded their thresholds, and identifies machines that failed to respond to the last probe. Fields at the corners of every screen display the following information: o In the top left corner, the program name and version number. o In the top right corner, the screen name, current and total page numbers, and current and total column numbers. The page number (for example, "p. 1 of 3") indicates the index of the current page and the total number of (vertical) pages over which data is displayed. The column number (for example, "c. 1 of 235") indicates the index of the current leftmost column and the total number of columns in which data appears. (The symbol ">>>" indicates that there is additional data to the right; the symbol "<<<" indicates that there is additional data to the left.) o In the bottom left corner, a list of the available commands. Enter the first letter in the command name to run that command. Only the currently possible options appear; for example, if there is only one page of data, the "next" and "prev" commands, which scroll the screen up and down respectively, do not appear. For descriptions of the commands, see the following section about navigating the display screens. o In the bottom right corner, the "probes" field reports how many times the program has probed File Servers ("fs"), Cache Managers ("cm"), or both. The counts for File Servers and Cache Managers can differ. The "freq" field reports how often the program sends probes. Navigating the afsmonitor Display Screens As noted, the lower left hand corner of every display screen displays the names of the commands currently available for moving to alternate screens, which can either be a different type or display more statistics or machines of the current type. To execute a command, press the lowercase version of the first letter in its name. Some commands also have an uppercase version that has a somewhat different effect, as indicated in the following list. "cm" Switches to the "Cache Managers" screen. Available only on the "System Overview" and "File Servers" screens. "fs" Switches to the "File Servers" screen. Available only on the "System Overview" and the "Cache Managers" screens. "left" Scrolls horizontally to the left, to access the data columns situated to the left of the current set. Available when the "<<<" symbol appears at the top left of the screen. Press uppercase "L" to scroll horizontally all the way to the left (to display the first set of data columns). "next" Scrolls down vertically to the next page of machine names. Available when there are two or more pages of machines and the final page is not currently displayed. Press uppercase "N" to scroll to the final page. "oview" Switches to the "System Overview" screen. Available only on the "Cache Managers" and "File Servers" screens. "prev" Scrolls up vertically to the previous page of machine names. Available when there are two or more pages of machines and the first page is not currently displayed. Press uppercase "N" to scroll to the first page. "right" Scrolls horizontally to the right, to access the data columns situated to the right of the current set. This command is available when the ">>>" symbol appears at the upper right of the screen. Press uppercase "R" to scroll horizontally all the way to the right (to display the final set of data columns). The System Overview Screen The "System Overview" screen appears automatically as the afsmonitor program initializes. This screen displays the status of as many File Server and Cache Manager processes as can fit in the current window; scroll down to access additional information. The information on this screen is split into File Server information on the left and Cache Manager information on the right. The header for each grouping reports two pieces of information: o The number of machines on which the program is monitoring the indicated process. o The number of alerts and the number of machines affected by them (an alert means that a statistic has exceeded its threshold or a process failed to respond to the last probe). A list of the machines being monitored follows. If there are any alerts on a machine, the number of them appears in square brackets to the left of the hostname. If a process failed to respond to the last probe, the letters "PF" (probe failure) appear in square brackets to the left of the hostname. The File Servers Screen The "File Servers" screen displays the values collected at the most recent probe for File Server statistics. A summary line at the top of the screen (just below the standard program version and screen title blocks) specifies the number of monitored File Servers, the number of alerts, and the number of machines affected by the alerts. The first column always displays the hostnames of the machines running the monitored File Servers. To the right of the hostname column appear as many columns of statistics as can fit within the current width of the display screen or window; each column requires space for 10 characters. The name of the statistic appears at the top of each column. If the File Server on a machine did not respond to the most recent probe, a pair of dashes ("--") appears in each column. If a value exceeds its configured threshold, it is highlighted in reverse video. If a value is too large to fit into the allotted column width, it overflows into the next row in the same column. The Cache Managers Screen The "Cache Managers" screen displays the values collected at the most recent probe for Cache Manager statistics. A summary line at the top of the screen (just below the standard program version and screen title blocks) specifies the number of monitored Cache Managers, the number of alerts, and the number of machines affected by the alerts. The first column always displays the hostnames of the machines running the monitored Cache Managers. To the right of the hostname column appear as many columns of statistics as can fit within the current width of the display screen or window; each column requires space for 10 characters. The name of the statistic appears at the top of each column. If the Cache Manager on a machine did not respond to the most recent probe, a pair of dashes ("--") appears in each column. If a value exceeds its configured threshold, it is highlighted in reverse video. If a value is too large to fit into the allotted column width, it overflows into the next row in the same column. Writing to an Output File Include the -output argument to name the file into which the afsmonitor program writes all of the statistics it collects. The output file can be useful for tracking performance over long periods of time, and enables the administrator to apply post-processing techniques that reveal system trends. The AFS distribution does not include any post-processing programs. The output file is in ASCII format and records the same information as the "File Server" and "Cache Manager" display screens. Each line in the file uses the following format to record the time at which the afsmonitor program gathered the indicated statistic from the Cache Manager ("CM") or File Server ("FS") running on the machine called host_name. If a probe failed, the error code "-1" appears in the statistic field. <time> <host_name> CM|FS <statistic> If the administrator usually reviews the output file manually, rather than using it as input to an automated analysis program or script, including the -detail flag formats the data in a more easily readable form. EXAMPLES
For examples of commands, display screens, and configuration files, see the section about the afsmonitor program in the OpenAFS Administration Guide. PRIVILEGE REQUIRED
None SEE ALSO
afsmonitor(5) fstrace(8), scout(1) The OpenAFS Administration Guide at <http://docs.openafs.org/AdminGuide/>. COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 AFSMONITOR(1)
All times are GMT -4. The time now is 06:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy