日期:2014-05-16 浏览次数:20646 次
[oracle@node ~]$ sqlplus u01/oracle SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 5 19:37:59 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options SQL> select username,sid,serial#,server,paddr,status 2 from v$session 3 where username='U01'; USERNAME SID SERIAL# SERVER PADDR STATUS ------------------------------ ---------- ---------- --------- -------- -------- U01 145 263 DEDICATED 2C21B254 ACTIVE SQL> set autotrace on SQL> / USERNAME SID SERIAL# SERVER PADDR STATUS ------------------------------ ---------- ---------- --------- -------- -------- U01 140 56 DEDICATED 2C21B254 INACTIVE U01 145 263 DEDICATED 2C21B254 ACTIVE