Menu

Tree [88655f] master /
 History

HTTPS access


File Date Author Commit
 README 2016-08-30 sOliverr sOliverr [d8882e] Erase .sh extension in helper script
 aas.sql 2016-08-26 sOliverr sOliverr [0bd053] Fixed error with previous defined variable 1, 2...
 bhla.sql 2015-06-04 sOliverr sOliverr [08f5c9] Add new Tanel Poder script from post: http://bl...
 d.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 ddl.sql 2013-02-28 sOliver sOliver [8b990e] Helper script to get usage info from sql-scripts
 desc.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 descx.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 descx2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 descxx.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 descxx2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 df.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 dir.sql 2016-08-26 sOliverr sOliverr [9425aa] Fixed GutHub #1 issue: New environment variable...
 dirs.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 disco.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 dist.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 du.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 du2.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 dump.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 dumptrc.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 dumpvar.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 dv.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 e2d.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 ed.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 el.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 eoff.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 eon.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 ep.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 es.sql 2016-08-26 sOliverr sOliverr [9425aa] Fixed GutHub #1 issue: New environment variable...
 et.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 ev.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 evh.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 evi.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 evo.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 hash.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 html.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 html2.sql 2016-08-26 sOliverr sOliverr [9425aa] Fixed GutHub #1 issue: New environment variable...
 html3.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 html_.sql 2016-08-26 sOliverr sOliverr [9425aa] Fixed GutHub #1 issue: New environment variable...
 html_settings.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmloff.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmlon.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmlon_.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmlrun.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmlset.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 htmlset2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 i.sql 2014-03-14 sOliverr sOliverr [54fc32] Fix formatting options
 i2h.sql 2014-03-14 sOliverr sOliverr [d1df1c] Added new script from Tanel Poder
 ind.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 ind2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 kill.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 ksmsp.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 l.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 la.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 latchprof.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 latchprofx.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 lc.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 ld.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 lh.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 lhp.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 lhpx.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 lm.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 ln.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 loadset.sql 2013-02-12 sOliver sOliver [2a59d7] Call login_init to restore linesize
 login.sql 2016-08-26 sOliverr sOliverr [0bd053] Fixed error with previous defined variable 1, 2...
 login_format.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 login_init.sql 2016-08-26 sOliverr sOliverr [9425aa] Fixed GutHub #1 issue: New environment variable...
 login_outstanding_alerts.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 ls.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 nls.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 nonshared.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 nonshared2.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 o.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 o2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 s.sql 2016-08-25 sOliverr sOliverr [527d57] Added CLIENT_INFO
 s_pid.sql 2015-07-09 sOliverr sOliverr [e0084c] Show session details by os pid
 saddr.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 saveset.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sd.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 seg.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 seg2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segeof.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segext.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segext2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segstat.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segstat2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 segstatint.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sesopt.sql 2013-01-31 sOliver sOliver [3851d3] Add some files from upstream
 sga.sql 2013-02-01 sOliver sOliver [78599a] Column formatting
 sgai.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 sgares.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 sgastat.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 sgastatx.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 sgav.sql 2013-01-25 sOliver sOliver [64e734] Added some new files from original archive
 sid.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sl.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sleep.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sm.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 smem.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 smem_detail.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 snapper.sql 2014-11-07 sOliverr sOliverr [6615e2] Add Poder's snapper.sql
 sp.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sql.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sql_id.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqla.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlbinds.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlcsstat.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlf.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlh.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqli.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlid.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqll.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlmem.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlopt.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlprof.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlt.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqlt9.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sqltune_tune_sqlid.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sw.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 sw2.sql 2016-08-30 sOliverr sOliverr [88655f] Session wait look
 swa.sql 2016-08-30 sOliverr sOliverr [88655f] Session wait look
 swa2.sql 2016-08-30 sOliverr sOliverr [88655f] Session wait look
 swag.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 swau.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 swb.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 swf.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 swg.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 swp.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 swu.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 swug.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 sys.sql 2013-01-31 sOliver sOliver [3851d3] Add some files from upstream
 sysm.sql 2013-01-31 sOliver sOliver [3851d3] Add some files from upstream
 sysopt.sql 2013-01-31 sOliver sOliver [3851d3] Add some files from upstream
 syspriv.sql 2013-01-31 sOliver sOliver [3851d3] Add some files from upstream
 tab.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 tab2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 tpt_help 2016-08-30 sOliverr sOliverr [d8882e] Erase .sh extension in helper script
 undo_seg.sql 2015-10-09 sOliverr sOliverr [60fb17] Undo-segment information
 usql.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 usqlx.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 v.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 v2.sql 2013-02-26 sOliver sOliver [022da1] Added some files from upstream
 waitprof.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xm.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xma.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xmai.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xms.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xms2.sql 2013-01-24 sOliver sOliver [3ed843] Tanel Poder scripts for Oracle troubleshooting
 xmsh.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh
 xmsi.sql 2013-03-05 sOliver sOliver [78ec8d] Formating comments for tpt_help.sh

Read Me

Tanel's Oracle Troubleshooting Scripts
--------------------------------------

Here is scripts and tools used at Tanel's Oracle Troubleshooting seminars
 from  http://tech.e2sn.com/oracle-scripts-and-tools/

See also Tanel Poder's blog 
 http://blog.tanelpoder.com/2011/03/24/an-index-of-my-tpt-scripts/

1. Create directories for temporary files:
   mkdir -p ~/tpt/tmp

2. Set up environment:
   TPT_HOME = ~/tpt
   TPT_TEMP = $TPT_HOME/tmp
   export TPT_HOME TPT_TEMP

3. Unarchive sql-scripts to apropriate directory:
   tar zxvf http://files.e2sn.com/scripts/tpt_public_unixmac.tar.gz -C ~/tpt

4. Move executable script tpt_help.sh somewhere in you PATH
   cp ~/tpt/tpt_help ~/bin/tpt_help
   chmod +x ~/bin/tpt_help

5. Create you own $HOME/login.sql file:
   @tpt/login.sql
   --
   -- you can put your own login scripts here 
   --

6. Using sripts

   Now you can use scripts from Oracle SQL*Plus:

   username@servername:~$ sqlplus /nolog

   Copyright (c) 1982, 2005, Oracle.  All rights reserved.

   SQL> conn db_user/db_pwd@db

   Connected to:
   Oracle Database 10g Release ...

   SQL> @tpt/i

   USERNAME   INST_NAME    HOST_NAME    SID   SERIAL#  VERSION    STARTED  SPID     OPID  CPID     SADDR            PADDR
   ---------- ------------ ------------ ----- -------- ---------- -------- -------- ----- -------- ---------------- ----------------
   SYS        test         test.loc     1111  35813    10.2.0.2.0 20160819 7370     21    8986     0000000212C162B0 0000000217B3FA10

   SQL> !tpt_help [ --list | script_name ]
           --list      - list all available scripts with short descriptions
           script_name - get help for specific script

7. Project Home

   Project is hosted on GitHub https://github.com/soliverr/oracle-tpt
   and mirrored on SourceForge: http://sourceforge.net/projects/oracledba


  -- Sergey Kryazhevskikh <soliverr@gmail.com>

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.