From oracle-l-bounce@freelists.org Wed Mar 31 11:31:41 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i2VHVe721370 for ; Wed, 31 Mar 2004 11:31:40 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i2VHVeo21365 for ; Wed, 31 Mar 2004 11:31:40 -0600 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 67461635B41; Wed, 31 Mar 2004 12:27:32 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06362-93; Wed, 31 Mar 2004 12:27:32 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8ABE8635B40; Wed, 31 Mar 2004 12:27:31 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 31 Mar 2004 12:26:21 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2AA3C635AC1 for ; Wed, 31 Mar 2004 12:26:21 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06362-59 for ; Wed, 31 Mar 2004 12:26:20 -0500 (EST) Received: from smtp106.mail.sc5.yahoo.com (smtp106.mail.sc5.yahoo.com [66.163.169.226]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id 7E991635A6B for ; Wed, 31 Mar 2004 12:26:19 -0500 (EST) Received: from unknown (HELO DC) (diegocutrone@24.232.180.87 with login) by smtp106.mail.sc5.yahoo.com with SMTP; 31 Mar 2004 17:34:35 -0000 Message-ID: <000a01c41770$50feac20$a504fea9@DC> From: "Diego Cutrone" To: "Oracle List" Subject: CPU Time greater than Startup time Date: Wed, 31 Mar 2004 14:34:17 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C4172D.3F61FCD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 2200 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: diegocutrone@yahoo.com.ar Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org ------=_NextPart_000_0007_01C4172D.3F61FCD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi List, Maybe I'm too tired and I'm doing something wrong here.....I need some = more eyes on it Oracle 7.3.4.2 HPUX 10.20 SQL> select (sysdate - (to_date(a.value,'J') + = (b.value/86400)))*24*60*60*100 time_since_startup_cs 2 from v$instance a, v$instance b=20 3 where a.key =3D 'STARTUP TIME - JULIAN' and 4 b.key =3D 'STARTUP TIME - SECONDS'; 24502700 SQL> select name, value from v$sysstat where name like 'CPU%'; CPU used when call started = 30712324 CPU used by this session = 30731923 CPU used when call started is greater than time_since_startup_cs...how = is that possible? I'm sure I missed something. thanks in advance Diego. ------=_NextPart_000_0007_01C4172D.3F61FCD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi List,
 
Maybe I'm too tired and I'm doing = something wrong=20 here.....I need some more eyes on it
 
Oracle 7.3.4.2
HPUX 10.20
 
SQL> select (sysdate - = (to_date(a.value,'J') +=20 (b.value/86400)))*24*60*60*100 time_since_startup_cs
  2  = from=20 v$instance a, v$instance b
  3  where a.key =3D 'STARTUP = TIME -=20 JULIAN' and
  4  b.key =3D 'STARTUP TIME - = SECONDS';
 24502700
 
SQL> select name, value from = v$sysstat where=20 name like 'CPU%';

CPU used when call=20 started           =             &= nbsp;           &n= bsp;   =20 30712324
CPU used by this=20 session           =             &= nbsp;           &n= bsp;     =20 30731923
 
 
CPU used when call started is greater than = time_since_startup_cs...how is=20 that possible?
I'm sure I missed something.
 
thanks in advance
Diego.
------=_NextPart_000_0007_01C4172D.3F61FCD0-- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------