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(3UCB)					     SunOS/BSD Compatibility Library Functions					       sleep(3UCB)

NAME
sleep - suspend execution for interval SYNOPSIS
/usr/ucb/cc [ flag ... ] file ... int sleep( seconds); unsigned seconds; DESCRIPTION
sleep() suspends the current process from execution for the number of seconds specified by the argument. The actual suspension time may be up to 1 second less than that requested, because scheduled wakeups occur at fixed 1-second intervals, and may be an arbitrary amount longer because of other activity in the system. sleep() is implemented by setting an interval timer and pausing until it expires. The previous state of this timer is saved and restored. If the sleep time exceeds the time to the expiration of the previous value of the timer, the process sleeps only until the timer would have expired, and the signal which occurs with the expiration of the timer is sent one second later. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ SEE ALSO
alarm(2), getitimer(2), longjmp(3C), siglongjmp(3C), sleep(3C), usleep(3C), attributes(5) NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported. SIGALRM should not be blocked or ignored during a call to sleep(). Only a prior call to alarm(2) should generate SIGALRM for the calling process during a call to sleep(). A signal-catching function should not interrupt a call to sleep() to call siglongjmp(3C) or longjmp(3C) to restore an environment saved prior to the sleep() call. WARNINGS
sleep() is slightly incompatible with alarm(2). Programs that do not execute for at least one second of clock time between successive calls to sleep() indefinitely delay the alarm signal. Use sleep(3C). Each sleep(3C) call postpones the alarm signal that would have been sent during the requested sleep period to occur one second later. SunOS 5.10 12 Feb 1993 sleep(3UCB)
All times are GMT -4. The time now is 09:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy