par_listproc SELECT CPU_TIME/100000, SYS.V_$SQL.SQL_TEXT, USERNAME FROM SYS.V_$SQL, SYS.V_$SESSION WHERE SYS.V_$SQL.SQL_ID = SYS.V_$SESSION.SQL_ID(+) AND username IS NOT NULL ORDER BY CPU_TIME DESC
par_listproc *
par_listproc ERROR at line 1:
par_listproc ORA-00942: table or view does not exist
par_listproc
par_listproc
par_listproc Id User Host db Command Time State Info
par_listproc XXX sqlunittest localhost sqlunittest Query 0 starting show processlist
par_multiarg_on_command_line ### Test oracle with multiple arguments on the command line
par_multiarg_on_command_line
par_multiarg_on_command_line 'ARG
par_multiarg_on_command_line ----
par_multiarg_on_command_line arg2
par_multiarg_on_command_line
par_multiarg_on_command_line
par_multiarg_on_command_line 'ARG
par_multiarg_on_command_line ----
par_multiarg_on_command_line arg3
par_multiarg_on_command_line
par_newline_on_commandline ### Test oracle with \n arguments on the command line
par_newline_on_commandline
par_newline_on_commandline 1
par_newline_on_commandline ----------
par_newline_on_commandline 1
par_newline_on_commandline
par_newline_on_commandline
par_newline_on_commandline 2
par_newline_on_commandline ----------
par_newline_on_commandline 2
par_newline_on_commandline
par_newline_on_commandline
par_newline_on_commandline 3
par_newline_on_commandline ----------
par_newline_on_commandline 3
par_newline_on_commandline
par_showdatabases ### Test --show-databases
par_showdatabases
par_showdatabases TABLESPACE_NAME BLOCK_SIZE INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS MAX_SIZE PCT_INCREASE MIN_EXTLEN STATUS CONTENTS LOGGING FOR EXTENT_MAN ALLOCATIO SEGMEN DEF_TAB_ RETENTION BIG PREDICA ENC COMPRESS_FOR
par_sql_from_url ### Test reading sql from url command line
par_sql_from_url Test reading SQL from command line
par_sql_from_url Yes it works
par_sql_from_url ### Test reading sql from url command line %-quoting
par_sql_from_url Test %-quoting SQL from command line
par_sql_from_url Yes it works
par_sql_from_url ### Test .sql/aliases with url on commandline
par_sql_from_url Test if .sql/aliases with %-quoting works
par_sql_from_url Yes it works
par_test_alias_with_statement ### Test alias with statement .sql/aliases
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement ### Test alias followed by SQL as arg
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement 'Arg on cmdline'
par_test_alias_with_statement Arg on cmdline
par_test_alias_with_statement ### Test alias with query followed by SQL as arg
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement Query added to alias
par_test_alias_with_statement 'Arg on cmdline'
par_test_alias_with_statement Arg on cmdline
par_test_alias_with_statement ### Test alias with statement .sql/aliases
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement Query added to alias
par_test_alias_with_statement 'Query from stdin'
par_test_alias_with_statement Query from stdin
par_test_alias_with_statement Test statement in alias
par_test_alias_with_statement It works
par_test_alias_with_statement Query added to alias
par_test_alias_with_statement Query added to alias
par_test_alias_with_statement Query from stdin
par_test_alias_with_statement Query from stdin
par_test_cyclic ### Test cyclic alias .sql/aliases
par_test_cyclic :cyclic3 is a cyclic alias
par_test_dburl_colon ### Test dburl :
par_test_dburl_colon Error:
par_test_dburl_colon : is not defined in ~/.sql/aliases ~/.dburl.aliases /etc/sql/aliases /usr/local/bin/dburl.aliases /usr/local/bin/dburl.aliases.dist