Top on Solaris
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Top on Solaris

  1. #1
    Join Date
    Jun 2000
    Location
    Hammersmith, London
    Posts
    20
    Top command on Solaris

    I type 'top' in solaris and see many processes running:


    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    20408 oratst 1 52 0 190M 171M sleep 0:02 2.35% oracle
    20410 oratst 1 54 0 190M 171M sleep 0:02 1.14% oracle
    20480 root 1 0 0 2320K 1288K cpu/1 0:00 0.60% top
    20479 oratst 1 0 0 30M 9232K sleep 0:00 0.31% oracle
    20477 oratst 1 0 0 30M 9232K sleep 0:00 0.23% oracle
    20471 oratst 1 0 0 30M 9232K sleep 0:00 0.18% oracle
    20473 oratst 1 0 0 30M 9232K sleep 0:00 0.17% oracle

    Should I be worried about what 190M is as a size, given that there are several hundred of these processes - it sounds like a lot of memory being used - how can I change this?

    Thanks
    Raj

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,095
    Fear not.

    Top lies when it reports the amount of memory used because it doesn't indicate that most of that memory is shared memory. Each session shares memory with the memory allocated for the SGA. /usr/proc/bin/pmap is a better indicator of where the memory is allocated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width