Showing posts with label Operating System Monitor. Show all posts
Showing posts with label Operating System Monitor. Show all posts

Control SAPOSCOL from the Operating System

You can also control SAPOSCOL directly from the operating system input prompt.


SAPOSCOL must be running for you to be able to use the following commands. Start the operating system collector with the command saposcol –l.

Features

Control SAPOSCOL from the operating system input prompt using the command saposcol . The following options are possible:

Option

Description

-d

Starts the dialog mode of the operating system collector SAPOSCOL

-k

Stops the current collector

-r

Stops the current collector and displays the results

-h

Displays the possible SAPOSCOL options

-f

Forces the collector to start, even if the collector is already collecting data

-s

Displays the status of the collector

-i

Sets a new interval for the collection of data in the normal mode (every seconds; the default value is 10 seconds)

-v

Displays the version of the collector

-u

Sets the interval in seconds for the switch to idle status (the default value is 300 seconds); if the data in shared memory is not read for the specified length of time, SAPOSCOL switches from normal mode to idle mode.

-e

Sets the interval in seconds for the collection of data in idle status (the default value is 60 seconds)

-c

Deletes the data in shared memory

-p

Writes the shared memory to the file coll.put

-g

Writes the contents of the file coll.put to the shared memory

-t

Sets the trace level for debugging

-ztl

Activates cyclical trace (see SAPOSCOL Log Files)

-n

Sets the normal trace level

-o

Displays all collected data from the shared memory

-m

Displays all current data from the shared memory

Detail Data of the Operating System Monitor

Definition

The operating system of a server provides an SAP instance with data for the following areas:


  • CPU

  • Virtual and Physical Memory

  • File System Administration and Network

The operating system monitor collects this data using the collector SAPOSCOL and provides this data in the operating system monitor to allow you to monitor the server.

Use

The system displays the specified data when you call the operating system monitor.

If you choose the Detail Analysis menu in the operating system monitor, you can obtain additional detail data for the specified areas. The system displays the following data.

Structure

Detail Data from the Shared Memory

Snapshot current data

Current detail data from the shared memory


Monitored Processes displays the workload due to selected processes (see Monitoring Selected Processes with SAPOSCOL).

Previous 24 hours

Stored data for the last 24 hours
(if no data is available for a particular hour, the operating system monitor does not display this hour)

Operating system log

Listing of a part of the operating system log
(the request is sent to SAPOSCOL, which transfers the listing to the file
usr/tmp/os_sys.log. A confirmation of the request is sent to the calling ABAP program).

Detail Data from the Performance Database

Display within server

Usage of a server within the last 30 days

Display across servers

Usage comparison for the accessible servers for the last 30 days


The background job SAP_COLLECTOR_FOR_PERFORMANCE regularly collects data from the SAPOSCOL shared memory and stores it in the performance database MONI. Only the most important data is stored in this database.

The system performs calculations on the basis of this data immediately. The daily average for the time of the highest usage is calculated from the hourly average values (10:00 to 13:00 and 14:00 to 16:00).

Additional Functions

System configuration

Defined values for operating system kernel parameters are displayed together with the currently active values, as they appear in the configuration files.

If the system was started with a different kernel parameter, these values differ from each other.

Parameter changes

All changes to the system parameters are displayed here.

LAN Check by Ping

A PING command over several servers provides the following information:

  • Minimum transfer time for data packets
  • Maximum transfer time for data packets
  • Average transfer time for data packets
  • Number of lost
  • PING data packets

With a simple PING command, you receive the results for each sent data packet.


The SAP program PING determines the time that a data packet requires for the network transfer from its own system to the target system. It is an extension of the UNIX standard command PING. This time is a good indicator of the network transfer capacity. It considers the physical network distance and the network technology in use.

The program also provides information about the number of presentation servers, application servers, and database servers in an SAP system. Select the desired server and execute the PING operation. You can perform PING operations with different data packet sizes.

Operating System Monitor

Purpose

An SAP instance runs within an operating system. The operating system provides the instance with the following resources:

  • Virtual memory
  • Physical memory
  • CPU
  • File system management
  • Physical disk
  • Network

Bottlenecks in these areas can significantly affect the performance of the SAP system. You can monitor these resources using the CCMS operating system monitor.

The operating system monitor helps you locate the cause of a performance problem. If the source of the problem is in the operating system, you can analyze it further and resolve it using external tools or other external means.

Performance indicators are:

  • Average load of and utilization of the CPU
  • Memory utilization
  • Paging in and out of data to and from the memory (replaced by pool data in the OS/400 operating system monitor)
  • Disk utilization information
  • LAN activity
  • Operating system configuration parameters