Sponsored Content
Operating Systems Solaris Check Solaris Zones Processor & Memory allocations Post 302713769 by beta17 on Thursday 11th of October 2012 09:07:24 AM
Old 10-11-2012
see the command prstat and the -Z option.

example with prstat -Z 1:
Code:
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
 24593 bpsadmin 4480K 3824K cpu6    50    0   0:00:04 1.0% prstat/1
 27340 stelink   311M  289M sleep   59    0   1:00:56 0.4% java/38
  3833 stelink   311M  289M sleep   59    0   0:49:23 0.3% java/31
  1181 stelink    91M   80M sleep   59    0   0:03:28 0.1% srvxps.exe/1
 27416 stelink   487M  453M sleep   59    0   0:13:36 0.0% java/68
  3919 stelink   401M  233M sleep   59    0   0:06:09 0.0% java/47
  1377 stelink   143M   89M sleep   59    0   0:02:35 0.0% srvrmi.exe.wrap/47
  1238 stelink    91M   80M sleep   59    0   0:02:30 0.0% srvxps.exe/1
  1436 110      2717M 1814M sleep   59    0   0:00:40 0.0% oracle/11
  1265 stelink    19M 8168K sleep   59    0   0:01:22 0.0% clisnl.exe/1
  1439 110      2716M 1814M sleep   59    0   0:00:48 0.0% oracle/11
  1091 stelink    53M   39M sleep   59    0   0:01:22 0.0% TMS_ORA/1
  1376 stelink    23M   12M sleep   59    0   0:00:48 0.0% srvgwy.exe/6
  5507 stelink    87M   75M sleep   59    0   0:02:52 0.0% srvxps.exe/1
  7066 stelink    14M 6856K sleep   59    0   0:00:40 0.0% ISH/1
 24524 bpsadmin 9864K 5664K sleep   59    0   0:00:00 0.0% sshd/1
   837 stelink    22M   16M sleep   59    0   0:01:16 0.0% BBL/1
  1093 110      2712M 1810M sleep   59    0   0:01:04 0.0% oracle/1
ZONEID    NPROC  SWAP   RSS MEMORY      TIME  CPU ZONE
     4      300 6732M 6058M    37%   3:01:41 0.9% test1
     0       59  267M  255M   1.6%   0:11:03 0.9% global
     8      219 5916M 5268M    32%   1:57:13 0.5% test2
    12       47  236M  232M   1.4%   0:11:01 0.0% test880ps



Total: 625 processes, 2682 lwps, load averages: 0.38, 0.36, 0.34

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies

2. UNIX for Dummies Questions & Answers

Comman/Tool to check memory leak in solaris box

Hello Guys, Please let me know about commands or tools that are available to check memory leak in solaris box. Thanks in Advance (1 Reply)
Discussion started by: rajeshlbryan
1 Replies

3. Solaris

Processor and memory supports

HI i'am Giancarlo D. Jabon student from AMA Computer University is anyone among all of you who knows the maximum processor and memory supports in Sun Solaris 10 Thanks !!!! (3 Replies)
Discussion started by: giancarlodjabon
3 Replies

4. Solaris

Memory Check in SUN Solaris

Hi I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard. (4 Replies)
Discussion started by: rajarsi.ghosh
4 Replies

5. Solaris

How to : check username & password is same or not in solaris 10 ?

Thanks AVKlinux (5 Replies)
Discussion started by: avklinux
5 Replies

6. Solaris

Memory management in zones

whats the difference between setting zone capped-memory from zoncfg and setting rctl: name: zone.max-locked-memory .. if changed the zone.max-locked-memory with prctl it does not change in rcapstat .. but if change with rcapadm it reflects in rcapstat o/p (0 Replies)
Discussion started by: fugitive
0 Replies

7. UNIX and Linux Applications

Solaris & Linux memory stress test?

I'm looking for a script or some other application that will use up a lot of memory on a Solaris or Linux server, in order to test a monitoring application. So far I have found a script that's good for CPU usage but it does nothing for memory. I have also tried the application called 'stress'... (0 Replies)
Discussion started by: Kraas
0 Replies

8. Solaris

Solaris installed Physical Processor ..how to check?

I would like to know how to identify the installed "Physical Processor" .here is the output #psrinfo -pv of from 2 systems : - System 1 The physical processor has 8 virtual processors (0-7) SPARC-T4 (chipid 0, clock 2848 MHz) -System 2 The physical processor has 8 virtual... (3 Replies)
Discussion started by: ahmedamer12
3 Replies

9. Solaris

Solaris 11.2 x86 Local Zones for Oracle RAC database, intermittent Memory corruption of db

Hi, I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies
SLEEP(3)						     Linux Programmer's Manual							  SLEEP(3)

NAME
sleep - sleep for the specified number of seconds SYNOPSIS
#include <unistd.h> unsigned int sleep(unsigned int seconds); DESCRIPTION
sleep() makes the calling thread sleep until seconds seconds have elapsed or a signal arrives which is not ignored. RETURN VALUE
Zero if the requested time has elapsed, or the number of seconds left to sleep, if the call was interrupted by a signal handler. CONFORMING TO
POSIX.1-2001. BUGS
sleep() may be implemented using SIGALRM; mixing calls to alarm(2) and sleep() is a bad idea. Using longjmp(3) from a signal handler or modifying the handling of SIGALRM while sleeping will cause undefined results. SEE ALSO
alarm(2), nanosleep(2), signal(2), signal(7) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2010-02-03 SLEEP(3)
All times are GMT -4. The time now is 11:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy