DBA Hub

📋Steps in this guide1/1

Get cpu memory info of db server

set pagesize 200 set lines 200 col name for a21 col stat_name for a25 col value for a13 col comments for a56 select STAT_NAME,to_char(VALUE) as VALUE ,COMMENTS from v$osstat where stat_name IN ('NUM_CPUS','NUM_CPU_CORES','NUM_CPU_SOCKETS') union select STAT_NAME,VALUE/1024/1024/1024 || ' GB' ,COMMENTS from v$osstat where stat_name IN ('PHYSICAL_MEMORY_BYTES');

oracle configurationintermediate
by OracleDba
13 views
1

Get cpu memory info of db server

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
set pagesize 200
set lines 200
col name for a21
col stat_name for a25
col value for a13
col comments for a56
select STAT_NAME,to_char(VALUE) as VALUE ,COMMENTS from v$osstat where
stat_name IN ('NUM_CPUS','NUM_CPU_CORES','NUM_CPU_SOCKETS')
union
select STAT_NAME,VALUE/1024/1024/1024 || ' GB' ,COMMENTS from
v$osstat where stat_name IN ('PHYSICAL_MEMORY_BYTES');

Comments (0)

Please to add comments

No comments yet. Be the first to comment!