Sponsored Content
Full Discussion: Memory & Swap utilization
Top Forums UNIX for Dummies Questions & Answers Memory & Swap utilization Post 302911422 by MadeInGermany on Thursday 31st of July 2014 02:06:52 PM
Old 07-31-2014
Preventative measures:
If you have not yet done so, limit ZFS ARC cache to RAM/4 in /etc/system:
Code:
set zfs:zfs_arc_max = 8192000000

Also watch /tmp; have a cleanup routine, and limit it to RAM/3 in /etc/vfstab:
Code:
swap    -       /tmp    tmpfs   -       yes     size=10240m

--
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.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Total Memory/Swap Memory

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)
Discussion started by: ghe1
4 Replies

2. AIX

Memory Utilization

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)
Discussion started by: Negm
1 Replies

3. HP-UX

Checking server swap utilization

Hey guys which is accurate in checking the servers swap utilization is it swapinfo or memdetail?:confused: (1 Reply)
Discussion started by: sbn
1 Replies

4. AIX

Memory Utilization

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)
Discussion started by: nathandrake13
3 Replies

5. Shell Programming and Scripting

Calculating Swap percentage utilization

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)
Discussion started by: ajaincv
3 Replies

6. UNIX for Advanced & Expert Users

Memory Utilization swap and page scan

Hi, on AIX 6 , how to see : Memory Utilization Memory Page Scan Rate Swap Utilization Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

7. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

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)
Discussion started by: edydsuranta
4 Replies

8. Solaris

Solaris 10 : how to find swap utilization ?

hi, I want to find swap utilization on a solaris 10 box. can someone please help. Thanks, Priyank (4 Replies)
Discussion started by: arorap
4 Replies

9. AIX

AIX swap space, physical memory & cache

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)
Discussion started by: Phaneendra G
3 Replies

10. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

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
MD(4)							   BSD Kernel Interfaces Manual 						     MD(4)

NAME
md -- memory disk SYNOPSIS
device md DESCRIPTION
The md driver provides support for four kinds of memory backed virtual disks: malloc Backing store is allocated using malloc(9). Only one malloc-bucket is used, which means that all md devices with malloc backing must share the malloc-per-bucket-quota. The exact size of this quota varies, in particular with the amount of RAM in the system. The exact value can be determined with vmstat(8). preload A file loaded by loader(8) with type 'md_image' is used for backing store. For backwards compatibility the type 'mfs_root' is also recognized. If the kernel is created with option MD_ROOT the first preloaded image found will become the root file system. vnode A regular file is used as backing store. This allows for mounting ISO images without the tedious detour over actual physical media. swap Backing store is allocated from buffer memory. Pages get pushed out to the swap when the system is under memory pressure, otherwise they stay in the operating memory. Using swap backing is generally preferable over malloc backing. For more information, please see mdconfig(8). EXAMPLES
To create a kernel with a ramdisk or MD file system, your kernel config needs the following options: options MD_ROOT # MD is a potential root device options MD_ROOT_SIZE=8192 # 8MB ram disk makeoptions MFS_IMAGE=/h/foo/ARM-MD options ROOTDEVNAME="ufs:md0" The image in /h/foo/ARM-MD will be loaded as the initial image each boot. To create the image to use, please follow the steps to create a file-backed disk found in the mdconfig(8) man page. Other tools will also create these images, such as NanoBSD. SEE ALSO
disklabel(8), fdisk(8), loader(8), mdconfig(8), mdmfs(8), newfs(8), vmstat(8) HISTORY
The md driver first appeared in FreeBSD 4.0 as a cleaner replacement for the MFS functionality previously used in PicoBSD and in the FreeBSD installation process. The md driver did a hostile takeover of the vn(4) driver in FreeBSD 5.0. AUTHORS
The md driver was written by Poul-Henning Kamp <phk@FreeBSD.org>. BSD
October 30, 2007 BSD
All times are GMT -4. The time now is 11:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy