Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MEANINGFUL Performance/Load Statistics

MEANINGFUL Performance/Load Statistics

MEANINGFUL Performance/Load Statistics

Hi Everyone,

Here's the tough one for you:

OS: Solaris 10

OBJECTIVE: meaningfully and accurately show processor, memory and disk usage/load per:

1. process
2. zone
3. SunCluster resource group

Seemingly simple, the task may get a bit complex. For example, an Oracle database will usually start many processes that utilize the same shared memory area. However, I'm not really able to say if out of, say, 25 oracle processes, 18 use the same chunk of memory, while 7 use some additional. If this would be the case, I'd have to add the first shared chunk (used by the 18 processes) to the other chunk (used by the remaining 7).
How do I know how memory is being utilized by (i.e. exclusive vs shared) by a bunch of oracle processes?

Somewhat similar question arises in case of SunCluster. Is there a way of telling how different cluster resource groups utilize memory/processor/disk?

Same thing relating to zones: is the command prstat -Z trustworthy?

Any ready tool, set of tools, or even DTrace script that would attain said objective?

Thanx in advance for your input!


RE: MEANINGFUL Performance/Load Statistics

The "ipcs" command can give you useful details about shared memory usage. It can show you the size of the shared memory segment and how many processes are attached to it.


# ipcs -micb
IPC status from <running system> as of Thu Mar 24 09:44:56 PDT 2011
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP      SEGSZ ISMATTCH
Shared Memory:
m 2113929323   0x100daeb  --rw-rw-r--     root     root     root     root       4192        0
m 2113929322   0x100dae7  --rw-rw-r--     root     root     root     root       4192        0
m 1241513984   0xca002    --rw-rw-rw-     root     root     root     root     464172        0
m   16777253   0xc63cec   --rw-r-----   oracle      dba   oracle      dba  650117120       26
m         43   0x100d9bc  --rw-rw-r--     root     root     root     root       4192        0
m         42   0x100d97a  --rw-rw-r--     root     root     root     root       4192        0
m         40   0x100d91d  --rw-rw-r--     root     root     root     root       4192        0
m         39   0x100d96e  --rw-rw-r--     root     root     root     root       4192        0
m         34   0x100d8e5  --rw-rw-r--     root     root     root     root       4192        0
m         33   0x100d51d  --rw-rw-r--     root     root     root     root       4192        0
See the man page for options.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close