Monitor CPU Usage Information

Friday Apr 29th 2016
Share:

This script will monitor CPU Usage Information.

>>Script Language and Platform: Oracle

Author: Mir Sayeed Hassan


This script will monitor CPU Usage Information.

select  
  ss.username, 
  se.SID, 
  VALUE/100 cpu_usage_seconds from v$session ss,  
  v$sesstat se,  
  v$statname sn 
where 
  se.STATISTIC# = sn.STATISTIC# and 
  NAME like '%CPU used by this session%' and 
  se.SID = ss.SID and  
  ss.status='ACTIVE' and  
  ss.username is not null order by VALUE desc;

Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued

Back to Database Journal Home

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved