Categories
SCRIPTS

How to get CPU memory info in 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’);

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

One reply on “How to get CPU memory info in server”

Leave a comment