Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to see which patches are applied. Oracle
  • Renaming Oracle Instance Name Oracle
  • Good Doc 28-JUN-2006 Oracle
  • cache buffer chain latch Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • fkwoind.sql fkwoindex.sql Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • fuser to check who is using diretory Linux/Unix
  • Pending Distributed Transations Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Rename Oracle Instance Name Oracle
  • How to choose Driver table in SQL statement 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

  • How to set Processes Parameter Oracle
  • Rownum with Order by Oracle
  • dbms_job.submit example Oracle
  • Drop database in Oracle 10g Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Rename Tablespace 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 (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Removing Blank lines from file using grep Linux/Unix
  • SQLPLUS COPY command Precautions. Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle
  • refre.sql Oracle
  • Roles and Stored Procs II Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme