Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
\n \n \n \n \n \n \n \n \n \n \n \n \n
Related DocumentationVersion of up.time \naffectedAffected Platforms
\nAllAIX

...

The up.time The Uptime Infrastructure Monitor AIX agent collects the following performance metrics from the systems on which it is installed:

...

    \n
  • CPU
  • \n
  • Memory
  • \n
  • Disk
  • \n
  • Network
  • \n
  • Process
  • \n
  • User
  • \n

...

The AIX agent uses a number of utilities to gather these metrics including:

...

 

Code Block
sar: collects information about system activity. This version of sar is bundled with AIX.

...


mpstat: collects processor-related metrics.

...


ifconfig: configures the parameters for network interfaces.

...


ps: reports on the status of processes.

...


...

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

...

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.

...

 

CPU

...

The up.time The Uptime Infrastructure Monitor agent uses the sar -u -f command to collect CPU metrics from an AIX system. The statistics that the agent returns are averaged for all CPUs on the system and the sar command compares the system counters during a one-second interval. If you have multiple CPUs, the CPU statistics output by the agent are an average of all the CPUs on the server.

...

 

Metric
\n \n\tMetric \n\t \n \n\t
Explanation
\n
% Usr
\n\t
The amount of time that the CPU spends in user mode.
\n \n \n
\n\t
% Sys
\n\t
The amount of time that the kernel spends processing system calls.
\n \n \n
\n\t
% WIO
\n\t
The amount of waiting time that a runnable process for a device takes to perform an I/O operation.
\n \n \n \n\t
Multi CPU Usage
\n\t
Whether or not a system
wity
with multiple CPUs is effectively balancing tasks between CPUs, or if processes are being forced off CPUs in certain circumstances.
\n \n \n\t
Run Queue Length
\n\t
The percentage of time that one or more services or processes are waiting to be served by the CPU.
\n \n \n \n\t
Run Queue Occupancy
\n\t
The percentage of time that one or more services or processes are waiting to be served by the CPU.
\n \n

...

Memory

...

 

Memory

The Uptime Infrastructure Monitor The up.time agent uses the vmstat 1 2 command to average statistics for the entire system. The agent also uses the sar utility with the following options to collect memory metrics from an AIX system:

...

 

Code Block
-b -f (cache metrics)

...


-r -f (unused memory pages and disk blocks)

...


-q -f (the average queue length while it is occupied, and the percentage of time the queue is occupied)

...


-c -f (system calls)

...


 

...

The sar commands compare the system counters over a one-second interval.

...

\n \n\t
Metric
\n\t \n\t
Explanation
\n \n
Free Memory
\n\t
The amount of physical memory available to the operating system, system library files, and applications.
\n \n \n \n\t
Cache Hit Rate
\n\t
How often the system accesses the CPU cache.
\n \n \n\t
Page-outs/s
\n\t
The rate at which pages were written to disk.
\n \n \n\t
Page-ins/s
\n\t
The rate at which pages were read from or written to the disk.
\n
\n \n\t
Page Free/s
\n\t
The number of pages that are freed from memory each second.
\n \n \n\t
Attaches/s
\n\t
The number of pages that get attached to memory each second.
\n
\n \n\t
odio/s
\n\t
The number of non-paging disk I/O per operations that occur each second.
\n \n \n \n\t
slots
\n\t
The number of available initiators.
\n
\n \n \n\t
cycle/s
\n\t
The number of page replacement cycles that occur each second.
\n
\n \n \n\t
fault/s
\n\t
The number of page faults that occur each second.
\n \n \n \n\t
Software Locks/s
\n\t
The number of software locks that are issued each second.
\n \n

...

 

Disk

...

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

...

 

Code Block
df -k to gather file system capacity statistics, for the file system.

...


sar -d -f to output disk statistics (e.g. %busy, Read/Write/s) per disk, and compare those

...

 statistics between polling intervals.

...


 

...

By default, the disk statistics are generated for all disks (including disks that are not active). This can be changed within the agent by setting the ACTIVEONLY flag in the perfparse.sh file to 0.

...

