Tuesday, February 17, 2009
vmstat - Virtual Memory Statistics
Wednesday, February 4, 2009
Statspack
Friday, January 23, 2009
Sun Management Center - Sun's Ways of monitoring

"Sun Management Center", a product from Sun Microsystems for monitoring the Spark and x86 hardware running Solaris and Linux. It provides in-depth monitoring and diagnostics of servers and its services. Sun MC is based on server-agent model.
Architecture
Sun Management Center software includes three component layers: console, server, and agent. The product is based on the manager and agent architecture:
Console layer: Console layer is the interface to end users. It exposes web, JWS and console interfaces. Mutiple user can access the same Sun MC at the same time.
Server layer: server is the core, which talks to Console layer and agent layer. It acts as the central repository and stores data(both historical and current). It includes the components such as configuration manager, event manager, topology manager etc., Sun Management 4.0 uses PostgreSQL(open source) db to store data whereas the previous version 3.6 uses Oracle to store data.
Agent layer: Agent layer monitors, gather information about the server/system in which it is deployed and it communicates from server using SNMP(modules are used for gathering monitoring data. Different modules are used for different purposes). Agent apart from monitoring, also has the cabability to manage the nodes. The agent uses rule (it will get from server layer) to raise the alarm if the rule is not met.
Modules: Modules are the components in agent layer responsible for monitoring. They can dynamically loaded, invoked, started, stopped and unisntalled in Sun MC. Kernal reader, file scanning, directory scanning, config reader, fault manager, print spooler, process monitoring are some of the modules.
Like nmon, Sun MC is free to download and use (you can pay and get support). Like Glance for monitoring HP machines, Sun MC can be used to monitor the Sun based systems. Next time when you are planning to do performance testing, tuning on Spack or x86 hardware running Solaris, try Sun MC.
Monday, December 22, 2008
Glance - HP Way of optimizing the system's performance
Thursday, December 11, 2008
Remote monitoring Linux/unix servers from linux/unix server
Steps for Executing the command on remote host
- Create/update .netrc file in user home directory and add credentials of all the machines that we need to be accessed remotely. Format should be as follows
machine
- Execute “chmod 600 .netrc” so that only owner will have read/write access.
- To execute the command on remote host use the following command
Wednesday, August 13, 2008
OS Monitoring
Basically monitoring is done for 2 purposes
- Benchmark
- Tuning
While monitoring OS, following are the basic things need to be considered regardless of OS platform.
- CPU Utilization
- Memory, paging
- Throughput & retransmission statistics
- TCP statistics
- Disk statistics
Not all things need to be presented in report. Presenting 10-20 page report containing only relevant is always better than presenting a 100 page report (album). If you want to show your hard work, create annexure section and attached to it (I may not call it album here. After-all we are showing our hard work at relevant place. He he).
Linux Monitoring
Monitoring Linux based systems are not as complex as many people thing. All we need to know is just simple, basic shell scripting and few basic commands.
To know the version of Linux kernel
uname –a
vmstat command
vmstat reports information about processes, memory, paging, block IO, traps, and CPU activity.
Basic syntax
vmstat [[delay] count]
Example
vmstat 10 7
The first statistics that are printed are averaged over the system uptime.Don’t consider this unless it really make sense.
See man page for more information
iostat command
iostat displays kernel I/O statistics on terminal, device and cpu operations.
Basic syntax
iostat [[delay] count]
Example
Iostat 10 7
The first statistics that are printed are averaged over the system uptime.Don’t consider this unless it really make sense.
netstat command
netstat prints network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. There are a number of output formats, depending on the options for the information presented.
See man page for more information
Nmon utility
Quote from IBM
“This free tool gives you a huge amount of information all on one screen. Even though IBM doesn't officially support the tool and you must use it at your own risk, you can get a wealth of performance statistics. Why use five or six tools when one free tool can give you everything you need?”
The nmon tool runs on:
- AIX® 4.1.5, 4.2.0 , 4.3.2, and 4.3.3 (nmon Version 9a: This version is functionally established and will not be developed further.)
- AIX 5.1, 5.2, and 5.3 (nmon Version 10: This version now supports AIX 5.3 and POWER5™ processor-based machines, with SMT and shared CPU micro-partitions.
- Linux® SUSE SLES 9, Red Hat EL 3 and 4, Debian on pSeries® p5, and OpenPower™
Linux SUSE, Red Hat, and many recent distributions on x86 (Intel and AMD in 32-bit mode) - Linux SUSE and Red Hat on zSeries® or mainframe
Click here for more information.
Windows Monitoring
Windows provide huge set of monitoring counters to end users. Not all need to be monitored always, but all counters might be useful at one point or another. All windows OS related counters can be monitoring using perfmon (just goto run and type perfmon).
I am planning to write Step by step instruction on how to monitoring windows using perfmon later in as a separate blog.
Tuesday, July 15, 2008
Understanding Architecture
Few basic components and its definitions
- Load balancer -> Technique to spread work between two or more computers, network links, CPUs, hard drives, or other resources, in order to get optimal resource utilization, throughput, or response time.
- Web server -> A computer program that is responsible for accepting HTTP requests from web clients, which are known as web browsers, and serving them HTTP responses along with optional data contents, which usually are web pages such as HTML documents and linked objects such as images, css etc.,(usually static content)
- LDAP server -> The Lightweight Directory Access Protocol, or LDAP, is an application protocol for querying and modifying directory services running over TCP/IP. The most common example is the telephone directory, which consists of a series of names (either of persons or organizations) organized alphabetically, with each name having an address and phone number attached. Due to this basic design (among other factors) LDAP is often used by other services for authentication(SSA).
- Application Server -> An application server is a software engine that delivers applications to client computers or devices, typically through the Internet and using the HyperText Transfer Protocol. Application servers are distinguished from web servers by the extensive use of server-side dynamic content and frequent integration with database engines. An application server handles most, if not all, of the business logic and data access of the application.
- Database server -> complex set of software programs that controls the organization, storage, management, and retrieval of data in a database.
During testing, monitoring and logging all the components + OS involved is mandatory. Without monitoring all components including network, improvement/tuning acheived is pure luck.
Next blog plan: monitoring
-Thiru