Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rman Notes -1 Oracle
  • How to stop OCSSD Daemon Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • sqlnet.ora paramters Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • ORA-01220 Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • findobj.sql Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Find All internal Parameters Oracle
  • My Minimum Tuning Programs Oracle

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

  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • get_vmstat_linux Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • SYSOPER Mystery Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Monitor and Trace Unix processes using truss Linux/Unix
  • How to stop OCSSD Daemon Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • login.sql Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Check Oracle installed products using one command Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme