Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • Flowers Resize datafiles Oracle
  • create PLAN_TABLE command. Oracle
  • Important Script Method for tuning Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • Distributed Transaction Troubleshooting. Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Oracle Statspack survival Guide Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • New OFA for 11g Oracle
  • Pending Distributed Transations Oracle
  • Find sort details from Db find_sort.sql Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix

sess1.sql

Posted on 27-Sep-2006 By Admin No Comments on sess1.sql

column osuser format a10

column username format a30

column machine format a30

column program format a40

column sid format 99999999

column serial# format 99999999

column TOT format 999999 heading “Total Sessions”

break on report

compute sum of TOT on report

set lines 141

set pages 500

select machine, osuser, username, count(1) “TOT” from v$session

group by machine, osuser, username

order by username;

!ps -ef | grep -v grep | grep WEBP18F |wc -l

Oracle, SQL scripts

Post navigation

Previous Post: currwait.sql
Next Post: shr1.sql for MTS or Shared server configuration

Related Posts

  • v$event_name Oracle
  • v$backup.status information Oracle
  • How can I tell if ASO is installed ? Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Find nth max and min. Oracle
  • cache buffer chain latch Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORACLE_SID in sqlplus Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Jai Shree Ram Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme