Sie sind auf Seite 1von 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.

Das könnte Ihnen auch gefallen