Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • shutdown linux Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Space padding in korn shell Linux/Unix
  • Convert multiple rows to single column Oracle
  • Oracle Material from OTN Oracle
  • V$ROLLSTAT status is Full Oracle
  • Find total file sizes Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • Difference between SYNC and AFFIRM Oracle
  • Rman Notes -1 Oracle

To see mem usage and CPU usage system wide.

Posted on 31-Aug-2005 By Admin No Comments on To see mem usage and CPU usage system wide.

Use

$ top

last pid: 17552; load averages: 0.04, 0.03, 0.04 15:16:01

93 processes: 88 sleeping, 2 zombie, 3 on cpu

CPU states: % idle, % user, % kernel, % iowait, % swap

Memory: 8192M real, 3841M free, 2867M swap in use, 5629M swap free

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND

17551 oracle 1 22 0 3320K 2792K cpu/0 0:00 0.45% ls

17552 oracle 1 8 0 1864K 1256K cpu/1 0:00 0.27% top

17550 oracle 1 42 0 7408K 2248K cpu/3 0:00 0.06% sshd

17548 root 1 28 0 5864K 2248K sleep 0:00 0.06% sshd

12667 oracle 1 58 0 1124M 1051M sleep 0:07 0.03% oracle

12651 oracle 1 38 0 1125M 1061M sleep 0:02 0.02% oracle

12649 oracle 14 58 0 1128M 1053M sleep 0:06 0.02% oracle

11590 oracle 11 58 0 855M 780M sleep 0:04 0.02% oracle

361 root 13 20 0 7088K 6480K sleep 27:08 0.01% picld

11830 oracle 11 58 0 854M 780M sleep 0:03 0.01% oracle

22488 oracle 6 48 0 22M 9384K sleep 6:52 0.00% tnslsnr

13488 root 1 48 0 3168K 1624K sleep 4:22 0.00% sshd

1 root 1 58 0 880K 360K sleep 1:56 0.00% init

404 root 20 58 0 35M 21M sleep 0:37 0.00% vxsvc

24 root 1 58 0 9840K 8320K sleep 0:36 0.00% vxconfigd

Linux/Unix, shell

Post navigation

Previous Post: How to know Number of CPUs on Sun Box
Next Post: To seee semaphores and shared memory segments in Solaris

Related Posts

  • Space padding in korn shell Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • CPU speed on solaris Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • move_arch_files.ksh Linux/Unix
  • Caching sequence in Memory Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme