0% found this document useful (0 votes)
20 views

Linux Process - Memory

The document provides information on checking memory usage on Linux servers. It discusses using the free utility to examine RAM usage and see details of both free and used memory, including swap areas. The most important line shows the amount of memory used for buffers and caches versus free memory. The free command can be run with options like -m to show sizes in megabytes or -d to refresh the display periodically.

Uploaded by

karthikm07
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Linux Process - Memory

The document provides information on checking memory usage on Linux servers. It discusses using the free utility to examine RAM usage and see details of both free and used memory, including swap areas. The most important line shows the amount of memory used for buffers and caches versus free memory. The free command can be run with options like -m to show sizes in megabytes or -d to refresh the display periodically.

Uploaded by

karthikm07
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Linux Process

Created by Venkat

Memory usage checking Process


Objective: Role: Inputs: Controls: Outputs: Considerations: Process for checking memory usage on Linux servers Platform System Administrator Remedy spreadsheet Root Access , Intermediate/Advanced Linux skills

Memory Usage: free

The utility free examines RAM usage. Details of both free and used memory (and swap areas) are shown: $ free total used free shared buffers cached Mem: 514736 273964 240772 0 35920 42328 -/+ buffers/cache: 195716 319020 Swap: 1794736 104096 1690640 With -m, all sizes are expressed in megabytes: SUSE LINUX 623 $ free -m total used free shared buffers cached Mem: 502 267 235 0 35 41 -/+ buffers/cache: 191 311 Swap: 1752 101 1651 The really interesting information is contained in the following line: -/+ buffers/cache: 191 311 This calculates the amount of memory taken up with buffers and caches. The parameter -d delay ensures that the display is refreshed every hdelayi seconds. For example, free -d 1.5 produces an update every 1.5 seconds.

You might also like