- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
49#
发表于 2014-10-15 14:35:34
kobe24shou 发表于 2014-10-15 13:37
老大,下载下来后怎么用啊
同学 既然下载下来了 何不自己试试? 没有试错精神是很可怕的
[oracle@mlab2 ~]$ ./oratop -h
oratop
----------------------------------------------------------------
is a near-real-time database performance monitor. Runs on Linux platform and compatible with Oracle database version 11.2 or higher. The program requires user with oracle DBA privileges.
Section 1- oratop and database/instance specifics
spid :oratop's server SPID connected to instance,
SID :instance name (First 4 letters),
clock :Time of current stats collected (hh24:mi:ss)
time :uptime since this instance startup,
ins :Total number of active database instance(s),
MT :database total memory (sum Memory_Target),
ses :Total user's sessions,
usr :Total distinct database foreground (F/G) users,
%DB :%database Active, 0 0ndicate idle db
Section 2- Cluster-wide "Top 5 instances activity" ordered by Wait Time
ID :instance id,
%HC :Host CPU Utilization, %(busy/busy+idle),
HLD :Current Host Load,
MBPS :throughput, 'I/O Megabytes per Second',
%FR :Shared Pool Free %,
PGAU :total PGA inuse,
IORL :Avg Synchronous Single-Block Read Latency,
PQS :PQ Slave Session Count,
ASC :Active Sessions on CPU,
ASI :Active Sessions waiting on user i/o,
ASW :Active Sessions waiting/sleeping,
AST :Total Active Sessions,
ASB :Active Sessions blocked,
AAS :Average Active Sessions,
CTPS :(CPS) User Calls Per Sec, OR, (TPS) User Transactions Per Sec (appears in RED),
SSRT :SQl service Response time,
DBC :database cpu time ratio,
DBW :database wait time ratio.
Section 3- Cluster-wide "Top 5 Timed Events" ordered by Wait Time
EVENT :database wait event,
WAITS :cluster average Total waits,
TIME(s) :cluster average Total wait time in seconds),
AVG_MS ::cluster Average wait time in milliseconds,
PCT :Percent of wait time,
WAIT_CLASS :Name of the wait class corresponding to the event.
Section 4- Session/process none-idle ordered by Wait Time desc.
ID :instance id,
SID :session id,
SPID :server process os pid,
USR :user name (abbreviated),
PROG :program name (abbreviated),
PGA :process pga used,
OPN :OPERATION name, e.g. SELECT,
SQLID :SQL identifier if no blocker, else,
/BLOCKR :final blocking instance:session:ospid,
E/T :Elapsed Time since the session has become active. Units: (s)econds, (M)inutes, (h)our, (d)ay.
STATUS :ACTIVE | INACTIVE | KILLED | CACHED | SNIPED,
STE :Process STATE: ON CPU or USR I/O or WAITING,
WAIT_EVENT :process wait event name,
W/T :Wait Time. Units: (u)-micro second, (m)illi second, (s)econds, (M)inutes, (h)our, (d)ay.
[oracle@mlab2 ~]$ ./oratop
oratop: Version v14 Production on Wed Oct 15 02:15:46 2014
Copyright (c) 2011, Oracle. All rights reserved.
Enter user-name: system
Enter password:
oratop:17069 PD003 02:16:07 up 5.8d, 1 ins, 3G MT, 1 ses, 1 usr, 1%DB
ID %HC HLD IORL MBPS %FR PGAU ASC ASI ASW AST ASB AAS UCPS TPS SSRT DBC DBW
1 2 0 0 0 14 176M 0 0 0 0 0 0.0 3 0 81u 106 0
EVENT AVG: TOT WAITS TIME(s) AVG_MS PCT WAIT_CLASS
DB CPU 1252 41
control file sequential read 525561 742 1.4 24 System I/O
log file sync 9878 527 53.3 17 Commit
os thread startup 19704 455 23.1 15 Concurrency
enq: CF - contention 4 59 14861.2 2 Other |
|