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@bart> cat aio.c
#include <unistd.h>
#include <stdio.h>
main()
{ printf("%ld\n", sysconf(_SC_ASYNCHRONOUS_IO));
}

11978:oracle@bart> aio
1



                                                                                       
                                               
                      YTTRI  Lisa                                                      
                                               
                      <[EMAIL PROTECTED]        To:       Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>                  
                      om>                      cc:                                     
                                               
                      Sent by:                 Subject:  Async I/O - slightly 
off-topic                                               
                      [EMAIL PROTECTED]                                                 
                                               
                                                                                       
                                               
                                                                                       
                                               
                      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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to