06-25-2015
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 running, and wanted feed back if these commands are enough to show the environment is doing well, or should I do something different? also I'm not a scripter, but is there a way I can some how generate a script to automate this tast for me on each LPAR / every LPAR in the system? (our system is very small maybe 40 LPARs big)
Please let me know if I should provide more details to maybe get a better response.
Thanks in advance
commands gathered so far:-
- topas
- svmon -G -O unit=GB
- nmon then press n
- df -g
- netstat -rn
- lsvg -p rootvg
- vmstat
- iostat
Last edited by rbatte1; 06-26-2015 at 08:11 AM..
Reason: Converted text to numbered list with LIST=1 tags
10 More Discussions You Might Find Interesting
1. HP-UX
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. AIX
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
3. Solaris
do anybody has a procedure for daily weekley monthly health check for SUN server with solaris OS?? (5 Replies)
Discussion started by: mm00123
5 Replies
4. Shell Programming and Scripting
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 (9 Replies)
Discussion started by: Renjesh
9 Replies
5. AIX
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
6. Shell Programming and Scripting
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
7. HP-UX
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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
dxdw(8) System Manager's Manual dxdw(8)
NAME
dxdw - Runs and repeats command line commands
SYNOPSIS
/usr/bin/X11/dxdw [-c initial_command]
OPTIONS
Specifies the command to run. The command string must be enclosed in double quotes if it contains any spaces or special characters inter-
preted by the shell.
Display Window accepts all of the standard X Toolkit command line options, which are documented in the OPTIONS section of the X(1X) refer-
ence page.
DESCRIPTION
The Display Window application, dxdw, can be used to run commands at specified time intervals.
You can use Display Window to: Run a command and display a transcript of the output Repeat a command at regular intervals Print the output
to the default printer Save the output to a file
You can use Display Window to run common commands without starting up a full xterm. The optional -c option specifies an initial command.
The Display Window application presents a transcript containing the current command, its output, and its command-line error messages. You
can change the command after the application starts. The transcript area is output-only, so you cannot use Display Window to run commands
that require user interaction on the command line.
The Display Window application can be invoked from the CDE Application Manager from the following categories:
Application Group: System_Admin
System Admin Subgroup: Daily Admin
When the Display Window main window invoked, the transcript is empty because there is no command running. Enter a command to run in the
Command input text field.
Because Display Window can be started with a default initial command, several launchpoints have been created in the Application Manager to
run specific command-line applications. These applications include I/O Statistics (iostat), Network Statistics (netstat), Virtual Memory
Statistics (vmstat), and Who? (who).
To start one of the preceding applications within Display Window from the CDE desktop: Click on the Application Manager icon on the CDE
front panel. Double click on the System_Admin application group icon. Double click on the Tools application group icon. Double click on
the icon for the command you want to run in the Display Window application.
The Display Window application invokes the command once. The output from the command is displayed in the transcript area.
You can also start Display Window from the command line. To start Display Window from the command line, enter the following:
/usr/bin/X11/dxdw [-c initial_command]
The -c option specifies the command string to run when Display Window is started. On the command line, the command string must be enclosed
in double quotes if it contains any spaces or special characters interpreted by the shell.
The command string can be any of the following: A single command A series of commands in a pipeline (|) A series of commands separated by
semicolons
After Display Window starts, a new command string can be entered in the Command input text field. In the graphical user interface, it is
not necessary to enclose the command string in double quotes.
To enter a new command string: Clear the Command input text field if a command is already present. Enter a new command string in the Com-
mand input text field. Press the Return key in the Command input text field to run the command.
EXAMPLES
The following example runs the iostat command one time in the Display Window application. You can use the Repeat Every dialog box to repeat
the command at regular intervals. dxdw -c iostat The following examples show how to use Display Window from the command line. dxdw -c df
dxdw -c "ps -aef" dxdw -c "ps -aef | grep dxdw" dxdw -c "mount; showmount" You can view the Display Window online help volume without run-
ning the application. To open the Display Window help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -h
/usr/dt/appconfig/help/C/Dxdw.sdl
FILES
Contains the Display Window application executable Contains the Display Window help volume Contains the default values for the applica-
tion's X resources
SEE ALSO
Commands: iostat(1), netstat(1), vmstat(1), who(1), X(1X)
dxdw(8)