03-14-2014
That depends on how you define used memory. If you use ZFS, file system cache memory will be reported as used by your command but if you use UFS, it won't. You really should run the command I suggested and post its output to figure it out.
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. Programming
Hi,
My problem is next....
How can I work with physical memory in the Unix FreeBSD 2.2 or hight?
What is the "mem" & "kmem" drivers?
P.S./ writing device driver for UNIX FreeBSD 2.2 :D (2 Replies)
Discussion started by: Alex_T
2 Replies
2. UNIX for Dummies Questions & Answers
It is just a general question....is there a limit on the memory? I am looking into a process to store image files on the unix server which will be accessed by the application, and I just wonder if there is any limit regarding the physical or virtual memory. I am very new to unix, so thanks for... (1 Reply)
Discussion started by: cchien
1 Replies
3. Shell Programming and Scripting
What command can i use to get the physical and virtual memory of a database? (7 Replies)
Discussion started by: tads98
7 Replies
4. Solaris
HI
Please help me how to check the physical memory, model name and hardisk information. (5 Replies)
Discussion started by: jeelans
5 Replies
5. Linux
hi all,
sorry for silly question.
but i have a doubt in calculation of memory utilization calculation.
using 'free' command we calculate the memory utilization as
used/total.
but my friend said that its wrong and we have to include cached also as
(used-cached)/memory.
but these... (0 Replies)
Discussion started by: rrlog
0 Replies
6. Solaris
what is the command to find the physical memory in soalris OS and how to find whether paging is happening or not ? (2 Replies)
Discussion started by: jayaramanit
2 Replies
7. Solaris
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies
8. Solaris
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies
9. Shell Programming and Scripting
Hi,
I want an script that calculate total memory consume by all Oracle Process
6689 oraprod 16 0 1163m 155m 150m S 0 2.0 0:01.95 oracle
7046 oraprod 16 0 1161m 18m 14m S 0 0.2 0:00.02 oracle
7392 oraprod 16 0 1165m 39m 33m S 0 0.5 0:00.07 oracle
7394 oraprod 16 0 1161m 22m 18m S... (1 Reply)
Discussion started by: telnor
1 Replies
10. AIX
IBM says we cannot expand our physical memory on our 570's without upgrading all the existing DIMMS since all slots are currently full. Is it really so difficult for IBM to build servers that leave a couple vacant slots for future expansion? A technical explanation would be greatly appreciated.... (2 Replies)
Discussion started by: 1computerman
2 Replies
LEARN ABOUT SUSE
mtrr_add
MTRR_ADD(9) Hardware Interfaces MTRR_ADD(9)
NAME
mtrr_add - Add a memory type region
SYNOPSIS
int mtrr_add(unsigned long base, unsigned long size, unsigned int type, bool increment);
ARGUMENTS
base
Physical base address of region
size
Physical size of region
type
Type of MTRR desired
increment
If this is true do usage counting on the region
DESCRIPTION
Memory type region registers control the caching on newer Intel and non Intel processors. This function allows drivers to request an MTRR
is added. The details and hardware specifics of each processor's implementation are hidden from the caller, but nevertheless the caller
should expect to need to provide a power of two size on an equivalent power of two boundary.
If the region cannot be added either because all regions are in use or the CPU cannot support it a negative value is returned. On success
the register number for this entry is returned, but should be treated as a cookie only.
On a multiprocessor machine the changes are made to all processors. This is required on x86 by the Intel processors.
The available types are
MTRR_TYPE_UNCACHABLE - No caching
MTRR_TYPE_WRBACK - Write data back in bursts whenever
MTRR_TYPE_WRCOMB - Write data back soon but allow bursts
MTRR_TYPE_WRTHROUGH - Cache reads but not writes
BUGS
Needs a quiet flag for the cases where drivers do not mind failures and do not wish system log messages to be sent.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 MTRR_ADD(9)