Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • checking redhat linux version Linux/Unix
  • ext#.sql Oracle
  • DB Console Mainenance. Oracle
  • Default User Profile Oracle
  • Set Role explaination. Oracle
  • alter database backup controlfile to trace Oracle
  • sid_wise_sql.sql Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Find total file sizes Linux/Unix
  • Monitor Long Running Job Oracle
  • on IBM-AIX for display Linux/Unix
  • nfs mount command Linux/Unix
  • Oracle Internal Good Websites 1 Oracle
  • SQL_PROFILE – I explaination 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

  • V$ROLLSTAT status is Full Oracle
  • Database logon trigger issue Oracle
  • Jai Shree Ram Oracle
  • get_aix_vmstat.ksh Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • DB Console Mainenance. 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to find where datafile is created dbf_info.sql Oracle
  • oracle Dba site Oracle
  • EXTPROC Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Add new columns in dataframe Python/PySpark
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • move_arch_files.ksh Linux/Unix
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme