JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Managing System Information, Processes, and Performance in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing System Information (Tasks)

2.  Managing System Processes (Tasks)

3.  Monitoring System Performance (Tasks)

Where to Find System Performance Tasks

System Performance and System Resources

Processes and System Performance

About Monitoring System Performance

Monitoring Tools

Displaying System Performance Information

Displaying System Performance Information (Task Map)

Displaying Virtual Memory Statistics (vmstat)

How to Display Virtual Memory Statistics (vmstat)

How to Display System Event Information (vmstat -s)

How to Display Swapping Statistics (vmstat -S)

How to Display Interrupts Per Device (vmstat -i)

Displaying Disk Utilization Information (iostat)

How to Display Disk Utilization Information (iostat)

How to Display Extended Disk Statistics (iostat -xtc)

Displaying Disk Space Statistics (df)

How to Display Disk Space Information (df -k)

Monitoring System Activities

Monitoring System Activities (Task Map)

Monitoring System Activities (sar)

How to Check File Access (sar -a)

How to Check Buffer Activity (sar -b)

How to Check System Call Statistics (sar -c)

How to Check Disk Activity (sar -d)

How to Check Page-Out and Memory (sar -g)

Checking Kernel Memory Allocation

How to Check Kernel Memory Allocation (sar -k)

How to Check Interprocess Communication (sar -m)

How to Check Page-In Activity (sar -p)

How to Check Queue Activity (sar -q)

How to Check Unused Memory (sar -r)

How to Check CPU Utilization (sar -u)

How to Check System Table Status (sar -v)

How to Check Swapping Activity (sar -w)

How to Check Terminal Activity (sar -y)

How to Check Overall System Performance (sar -A)

Collecting System Activity Data Automatically (sar)

Running the sadc Command When Booting

Running the sadc Command Periodically With the sa1 Script

Producing Reports With the sa2 Shell Script

Setting Up Automatic Data Collection (sar)

How to Set Up Automatic Data Collection

4.  Scheduling System Tasks (Tasks)

5.  Managing the System Console, Terminal Devices, and Power Services (Tasks)

Index

Processes and System Performance

The following table describes terms that are related to processes.

Table 3-1 Process Terminology

Term
Description
Process
Any system activity or job. Each time you boot a system, execute a command, or start an application, the system activates one or more processes.
Lightweight process (LWP)
A virtual CPU or execution resource. LWPs are scheduled by the kernel to use available CPU resources based on their scheduling class and priority. LWPs include a kernel thread and an LWP. A kernel thread contains information that has to be in memory all the time. An LWP contains information that is swappable.
Application thread
A series of instructions with a separate stack that can execute independently in a user's address space. Application threads can be multiplexed on top of LWPs.

A process can consist of multiple LWPs and multiple application threads. The kernel schedules a kernel-thread structure, which is the scheduling entity in the SunOS environment. Various process structures are described in the following table.

Table 3-2 Process Structures

Structure
Description
proc
Contains information that pertains to the whole process and must be in main memory all the time
kthread
Contains information that pertains to one LWP and must be in main memory all the time
user
Contains the “per process” information that is swappable
klwp
Contains the “per LWP process” information that is swappable

The following figure illustrates the relationships among these process structures.

Figure 3-1 Relationships Among Process Structures

image:The figure illustrates relationships among process structures.

Most process resources are accessible to all the threads in the process. Almost all process virtual memory is shared. A change in shared data by one thread is available to the other threads in the process.