07-27-2006
Memory Consumption Commands
I want to check the memory usuage on the HP-UX box.
print_manifest : gave me the information of the system configuration
and came to know that we have 8GB of ram.
But on runtime I want to know what is the memory left.
Iam new to HP-UX and I would appreciate if some one can assist me on this.I want to know all the commands that can be used to list out the memory usuage
10 More Discussions You Might Find Interesting
1. AIX
Hi,
how can I find out how many memory (physical and virtual) a thread uses at the moment? I know how to find out the Thread-ID, but not how to monitor it...
We use AIX 4.3.3 at th emoment.
Please help, I am stuck :confused: !! (0 Replies)
Discussion started by: Fong
0 Replies
2. AIX
Hi,
I have a problem with memory on AIX 5.3. On this server, we have JDE Edwards (ERP) and Oracle Database (9.2.0.7.0).
We have 4 Gb for physical memory and 3 Gb for paging space.
When I stop all services (JDE, Oracle and all other services), the physical memory is not free (4 Gb)
svmon... (9 Replies)
Discussion started by: tagger
9 Replies
3. Solaris
hi
pmap, prstat and ps gives the RSS which is shared memory.
I need to know the consumption of real memory. how to do that?
thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies
4. Programming
Hi,
my C++ program does some memory consuming tasks and runs several minutes.
During execution time, I want to print information on the current memory consumption and peak memory consumption of my program into a logfile.
How can I retrieve this information, i.e. which functions are available... (0 Replies)
Discussion started by: DarthVader77
0 Replies
5. AIX
Hi,
monitor memory usage on AIX machine on any day of the week from 3:00 PM ET to 5:00 PM ET -
Povide min and max memory consumption.
Determine if all of the available memory is visible to the operating system. If it is not, determine the amount of memory which may be allocated to the... (3 Replies)
Discussion started by: Rookie_newbie
3 Replies
6. UNIX Desktop Questions & Answers
Hi All
I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server.
I need to log the memory consumption for atleast 10 hours.
Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies
7. UNIX for Advanced & Expert Users
Hello,
we are using AIX 6.1
On our AIX 6.1 server there are two instance of Oracle, a Websphear, a Java application and informatica are running. Can I find out how much memory each of these are consuming?
Thanks, (1 Reply)
Discussion started by: AIX_DBA
1 Replies
8. HP-UX
Hi,
Can some one please tell me how do I generate a report of the Memory Consumption over a time period:
HP-UX B.11.31 U ia64 0440531406 unlimited-user license
I normally use glance to monitor memory in run time.
Note: I do not have root privileges.
Thanks
Danish
... (5 Replies)
Discussion started by: danish0909
5 Replies
9. HP-UX
Dear All,
I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it?
Kauser (2 Replies)
Discussion started by: makauser
2 Replies
10. HP-UX
I want to obtain memory consumption history on a HPUX machine.
I know I can access data from the last week with sar
sar -f /var/adm/sa/sa14
I do not know how to get memory usage with sar.
Are there any other ways?
thank you (3 Replies)
Discussion started by: black_fender
3 Replies
KCALLOC(9) Memory Management in Linux KCALLOC(9)
NAME
kcalloc - allocate memory for an array. The memory is set to zero.
SYNOPSIS
void * kcalloc(size_t n, size_t size, gfp_t flags);
ARGUMENTS
n
number of elements.
size
element size.
flags
the type of memory to allocate.
DESCRIPTION
The flags argument may be one of:
GFP_USER - Allocate memory on behalf of user. May sleep.
GFP_KERNEL - Allocate normal kernel ram. May sleep.
GFP_ATOMIC - Allocation will not sleep. May use emergency pools. For example, use this inside interrupt handlers.
GFP_HIGHUSER - Allocate pages from high memory.
GFP_NOIO - Do not do any I/O at all while trying to get memory.
GFP_NOFS - Do not make any fs calls while trying to get memory.
GFP_NOWAIT - Allocation will not sleep.
GFP_THISNODE - Allocate node-local memory only.
GFP_DMA - Allocation suitable for DMA. Should only be used for kmalloc caches. Otherwise, use a slab created with SLAB_DMA.
Also it is possible to set different flags by OR'ing in one or more of the following additional flags:
__GFP_COLD - Request cache-cold pages instead of trying to return cache-warm pages.
__GFP_HIGH - This allocation has high priority and may use emergency pools.
__GFP_NOFAIL - Indicate that this allocation is in no way allowed to fail (think twice before using).
__GFP_NORETRY - If memory is not immediately available, then give up at once.
__GFP_NOWARN - If allocation fails, don't issue any warnings.
__GFP_REPEAT - If allocation fails initially, try once more before failing.
There are other flags available as well, but these are not intended for general use, and so are not documented here. For a full list of
potential flags, always refer to linux/gfp.h.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KCALLOC(9)