Sponsored Content
Full Discussion: MemFree from /proc/meminfo
Top Forums Shell Programming and Scripting MemFree from /proc/meminfo Post 302981926 by Corona688 on Wednesday 21st of September 2016 11:15:04 AM
Old 09-21-2016
Good news: This is entirely expected and there is no cause for worry at all.

The kernel will use any idle memory for disk cache but gives it up easily at need; you can consider it as "free" memory. It quickly tops the charts on any lightly-loaded Linux system. This just means the memory isn't being used for much else.

"Free" is a somewhat misleading title and just designates wasted memory which is being used for absolutely nothing whatsoever, not even disk cache.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/proc 100%

The df/bdf command shows /proc 100% full all the time. What does /proc contain? and why 100% all the time even on a new setup. (1 Reply)
Discussion started by: asutoshch
1 Replies

2. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies

3. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

4. UNIX for Dummies Questions & Answers

proc

Hi, What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted? Thank in advance Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies

5. Linux

Meminfo

This server is running slowly This is our mail server What is 'cached' in /proc/meminfo ? Can I minimize the usage of cached ? (1 Reply)
Discussion started by: dipanrc
1 Replies

6. Programming

Need help ! SQL and Proc *C

:) hi all ! Please help me When I select data from oracle with proc * C prog. I count the number of rows For example the total rows is 1000000 but the number of result return is a limit number 5000 for ex So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies

7. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

8. Filesystems, Disks and Memory

Buffer Cache Stats from /proc/meminfo

Hi, I am trying to understand the role of buffer cache in block I/O. I am monitoring /proc/meminfo, my question is does the value of 0 for 'buffers', mean that any subsequent disk read issued by a process, would get the data physically from the disk, and not an allocated buffer for the block? ... (1 Reply)
Discussion started by: jake24
1 Replies

9. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): • Processor type • Kernel version • Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

10. Shell Programming and Scripting

Awk and meminfo

I'm in the process of adding various data to my rrdtool setup, and one of the things i want ot monitor is the meminfo stuff. I have it running locally very well with the following: /usr/bin/rrdupdate /etc/rrdtool/192.168.43.254.mem.rrd --template \ used:free:buff:cached:swap N:`awk ' \ ... (2 Replies)
Discussion started by: Nunners
2 Replies
FS_SETCACHESIZE(1)					       AFS Command Reference						FS_SETCACHESIZE(1)

NAME
fs_setcachesize - Sets the size of the disk cache SYNOPSIS
fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help] fs setca [-b <size (0 = reset)>>] [-r] [-h] fs cachesize [-b <size (0 = reset)>>] [-r] [-h] fs ca [-b <size (0 = reset)>>] [-r] [-h] DESCRIPTION
The fs setcachesize command changes the number of kilobyte blocks of local disk space available to the Cache Manager for its data cache, on machines that use a disk cache. The command is not operative on machines that use a memory cache. To return the cache size to the default value specified in the third field of the local /etc/openafs/cacheinfo file, provide a value of 0 to the -blocks argument. To return the cache size to the value set when the machine was last rebooted, use the -reset flag instead of the -blocks argument. This is normally the amount specified in the cacheinfo file, unless the -blocks argument was included on the afsd command to override the cacheinfo value. To display the current cache size and amount of cache in use, for both disk and memory caches, use the fs getcacheparms command. CAUTIONS
This command is not operative on machines using a memory cache, and results in an error message. To change memory cache size, edit the cacheinfo file and reboot, or reboot and provide the -blocks argument to the afsd command. On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the actual disk space available for the cache directory. The cache implementation itself requires a small amount of space on the partition. OPTIONS
-blocks <size> Specifies the amount of disk space available for the Cache Manager to devote to the cache. The size should be a positive integer followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes (1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value of 0 to set cache size to the default specified in the cacheinfo file. -reset Returns the cache size to the value set when the machine was last booted. This agrees with the value in the cacheinfo file unless the -blocks argument was used on the afsd command. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command sets the disk cache size to 25000 kilobyte blocks. % fs setcachesize -blocks 25000 Both of the following commands reset the disk cache size to the value in the cacheinfo file, assuming that the -blocks argument to the afsd command was not used. % fs setcachesize -blocks 0 % fs setcachesize -reset PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root. SEE ALSO
cacheinfo(5), afsd(8), fs_getcacheparms(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_SETCACHESIZE(1)
All times are GMT -4. The time now is 12:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy