Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Finding Oracle Patches with opatch Oracle
  • Exadata Basics Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Changing the Global Database Name Oracle
  • create trigger syntax Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • perf_today.sql Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Monitor Long Running Job Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • New OFA for 11g Oracle
  • check_copy_progress.sh Linux/Unix

tuning commmand for cpu, ip and memory stats

Posted on 12-Sep-2006 By Admin No Comments on tuning commmand for cpu, ip and memory stats

SQL> !mpstat

Linux 2.6.9-34.ELsmp (dbaltxprod51) 09/12/2006

05:45:41 PM CPU %user %nice %system %iowait %irq %soft %idle intr/s

05:45:41 PM all 1.34 0.00 4.17 0.47 0.02 0.11 93.89 1413.67

SQL> !vmstat

procs ———–memory———- —swap– —–io—- –system– —-cpu—-

r b swpd free buff cache si so bi bo in cs us sy id wa

7 0 86476 1836208 113424 3816168 3 4 8 32 2 1 1 4 94 0

SQL> !vmstat 2

procs ———–memory———- —swap– —–io—- –system– —-cpu—-

r b swpd free buff cache si so bi bo in cs us sy id wa

6 0 86476 1778672 113596 3870940 3 4 8 32 2 1 1 4 94 0

6 0 86476 1752224 113632 3887292 0 0 0 476 1054 2611 29 47 24 0

6 0 86476 1735592 113680 3903156 0 0 0 20302 1378 1691 28 47 18 7

6 0 86476 1718736 113712 3919784 0 0 0 700 1070 1843 28 47 25 0

7 1 86476 1701024 113736 3935740 0 0 0 20374 1287 1573 28 47 24 0

6 0 86476 1686232 113776 3951748 0 0 0 236 1131 1637 28 47 22 3

7 0 86476 1669736 113804 3967496 0 0 0 350 1040 1364 28 47 25 0

6 0 86476 1653408 113836 3983240 0 0 0 20116 1363 1396 27 47 22 3

3 0 86476 1636944 113868 3999188 0 0 0 40 1023 1620 28 56 16 0

7 1 86476 1619464 113892 4014804 0 0 0 20152 1311 1273 28 59 13 1

9 2 86476 1604688 113932 4030472 0 0 0 180 1085 1499 27 59 9 5

7 0 86476 1588024 113964 4046556 0 0 0 240 1025 1612 29 47 24 0

10 0 86476 1568440 113996 4061892 0 0 0 20202 1373 1375 28 47 21 4

6 0 86476 1552760 114016 4076832 0 0 0 34 1019 1422 28 48 24 0

8 2 86476 1537536 114052 4091416 0 0 0 19180 1452 1796 28 47 24 0

6 0 86476 1522432 114084 4106616 0 0 2 604 1068 1508 28 47 24 1

6 0 86476 1506312 114112 4122296 0 0 0 146 1035 1736 28 47 25 0

6 0 86476 1437368 114140 4126620 0 0 54 18480 3574 11847 36 27 35 2

SQL> !iostat -c 3

Linux 2.6.9-34.ELsmp (dbaltxprod51) 09/12/2006

avg-cpu: %user %nice %sys %iowait %idle

1.34 0.00 4.30 0.47 93.89

avg-cpu: %user %nice %sys %iowait %idle

28.50 0.00 22.62 4.17 44.71

avg-cpu: %user %nice %sys %iowait %idle

36.52 0.00 13.42 0.08 49.98

avg-cpu: %user %nice %sys %iowait %idle

47.90 0.00 18.20 0.21 33.69

avg-cpu: %user %nice %sys %iowait %idle

22.30 0.00 7.21 0.29 70.20

avg-cpu: %user %nice %sys %iowait %idle

25.44 0.00 9.20 0.17 65.20

SQL>

Linux/Unix, shell

Post navigation

Previous Post: oracle 10g on linux
Next Post: mutex in Oracle 10.2.0.2 or Oracle 10g

Related Posts

  • How to sort list of files on basis of their sizes. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Single character replacement in Unix Linux/Unix
  • catting.sh Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • Removing first line Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • handling filenname with space Linux/Unix
  • DBMS_JOB all example Oracle
  • how to find OS block size Oracle
  • Clean up Oracle
  • chk_space_SID.ksh Linux/Unix
  • database trigger failing Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme