Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • export import with parameter file. Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • proc.sql Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • All Hints for Oracle Databases Oracle
  • online_bkup.sql Oracle
  • create a folder in multiple places Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • create database link syntax Oracle
  • Implementing Listener Security Oracle
  • sess_server.sql Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • get_vmstat.ksh for Solaris 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

  • Find_planinfo.sql Oracle
  • Clean up Oracle
  • Goldengate document from Porus Oracle
  • RAC 11g with vmware Oracle
  • Jai Shree Ram Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Renaming Oracle Instance Name Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Flowers Resize datafiles Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Privilege to describe the table. Oracle
  • check_copy_progress.sh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme