Preventative measures:
If you have not yet done so, limit ZFS ARC cache to RAM/4 in /etc/system:
Also watch /tmp; have a cleanup routine, and limit it to RAM/3 in /etc/vfstab:
--
Separate measurement of RAM and swap can be done for statistics - but rarely for alert thresholds.
Instead you should measure the virtual memory, as given by "vmstat" or "swap -s". It is roughly the sum of RAM and swap.
I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info.
Any sugggestions or new... (4 Replies)
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Hello All,
I am trying to create a script that will give me the processes that consume swap in %.
i am using the below line to get it done.
virtual=`echo "$virtual/$swp*100"|bc -l|sed -e "s/\(\.\).*/\1/g"`
but getting the following output after running it.
.039
.110
I want the... (3 Replies)
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Hi,
I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache?
We are using AIX 5.3.
Thanks! (3 Replies)
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
LEARN ABOUT REDHAT
tiffmemcpy
MEMORY(3T)MEMORY(3T)NAME
_TIFFmalloc, _TIFFrealloc, _TIFFfree, _TIFFmemset, _TIFFmemcpy, _TIFFmemcmp, - memory management-related functions for use with TIFF files
SYNOPSIS
#include <tiffio.h>
tdata_t _TIFFmalloc(tsize_t);
tdata_t _TIFFrealloc(tdata_t, tsize_t);
void _TIFFfree(tdata_t);
void _TIFFmemset(tdata_t, int, tsize_t);
void _TIFFmemcpy(tdata_t, const tdata_t, tsize_t);
int _TIFFmemcmp(const tdata_t, const tdata_t, tsize_t);
DESCRIPTION
These routines are provided for writing portable software that uses libtiff; they hide any memory-management related issues, such as deal-
ing with segmented architectures found on 16-bit machines.
_TIFFmalloc and _TIFFrealloc are used to dynamically allocate and reallocate memory used by libtiff; such as memory passed into the I/O
routines. Memory allocated through these interfaces is released back to the system using the _TIFFfree routine.
Memory allocated through one of the above interfaces can be set to a known value using _TIFFmemset, copied to another memory location using
_TIFFmemcpy, or compared for equality using _TIFFmemcmp. These routines conform to the equivalent ANSI C routines: memset, memcpy, and
memcmp, repsectively.
DIAGNOSTICS
None.
SEE ALSO libtiff(3T), malloc(3C), memory(3C)
October 15, 1995 MEMORY(3T)