09-17-2008
There are two "types" of memory a database process can hold: shared memory and process memory. The amount of shared memory the process holds you can find out with the ipcs utility as you already found out.
For the memory dedicated to the process you will have to use the "ps" command. A good starting point would be "ps -Alo vsz". Have a look at the "-o" option of "ps" to understand the command and how to tailor it to your needs.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. HP-UX
Refer from title:
How can i get memory used or anything that can show memory from sar file
example on solaris:-
we can use sar with option to show memory used at time that sar crontab run.
on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. Solaris
Hi,
I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory.
I'm using "top" to get the free memory and the memory usage of processes.
Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. AIX
Hi All,
Anyone has script to monitor AIX total processes memory and cpu usage that contribute to the total memory and CPU utilize so far ?
The purpose of this is to analyze process memory trend.
Thanks.
Best Regards,
ckwan (2 Replies)
Discussion started by: ckwan
2 Replies
9. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
10. AIX
Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance.
The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space.
The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies
LEARN ABOUT HPUX
services.window
services.window(4) Kernel Interfaces Manual services.window(4)
NAME
services.window - file containing applications and their associated memory window ID
DESCRIPTION
The file is used by applications using memory windows.
Each line in the file associates an application with a memory window ID. A line in the file cannot start with a space or tab. The format
is a unique name, defining the application, followed by a space/tab, followed by a unique window_id. See the sample file in
Memory windows allows for the starting of a process in a unique or existing memory window where it can create and share objects with other
applications in the same memory window.
The creation of memory windows removes the system wide restriction on shared resources. Without memory windows, 32-bit processes were lim-
ited to 1.75 gigabytes of shared resources. Each memory window allows for the definition of a unique 1 gigabyte quadrant and since multi-
ple memory windows can be defined in a system, the system total for shared resources can exceed the 1.75 gigabyte limitation for 32 bit
processes.
The definition of a memory window is only available for 32-bit processes.
The file provides a central place for memory window applications to associate their memory window IDs. In the event there are any colli-
sions, only a change in is necessary to select another memory window for the entire application. If is not used, and user applications
hard code window IDs in their startup scripts, collisions are not easily detected or easily fixed.
A memory window application uses the command getmemwindow(1M) to extract the application's window_id from the file, and then passes that ID
to the setmemwindow(1M).
Using the same window ID places applications in the same memory window.
EXAMPLES
Below is a example of a file.
AUTHOR
was developed by HP.
FILES
File containing applications' associated window ID.
SEE ALSO
getmemwindow(1M), setmemwindow(1M).
on
services.window(4)