![]() Which is generally useful while purchasing additional or replacement RAM modules. So, you can see the RAM modules form factor, installation slot, speed, type and other bunch of information. The result is somewhat long, here a little snippet Handle 0x0022, DMI type 17, 34 bytes This command requires root privilege, examples bellow. to get information about installed RAM modules on the system. Use the DMI type 16 and 17 to get the memory related informatio, i.e. This dmidecode command is more hardware specific, useful to know about the computer's hardware without opening it. These commands above could be handy to get linux memory info when other commands are not available, like on embedded systems or OpenWrt routers.Įnjoy free shipping and One-Day delivery, cancel any time.Ĭheck installed memory size with dmidecode command grep -i 'MemTotal:' /proc/meminfo grep -iE 'MemFree:|SwapTotal:' /proc/meminfo awk -F 'MemFree:' '' < /proc/meminfo | tr -s 'n' All results available in this file are formatted into multiples of KB, use cat, grep, awk or your favorite text manipulation command to get the desired result. Reading memory usage from this file is specially useful for scripting purpose. ![]() Find linux memory usage from the /proc/meminfo file It's one of the most used command to check memory usage in Linux or any UNIX like OS, even available in most embedded systems including WiFi routers running OpenWrt or DD-Wrt. Show linux memory usage in human readable form for 10 times with 0.5 second interval between results.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |