Find whether OS on which Oracle DB is deployed is a VM or Physical server

Hello,
Is there a way via SQL or any built in utility could provide me the information that the OS on which my Oracle DB is deployed is a VM or a Physical Server?
Ta.

You can query the OS:
[root@vm601 ~]# dmidecode | grep -i virtual
    Version: VirtualBox
    Product Name: VirtualBox
    Family: Virtual Machine
    Product Name: VirtualBox
[root@vm601 ~]# virt-what
virtualbox
[root@vm601 ~]# lspci | grep -i VGA
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter

Similar Messages

  • How to Find whether the instance of  Oracle 9iAS is running

    Dear All,
    Is it possible to find out whether the instances of 9ias running,in which port,the home directory of the instance.
    This is Very Urgent
    Regds
    Sree

    solaris has a command lsof
    lsof -i TCP:port
    this shows the uid of the process that is running on the given port.
    If you know the port, you can do
    ps -ef |grep lsof -i TCP:port
    Also try
    ps -ef |grep java
    This would give you a bunch of processes
    Don't know if the pipe would work, but you get the idea....

  • How to find whether Oracle is installed on any server or not.

    Hi,
    I am trying to use the following command to check if Oracle is installed on any Unix server or not. I am not sure whether it is right way or not. If not, is there any other way to find installation of Oracle or not?
    find . -name oraInst.loc >>/tmp/`uname -n`-swinv.txt
    Thanks
    Vipin Gupta

    Every installation of Oracle RDBMS in *nix will contain a bin directory in which you find the oracle executable which must be setuid to the 'oracle' owner.
    The inventory doesn't need to exist.
    The oraInst.log doesn;t need to exist
    The above are created when the Oracle Universal Installer has been used.
    The oratab doesn't need to exist.
    The above exists when the dbca has been used or the DBA was smart enough to plan for oraenv.
    However, every Oracle database needs the oracle executable, named oracle, in the ORACLE_HOME/bin directory, and that must be owned by a userid in the 'OS_DBA' group - usually dba. So
    find / -name oracle
    to find that, and then check whether it is in a ?/bin directory, and finally verify that it is setuid to the owner and setgid to the group.
    Of course that is the tip of the oracle iceberg - Oracle has a whale of a lot more products and the question to find whether 'Oracle' is installed might include Oracle App Server (look for opmnctl in ?/opmn/bin for the full install of Oracle App Server, or ?/bin/oc4j for just the J2EE engine) or Oracle JDeveloper (look for ?/bin/jdev) and so on.
    In Windows, append .exe to the search target.

  • How to find whether the Oracle Apps Instance is ShredAppltop or not

    How shhould we find whether 11i/R12 is shared appltop/shared appstier enabled?
    Is there any table to find this info.
    How many ways we can find this?

    Hi,
    Please see this thread.
    In R12 shared appltop/distributed appltop
    In R12 shared appltop/distributed appltop
    Thanks,
    Hussein

  • How to find version and arch of Oracle client installed

    Hi all
    I have sles 10 sp2 x86_64 on which oracle client 10.2 is installed. this installation was not done by me!
    so i dont know what version/architecture (32/64 bit) mode of the oracle client is installed on the client.
    from sqlplus -V i get only the version which is installed and not whether it is 32 or 64 bit. how can i find that out.
    sqlplus -V
    SQL*Plus: Release 10.2.0.1.0 - Production
    with a bit of googling i found only the below link which says 10g client 32-bit cannot be installed on a 64 bit system.
    i read this Installing 32-bit RDBMS Client software on x86_64 Linux. [ID 1075717.1]
    Installing 32-bit RDBMS Client software on x86_64 Linux.
    The only release of 32-bit RDBMS Client software that will properly install on an x86_64 Linux OS system is 11gR2 (aka 11.2.0.x)
        * 9iR2 (aka 9.2.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 10gR1 (aka 10.1.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 10gR2 (aka 10.2.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 11gR1 (aka 11.1.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
    The answer to "why", is that the 11gR2 Client software is the first version that includes syntax so that a 32-bit object is linked.can someone please throw more light on this?

    If you have "64bit" string in V$VERSION it means Oracle 64bit is running.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - ProductionIf you have no "64bit" string in V$VERSION it means Oracle 32bit is running.

  • How can we find out the disk which is used for a mount point

    How can we find out the disk which is used for a mount point?
    one of our mount point(/u03/oracle/prod) was using high I/O and this was causing slowness in the server.
    I can see a disk operation error in errpt at the same time as below. Wanted to check whether the mount point /u03/oracle/prod is using the disk hdisk31
    $errpt|more
    IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
    DXB78877 1125032114 T H hdisk31 DISK OPERATION ERROR
    OS version:AIX 6.1
    DB:11.2.0.2

    this is the output for cat /etc/filesystem
    /u02:
            dev             = /dev/fslv00
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false
    /u01:
            dev             = /dev/fslv01
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • Find out products installed on Oracle server

    Hi
    Can someone tell me how to find out whether Transparent Gateway, Change Management Pack, Advanced Security and Programmer is installed in server or not. It is not available by querying v$option view

    The inventory is kept in an XML-based data set, totally outside of the database. It is not visible to the database. Nor should it be part of the database ... that would lead to a Catch-22
    The 'deinstall' access is simply an access to the inventory which then allows additional functionality.
    OPatch gives us the patch inventory. OUI gives us the whole inventory.
    Why Oracle did it that way? ... your guess is as good as mine.

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • How to find out the columns which has 16 digit credit card number

    Hi All,
    I have a requirement where in i need to find out the columns which has 16 digit credit number in it and create a report with owner, table name and column name.
    The issue is that the credit card number can be entered in any columns of any table of any schema. For example the credit card number can be entered in any description field(eg: The number is 4001412134642881), in that case i need to filter only the numbers and do the LUHN check to validate the credit card number.
    Please provide me a suggestion on how to scanl the values of all the columns to know the column which has credit card number.
    Regards,
    Raj.

    Tell me this - how the hell do you have a database with credit card number data and NOT know which columns of which tables contain credit card numbers? (and how on earth is this data NOT encrypted!?)
    How is what you want to do, NOT a fishing expedition to hack a database that may or may not be storing credit card details?
    And do you honestly think that we should simply trust that once you have extracted these numbers, performed a Luhn algorithm to verify these as credit card numbers, you are not going to fraudulently use these credit card numbers!?
    I have marked your posting as an attempt to hack an Oracle database for fraudulent use of credit card data. I hope that your OTN account is terminated soon and trust that your too much of a coding idiot to actually succeed in this endevour.

  • How to find whether the tables are needed or not?

    Friends,
    Difficult situation for me......
    OS: RHEL AS 3.0
    DB: Oracle 9i R2
    I was taking table inventory.....
    i saw many tables starting with SMP..... and EVT.....Nearly 50 tables.
    some are...
    EVT_HISTORY
    EVT_DEST_PROFILE
    EVT_CARRIER_CONFIGURATION
    SMP_USER_DETAILS
    SMP_UPDATESERVICES_CALLED_
    SMP_SERVICE_ITEM_
    SMP_SERVICE_GROUP_ITEM_
    SMP_SERVICE_GROUP_DEFN_
    SMP_SERVICE_DATA_
    SMP_LONG_TEXT_
    SMP_JOB_TASK_INSTANCE_
    SMP_JOB_LIBRARY_
    SMP_JOB_INSTANCE_
    SMP_JOB_HISTORY_
    SMP_JOB_EVENTLIST_
    SMP_JOB_
    SMP_EBU_SAVED_JOB_
    SMP_EBU_ACTIVE_JOB_
    SMP_CREDENTIALS$
    SMP_BRM_TEMP_SCRIPTS_
    SMP_BRM_SAVED_JOB_
    SMP_BRM_RC_CONNECT_STRING_
    SMP_BRM_DEFAULT_CHANNEL_
    SMP_BRM_CHANNEL_DEVICE_
    SMP_BRM_ACTIVE_JOB_
    SMP_AUTO_DISCOVERY_PARMS_
    SMP_AUTO_DISCOVERY_ITEM_
    SMP_AD_PARMS_
    SMP_AD_NODES_
    SMP_AD_DISCOVERED_NODES_
    SMP_AD_ADDRESSES_
    more.........
    Nobody knows whats the table is for....
    Actually we were working with oracle 7.3 upto 2004. On 2004 we upgraded to 9iR2. May be the DBA in that time made some mistake.... i think so....thats why all these tables are still here....
    I was not in the picture during that time.
    Now my question is how can i know whether this table is necessary or not. I asked the developers here they said they are not using these tables. But my manager is afraid to delete these tables.
    now what should i do?

    Hi,
    Yet another request to use my crystal ball.
    We had one pc which is having oracle 9i enterprise manager configured(windows 2000) only to connect the db.
    This remembers me of the Gospel of St. Luke, chapter 2, where it is stated,
    'and they found the child in the manger'.
    This resulted a Jewish theologian to remark: 'The manger? Well, so that must have been their own manger'
    So what does 'the' db mean? The Linux one? Or a separate on Win2000?
    It is quite possible to manage a Linux database using OEM on Win2000, with OMS on Win2000.
    'But our server is not having enterprise manager'. Yet another riddle. Which server? There seem to be at least two.
    1 Now if I drop these tables, will I be able to connect to our database using the windows2k pc through Enterprise Manager?
    Yes, but only in standalone mode, and you can't use OEM alerts, and jobs anymore. You would be better off using Sqldeveloper, as OEM Sql worksheet is a nightmare.
    2 That is your decision.
    3
    oemctl ping oms
    will check whether you have an Oracle Management Server running.
    You already seem to have the Enterprise Manager Repository, so you must have OMS running somewhere. (Why install the repository, if you don't use it)
    Sybrand Bakker
    Senior Oracle DBA

  • Writing a function to find whether a value is present in a sql query output

    Hi gurus,
    I would like to write a function to which i will pass a value and a sql query as parameters.
    Now the function needs to execute that sql query and find whether the given value is present in the output list
    when the query is executed. If it is present it should return 'T' otherwise 'F'
    My function will look like
    CREATE FUNCTION CHECK_VALUE(VALUE VARCHAR2,V_SQL VARCHAR2) RETURN VARCHAR2
    SELECT CHECK_VALUE('Dallas','SELECT LOCATION_CODE FROM HR_LOCATIONS')
    It should check whether the value 'Dallas' is present in the output list returned by the sql query.
    Any help will be appreciated.
    Thank you.

    CREATE OR REPLACE
      FUNCTION CHECK_VALUE(
                           VALUE VARCHAR2,
                           V_SQL VARCHAR2
        RETURN VARCHAR2
        IS
            RETVAL VARCHAR2(4000);
            REFCUR SYS_REFCURSOR;
        BEGIN
            OPEN REFCUR FOR V_SQL;
            LOOP
              FETCH REFCUR INTO RETVAL;
              EXIT WHEN REFCUR%NOTFOUND;
              IF RETVAL = VALUE
                THEN
                  CLOSE REFCUR;
                  RETURN 'T';
              END IF;
            END LOOP;
            CLOSE REFCUR;
            RETURN 'F';
    END;
    Function created.
    SQL> SET SERVEROUTPUT ON
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(CHECK_VALUE('DALLAS','select loc from dept'));
    T
    PL/SQL procedure successfully completed.
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(CHECK_VALUE('PARIS','select loc from dept'));
    F
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Which Oracle Edition installed

    Hi,
    how can i easy determine which Oracle Database Edition ist installed (Enterprise, Standard or Standard One)?
    Thanks in advance.
    Regards
    Martin

    There is no specific command that directly shows whether an installation is an Enterprise Edition or a Standard Edition.
    However, there are multiple places that can be checked for the actually installed Oracle Edition. e.g.
    1) The SQL*Plus banner
    2) From the installation logs created while installation of the software
    Location: $ORACLE_HOME/cfgtoollogs/oui
    installActions<timestamp>.log file also shows the installed Oracle Edition in several places.
    The 'Summary Page' shows what type of installation have been selected,
    i.e. Standard for SE, Enterprise or Custom for EE
    3) invoke the OUI GUI and check the installed products (should show the type of installation)

  • How to Find whether  JRE is installed in a system or not ?

    I have to write an application in which I want my app to find whether jre is installed or not ?
    Can any one help in this ? My E-Mail ID is
    [email protected]
    Kumanan.

    For windows OS this is the solution.
    Find out the following key in the registry.
    HKEY_LOCALMACHINE/Software/javaSoft/Java Runtime Environment
    if the key to javasoft is there then JRE is installed and to see the version of JRE look a level down further and you will find the versions.

  • Finding whether the user has administrative rights

    Is there any way by which we can find whether the user has administrative rights or not using java?

    The very notion of "administrative rights" is
    platform-dependent. It's not standard or well-defined
    what "administrative rights" means across all OSes.
    You'll have to use JNI or Runtime.execI searched net a lot but couldnt find any tutorial or artical regarding how to achieve this in C or C++.
    Any link will be helpful.

Maybe you are looking for