\n\t
Metric
\n\t
Explanation
\n
\n \n\t
Disk (Spindle) Name
\n\t
The names of each disk on the system.
\n \n \n\t
Usage (% Busy)
\n\t
The percentage of time during which the disk drive is handling read or write requests.
\n \n \n \n\t
Blocks per second
\n\t
The number of read and write operations on the disk that occur each second.
\n \n \n\t
Transfers/s
\n\t
The average number of bytes that have been transferred to or from the disk during write or read operations.
\n \n \n\t
Average Queued Requests
\n\t
The number of threads that are waiting for processor time.
\n
\n \n\t
Average Service Time
\n\t
The average amount of time, in milliseconds, that is required for a request to be carried out.
\n \n \n\t
Average Wait Time
\n\t
The average time, in milliseconds, that a transaction is waiting in a queue. The wait time is directly proportional to the length of the queue.
\n \n

...

 

Network

...

The up.time Uptime Infrastructure Monitor agent uses the netstat command with the following options to collect network metrics from an AIX system:

...

 

Code Block
netstat -s to combine TCP retransmits for all interfaces

...


netstat -I <interface> to average statistics (e.g. kbps, errors and collisions) per interface.

...


MetricExplanation
Receive Rate

...

\n \n\tMetric \n\tExplanation \n \n \n\tReceive Rate \n\t
The rate, in kilobytes per seconds, at which data is received over a specific network adapter.
\n \n
\n \n\t
Send Rate
\n\t
The rate, in kilobytes per seconds, at which data is sent over a specific network adapter.
\n \n \n\t
Packets Inbound Errors
\n\t
The number of inbound packets that contained errors, which preventing those packets from being delivered to a higher-layer protocol.
\n \n \n\t
Packets Outbound Errors
\n\t
The number of outbound packets that could not be transmitted because of errors.
\n \n \n\t
Collisions
\n\t
The number of signals from two separate nodes on the network that have collided.
\n
\n \n\t
TCP Retransmits
\n\t
The number of packets that have been re-sent over a network interface.
\n \n

...

 

Process and Workload

...

The up.time The Uptime Infrastructure Monitor agent uses the ps -eo command to collect, process metrics from an AIX system. By default, the agent only gathers the top 20 processes and sorts them by the highest CPU usage.

...

Workload statistics are sorted within up.timeUptime Infrastructure Monitor's core. However, the core uses the same 20 processes that were gathered from the Process method. The following data are also gathered with the processes: the names of users, groups and processes along with their invividual individual statistics (e.g. memory and CPU usage). up.timeUptime Infrastructure Monitor's core will then sort the statistics based on the graph you want to generate (e.g. user, group or process name).

...

\n \n\t
Metric
\n\t
Explanation
\n
\n \n\t
Number of Processes
\n\t
The number of processes that are currently running on a system.
\n \n \n \n\t
Process Creation Rate
\n\t
This metric determines whether or not there are runaway processes on a system or if a forking-based process (like a Web server) is spawning too many processes over a specified period of time.
\n \n \n\t
Processes Running
\n\t
The number of processes that are currently running.
\n \n \n\t
Processes Blocked
\n\t
The number of processes that are currently being blocked from running.
\n \n \n\t
Processes Waiting
\n\t
The number of processes that are currently waiting to runn.
\n \n \n\t
Workload - User
\n\t
The demand that network and local services are putting on the system, based on the IDs of the users who are logged into a system.
\n \n \n\t
Workload - Group
\n\t
The 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.
\n
\n \n\t
Workload - Process Name
\n\t
The demand that network and local services are putting on a system, based on the processes that are running.
\n \n
\n\t
Workload Top 10 - User
\n\t
The 10 network and local services that are are putting the most load on the system, based on the IDs of the users who are logged into a system.
\n
\n \n \n\t
Workload Top 10 - Group
\n\t \n \n\t
The 10 network and local services that are are putting the most load on the system, based on the IDs of the user groups who are logged into a system.
\n
Workload Top 10 - Process Name
\n\t
The 10 network and local services that are are putting the most load on the system, based on the processes that are running.
\n

...

 

User

...

The up.time The Uptime Infrastructure Monitor agent uses the following utilities to collect user metrics from an AIX system:

...

 

Code Block
ps -eo

...


last | head 10 (login history for the last 10 users on the system)

...


who (lists who is currently logged into the system)

...


...

\n \n\tMetric \n\tExplanation \n \n \n\tLogin History \n\t
MetricExplanation
Login History
The number of times or frequency at which a user has logged into a system during any 30 minute time interval.
\n \n
\n \n\t
Sessions
\n\t
The number of sessions or number of distinct users who are logged into a system during any 30 minute time interval.
\n \n \n