Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Order by with ROWNUM Oracle
  • How to calculate PROCESSES parameter Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • v$event_name Oracle
  • eplan.sql Oracle
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • Recovering lost SYS password Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Load SPM baseline from AWR Oracle
  • Jai Shree Ram Oracle
  • Multiple listeners Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix

perf_today.sql

Posted on 10-May-2008 By Admin No Comments on perf_today.sql

column start_dt format a20

column start_dt1 format a20

set lines 120 pages 300

select to_char(start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, user_cpu, system_cpu, idle_cpu, wait_cpu

from STATS$VMSTAT2

where start_date > trunc(sysdate)

order by start_date;

select to_char(measured_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, total_users, Active_users from STATS$TOTALUSERS

where measured_date > trunc(sysdate)

order by measured_date;

select to_char(start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt1, system_sessions, active_users, inactive_users,

dedicated_servers, user_sessions, transactions

from STATS$USERSESSION

where start_date > trunc(sysdate)

order by start_date;

Oracle, SQL scripts

Post navigation

Previous Post: pvm_rbs1.sql (to collect rbs info from db)
Next Post: find_idle_cpu.sql

Related Posts

  • V$ROLLSTAT status is Full Oracle
  • how to find OS block size Oracle
  • DBMS_JOB all example Oracle
  • FGA Part-I Oracle
  • Database logon trigger issue Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Kernel Parameters for Solaris Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Implementing Listener Security Oracle
  • USER_TABLES.Freelists Oracle
  • crontab syntax Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Distributed Transaction Troubleshooting. Oracle
  • Very Good Oralce Internal Tuning Book Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme