Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Async I/O - slightly off-topic

Re: Async I/O - slightly off-topic

From: <Brian_P_MacLean_at_eFunds.Com>
Date: Thu, 08 Aug 2002 21:03:19 -0800
Message-ID: <F001.004B02DA.20020808210319@fatcity.com>

Save the following code as a C program called aio.c, then a simple "gcc aio.c -o aio" will compile it. A return value of 1 (one) confirms AIO is available. I run this on Solaris but it should work on HP. Code is followed by an example run:

11978:oracle_at_bart> cat aio.c
#include <unistd.h>
#include <stdio.h>

main()
{ printf("%ld\n", sysconf(_SC_ASYNCHRONOUS_IO)); }

11978:oracle_at_bart> aio
1

                                                                                                                                      
                      YTTRI  Lisa                                                                                                     
                      <lisa.yttri_at_cnh.c        To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                  
                      om>                      cc:                                                                                    
                      Sent by:                 Subject:  Async I/O - slightly off-topic                                               
                      root_at_fatcity.com                                                                                                
                                                                                                                                      
                                                                                                                                      
                      08/08/02 01:19 PM                                                                                               
                      Please respond to                                                                                               
                      ORACLE-L                                                                                                        
                                                                                                                                      
                                                                                                                                      




Hi everyone -

I am running on a unix server - HP-UX, version 11.0. How can I tell if async i/o is turned on?

Thanks -
Lisa

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: YTTRI  Lisa
  INET: lisa.yttri_at_cnh.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Brian_P_MacLean_at_eFunds.Com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Aug 09 2002 - 00:03:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US