I was asking more information about Operating System. Then I wondered if an generic sql can give this information? Following things come to my mind.
- SELECT banner from v$version;
- SELECT LOG_MODE ,PLATFORM_ID,PLATFORM_NAME FROM V$DATABASE;
My output from test database is below.
SQL> SELECT banner from V$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> SELECT LOG_MODE ,PLATFORM_ID,PLATFORM_NAME FROM V$DATABASE;
LOG_MODE PLATFORM_ID PLATFORM_NAME
------------ ----------- -------------------
NOARCHIVELOG 10 Linux IA (32-bit)
/etc/redhat-release, or/etc/debian_versionon Debian and so on.uname -aoutput is useful too. – Gaius Dec 21 '11 at 10:06