11-22-2010
sysinfo() often has page size and RAM page count. However, in the age of VM, you can push that a bit, but not so hard that you start the system thrashing.
You exhaust VM when swap is consumed, which df can tell you of. Sometimes swap and /tmp drink from the same disk!
However, if you mmap() files, you can use RAM and address space without exhausting swap. If you munmap() and later mmap() the same pages, they can still be in RAM, so a 32 bit program can use this to access more than 4GB still at RAM speed. A 64 bit program can mmap64() every file on the machine and wander in them as if in RAM.
Dynamic libraries are loaded using mmap/mmap64(), so everyone is executing the same RAM pages. This can sometimes be true of the JAVA JVM and application VM footprint.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am looking for the easiest and most generic way
to determine:
System model/class
Number of cpu's
Clock speed of cpu's (ie 550 MHz)
Total Physical Memory (not virtual)
Number of Drives/Drive Size
Thanks in advance, (4 Replies)
Discussion started by: eyounes
4 Replies
2. AIX
Hi all
I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no?
for example in hp unix #top
it is give me utilize for cpu and memory and also I can know if utilize ok or no.
thanks (2 Replies)
Discussion started by: magasem
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
Discussion started by: ocelot
4 Replies
4. UNIX for Dummies Questions & Answers
hi guys
I just want to know how to get the cpu/memory utilization of a running script?
Well i know that I can use the sar command but it shows the whole system's statistics.
Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
Below what I saw on my solaris 10 box :
$ prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU
PROCESS/NLWP
683 root 4082M 91M run 10 0 41:45:39 96% snmptrapd/1
syslog gives a lot of :
snmptrapd: illegal
data attempted to be added to table nlmLogVariableTable... (0 Replies)
Discussion started by: Gino_75
0 Replies
6. Solaris
Hi,
Server AIBVRFCC failed POST while booting on 06/28/2009. Server is up, but OS cannot see two CPUs (CPU 0 and CPU 2) and half of the installed system memory (8 GB is physically installed but only 4 GB is seen by OS now).
bld00016:root psrinfo
1 on-line since 06/28/09 05:51:36
3 on-line... (1 Reply)
Discussion started by: arumsun
1 Replies
7. UNIX for Advanced & Expert Users
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies
8. Solaris
Hi,
We had 3 slots of cpu. How do we check the size or capacity of the cpu for each one and how many cpu's inside the slots we had. Please help any one on this. thanks. (3 Replies)
Discussion started by: vijill
3 Replies
9. Emergency UNIX and Linux Support
Hi All,
I have Solaris-9, Sun Fire V1280 with uptime of 501 Days. My Big brother monitoring showing me 90% + memory utilization on this box. Since this is production box, I can not reboot it. Is there way to know, what is consuming so much ? It is affecting my other environment on the box.... (16 Replies)
Discussion started by: solaris_1977
16 Replies
10. Shell Programming and Scripting
what is the best way to get the memory and cpu usage of a process on any system?
this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix.
ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT MOJAVE
rmiregistry
rmiregistry(1) General Commands Manual rmiregistry(1)
NAME
rmiregistry - Java remote object registry
SYNOPSIS
rmiregistry [ port ]
DESCRIPTION
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port number is omitted,
the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background. For example:
example% rmiregistry &
A remote object registry is a bootstrap naming service that is used by RMI servers on a host to bind remote objects to names. Clients can
then look up remote objects and make remote method invocations.
The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn pro-
vides application-specific support for finding other objects.
The methods of the java.rmi.registry.LocateRegistry class are used to get a registry operating on a particular host or host and port.
The URL-based methods of the java.rmi.Naming class operate on a registry and can be used to look up a remote object, bind a simple (string)
name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound
in the registry.
OPTIONS
The following option is supported:
-Joption Used in conjunction with any java option, this option passes option (no spaces between -J and option) on to the java inter-
preter.
SEE ALSO
See (or search java.sun.com) for the following:
java.rmi.Naming @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html
java.rmi.registry.LocateRegistry @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html
23 Apr 2001 rmiregistry(1)