Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • on IBM-AIX for display Linux/Unix
  • UNderstand and eliminate Latch contention. Oracle
  • Rollback force for distributed transactions Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • AWR license Oracle
  • create a folder in multiple places Linux/Unix
  • RAC with RHEL4 and 11g Oracle
  • Checking SQL Server Version SQL Server
  • Find sort details from Db find_sort.sql Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Rman Notes -1 Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Check SQL Server edition SQL Server

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

  • sql_plan9i.sql Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • CPU Core related projections AWS
  • refre.sql Oracle
  • tracksqltime.sql Oracle
  • DBMS_SQL for alter session. 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Library cahe Latches and internal explaination Oracle
  • get_vmstat_linux Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme