The Uptime Infrastructure Monitor Solaris agent uses a number of utilities resident on a Solaris server to collect performance metrics including sar, awk, fgrep and ps. Note that the sadc utility (which collects system activity information and saves it as a binary file) is used by sar and must be readable by the Uptime Infrastructure Monitor agent user account on the system.

The Uptime Infrastructure Monitor Solaris agent collects the following performance metrics from the systems on which it is installed:

Whenever the sar command uses the -f option to specify a file, that file is generated using the sadc 1 1 command. The sadc command polls the system counters at a one-second interval and writes the information that it receives to a file. The sar command then reads this file.

Each set of performance metrics is averaged between the interval at which the Uptime Infrastructure Monitor monitoring station polls the agent (e.g. every 10 minutes).

CPU

The Uptime Infrastructure Monitor agent uses the sar -u -f command to collect CPU metrics from a Solaris system. The statistics returned by the agent are averaged for all CPUs on the system and the sar command compares the system counters during a one-second interval. In multi-CPU systems, the CPU statistics output by the agent are an average of all the CPUs on the server.

MetricExplanation
% USRThe percentage of time that the processor spends in user mode (a processing mode for applications and subsystems).
% SYSThe percentage of time that the kernel spends processing system calls.
% WIOThe amount of waiting time that a runable process for a device takes to perform an I/O operation.
% TotalThe total amount of User %, System %, and Wait I/O %
Run Queue LengthThe percentage of time that one or more services or processes are waiting to be served by the CPU.
Run Queue OccupancyThe percentage of time that one or more services or processes are waiting to be served by the CPU.

Multi-CPU

The Uptime Infrastructure Monitor agent outputs statistics for the entire Solaris system, per CPU. The sar command (mpstat 1 2) averages the statistics for each CPU and compares the system counters during a one-second interval

MetricExplanation
User %The percentage of CPU user processes that are in use.
System %The percentage of CPU kernel processes that are in use.
Wait I/O %The percentage of time that a process which can be run must wait for a device to perform an I/O operation.
SMTXThe number of read or write locks that a thread was not able to acquire on the first attempt, as reported by the mpstat command.
XCALThe number of interprocess cross-calls. In a multi-processor environment, one processor sends cross-calls to another processor to get that processor to do work. Cross-calls can also be used to ensure consistency in virtual memory. Heavy file system activity (such as NFS) can result in a high number of cross-calls.
InterruptsThe number of CPU interrupts.
Total %The total amount of User %, System %, and Wait I/O%.

Memory

The Uptime Infrastructure Monitor agent uses the vmstat 1 2 command to average the metrics that are collected for the entire system. The agent also compares system counters during a one-second interval using the sar command and the following options:

  • -b -f (cache metrics)
  • -g -f and -p -f (paging activity)
  • -q -f (the average queue length while it is occupied, and the percentage of time that the queue is occupied)
  • -c -f (system calls)

The free swap metric is collected from the "available" value in the swap -s command.

MetricExplanation
Free MemoryThe amount of physical memory available to the operating system, system library files, and applications.
Cache Hit RateHow often the system accesses the CPU cache.
Page-outs/sThe rate at which pages were written to disk.
Page-ins/sThe rate at which pages were read from or written to the disk.
Page Free/sThe number of pages that are freed from memory each second.
Attaches/sThe number of pages that get attached to memory each second.
Page-out Requests/sThe number of requests to perform a write operation that occur each second.
Page-in reqs/sThe number of requests to perform a read operation that occur each second.
PageScans/sThe number of pages that are scanned each second.
PageFaults/sThe number of page faults that occur each second.
Software Locks/sThe number of software locks that are issued each second.
Virtual Faults/sThe number of virtual memory faults that occur each second.
Free SwapThe amount of available free swap space, as a percentage of total available free swap space.

Disk

The Uptime Infrastructure Monitor agent uses the following commands to collect disk statistics:

  • df -lk to gather file system capacity statistics, for file system.
  • sar -d -f to output disk statistics (e.g. %busy, Read/Write/s) per disk, and compare those statistics between polling intervals.
MetricExplanation
Disk (Spindle) NameThe names of each disk on the system.
Usage (% Busy)The percentage of time during which the disk drive is handling read or write requests.
Throughput (Blk/s)The number of read and write operations on the disk that occur each second.
Read/Writes/sThe average number of bytes that have been transferred to or from the disk during write or read operations.
Average Queue LengthThe number of threads that are waiting for processor time.
Average Service TimeThe average amount of time, in milliseconds, that is required for a request to be carried out.
Average Wait TimeThe average time, in milliseconds, that a transaction is waiting in a queue. The wait time is directly proportional to the length of the queue.

Network

The Uptime Infrastructure Monitor agent uses the netstat -s command to collect network metrics from a Solaris server. Except for TCP re-transmits, the agent averages all statistics per interface. Other statistics (e.g. kbps, errors and collisions) are collected per interface by the kstat command.

MetricExplanation
In KbpsThe rate, in kilobytes per seconds, at which data is received over a specific network adapter.
Out KbpsThe rate, in kilobytes per seconds, at which data is sent over a specific network adapter.
In ErrorsThe number of inbound packets that contained errors, which preventing those packets from being delivered to a higher-layer protocol.
Out ErrorsThe number of outbound packets that could not be transmitted because of errors.
CollisionsThe number of signals from two separate nodes on the network that have collided.
TCP RetransmitsThe number of packets that have been re-sent over a network interface.

Process

The Uptime Infrastructure Monitor agent gathers process information directly from the /proc filesystem using the procfs command.

MetricExplanation
PIDThe unique identifier of a specific process.
PPIDThe identifier of the process that the process that is currently running.
UIDA value that identifies the current user.
GIDA value that identifies a group of users.
Memory ConsumedThe amount of memory that is being used by a process.
RSSThe amount of physical memory that is being used by a process.
CPU % Utilization by ProcessThe percentage of CPU time that is being used by individual processes.
Memory % Utilization by ProcessThe amount of physical memory that is being used by individual processes.
Process Start TimeThe time at which the process started.
Process Run TimeThe time at which the process started.
Number of Processes RunningThe total number of processes that are currently running on the system.
Number of Blocked ProcessesThe total number of processes that are blocking resources.
Number of Waiting ProcessesThe total number of processes that are waiting to be executed by the CPU.
Execs per SecondThe total number of system calls that are executed each second.
Process Creation RateThe total number of processes that are being spawned over a specified time period.

Workload

Workload statistics are sorted within Uptime Infrastructure Monitor's core but are the same 20 processes that were gathered from the Process method (see above). The workload processes gathered by the agent include user/group/process name and their individual statistics. The Uptime Infrastructure Monitor core then sorts based on the selected graph (e.g. user, group or process name).

MetricExplanation
Workload by ProcessThe demand that network and local services are putting on a system, based on the processes that are running.
Workload by UserThe demand that network and local services are putting on the system, based on the IDs of the users who are logged into a system.
Workload by GroupThe demand that network and local services are putting on the system, based on the IDs of the user groups that are logged into a system.
Workload Top 10 by ProcessThe 10 processes that are consuming the most CPU resources.
Workload Top 10 by UserThe 10 processes the are consuming the most CPU resources, based on user ID.
Workload Top 10 by GroupThe 10 processes the are consuming the most CPU resources, based on group ID.

Veritas Volume Manager

The Uptime Infrastructure Monitor agent uses the vxdg list command to collect statistics from disk volumes that are managed by the Veritas Volume Manager. These statistics are gathered for each volume, first by retrieving the contents of the disk groups using the vxdisk list command, and then by collecting statistics using the vxstat -g <diskgroup> command.

MetricExplanation
DG/Volume/SubdiskThe name of the disk, volume, or subdisk.
I/O OperationsThe number of times, per second, that data is written to and read from the volume being managed by Veritas Volume Manager.
Block ThroughputThe amount of disk traffic, in blocks of 512 bytes, that is flowing to and from the volume being managed by Veritas Volume Manager.
Average Service TimeThe average amount of time, in milliseconds, that is required for a request to be carried out.

User

The Uptime Infrastructure Monitor agent uses the following commands to collect user statistics from a Solaris system:

  • ps -eo
  • last | head 10 (login history for the last 10 users on the system)
  • who (lists who is currently logged into the system)
MetricExplanation
Login HistoryThe number of times or frequency at which a user has logged into a system during any 30 minute time interval.
SessionsThe number of sessions or number of distinct users who are logged into a system during any 30 minute time interval.