Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • create a folder in multiple places Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • perf_today.sql Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Rename Tablespace Oracle
  • 10g oem configuration Oracle
  • ORA-3136 Oracle
  • move_arch_files.ksh Linux/Unix
  • create PLAN_TABLE command. Oracle
  • online_bkup.sql Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Read CSV File using Python Python/PySpark

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

  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Remove duplicate rows from table Oracle
  • My Minimum Tuning Programs Oracle
  • configUOCIOTTO.ora Oracle
  • Absolute file number and relative file number 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • All Hints for Oracle Databases Oracle
  • Changing default shell Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • Oracle 10g for solaris 10 Oracle
  • Good Link from metalink 1 Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • alter database backup controlfile to trace Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme