{"id":14167,"date":"2023-04-24T18:27:19","date_gmt":"2023-04-24T18:27:19","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=14167"},"modified":"2023-10-12T19:19:32","modified_gmt":"2023-10-12T19:19:32","slug":"how-to-check-ram-on-ubuntu","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-check-ram-on-ubuntu\/","title":{"rendered":"How to Check RAM Usage on Ubuntu"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-1024x878.jpg\" alt=\"How to Check RAM Usage on Ubuntu\" width=\"1024\" height=\"878\" class=\"alignnone size-large wp-image-18456 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-1024x878.jpg 1024w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-300x257.jpg 300w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-128x110.jpg 128w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-420x360.jpg 420w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-540x463.jpg 540w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-720x617.jpg 720w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-960x823.jpg 960w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-1140x977.jpg 1140w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-1166x999.jpg 1166w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-840x720.jpg 840w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu-1260x1080.jpg 1260w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/04\/How-to-Check-RAM-Usage-on-Ubuntu.jpg 1400w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/878;\" \/><\/p>\n<p>In <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-ubuntu-beginners-guide-ubuntu-linux-distro\/\">Ubuntu<\/a>, you can check the RAM (Random Access Memory) usage of your system with multiple methods available via both the GUI (Graphical User Interface) and the command line. Checking the memory usage on Ubuntu server is quite a straightforward process.<\/p>\n<p>Understanding the amount of memory used and available is essential for troubleshooting and optimizing your <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-are-web-servers-and-why-are-they-needed\/\">web server<\/a> performance since RAM is a vital system component that provides fast read and write access to a storage medium. Regularly monitoring this metric can aid in diagnosing potential system issues, optimizing server performance, and determining the necessity for a RAM upgrade.<\/p>\n<p>In this quick guide, we will elucidate various prevalent methods to inspect RAM usage on Ubuntu, employing an array of commands and tools, ensuring you have a comprehensive understanding of how to monitor it on your Linux system.<\/p>\n<p>Let&#8217;s get started!<\/p>\n<h2>Option 1: Check RAM Using the &#8220;free&#8221; Command<\/h2>\n<p>The &#8220;free&#8221; command displays the amount of free and used memory in the system. To use this command, open a terminal and type the following command:<\/p>\n<pre>\r\nfree\r\n<\/pre>\n<p>The output will display the total amount of RAM, used RAM, free RAM, and shared memory. The output will also show the buffers and cached memory.<\/p>\n<pre>\r\nroot@geeks:~# free\r\n              total        used        free      shared  buff\/cache   available\r\nMem:       16424164      966948    14938512       81844      518704    15102152\r\nSwap:             0           0           0\r\n<\/pre>\n<h2>Option 2: Check RAM Using the &#8220;top&#8221; Command<\/h2>\n<p>The &#8220;top&#8221; command displays the system processes and their resource usage, including RAM usage. To use this command, open a terminal and type the following command:<\/p>\n<pre>\r\ntop\r\n<\/pre>\n<p>The output will display the list of processes running on the system, including their PID, user, CPU usage, and RAM usage. You&#8217;ll see memory usage displayed as KiB Mem and KiB Swap.<\/p>\n<pre>\r\ntop - 13:23:44 up 20 days, 21:24,  1 user,  load average: 0.00, 0.00, 0.00\r\nTasks: 176 total,   1 running, 109 sleeping,   0 stopped,   0 zombie\r\n%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st\r\nKiB Mem : 16424164 total, 11720752 free,  1438952 used,  3264460 buff\/cache\r\nKiB Swap:        0 total,        0 free,        0 used. 14579664 avail Mem\r\n\r\n  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND\r\n 2416 root      20   0   42812   3960   3304 R   0.3  0.0   0:00.02 top\r\n    1 root      20   0  225268   8920   6560 S   0.0  0.1   0:46.62 systemd\r\n    2 root      20   0       0      0      0 S   0.0  0.0   0:00.60 kthreadd\r\n    4 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker\/0:0H\r\n    6 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_wq\r\n    7 root      20   0       0      0      0 S   0.0  0.0   0:01.82 ksoftirqd\/0\r\n    8 root      20   0       0      0      0 I   0.0  0.0   3:09.90 rcu_sched\r\n    9 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh\r\n   10 root      rt   0       0      0      0 S   0.0  0.0   0:00.73 migration\/0\r\n   11 root      rt   0       0      0      0 S   0.0  0.0   0:04.07 watchdog\/0\r\n   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp\/0\r\n   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp\/1\r\n   14 root      rt   0       0      0      0 S   0.0  0.0   0:03.22 watchdog\/1\r\n   15 root      rt   0       0      0      0 S   0.0  0.0   0:00.76 migration\/1\r\n   16 root      20   0       0      0      0 S   0.0  0.0   0:00.92 ksoftirqd\/1\r\n   18 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker\/1:0H\r\n   19 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp\/2\r\n   20 root      rt   0       0      0      0 S   0.0  0.0   0:03.19 watchdog\/2\r\n   21 root      rt   0       0      0      0 S   0.0  0.0   0:00.77 migration\/2\r\n   22 root      20   0       0      0      0 S   0.0  0.0   0:00.90 ksoftirqd\/2\r\n   24 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker\/2:0H\r\n   25 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp\/3\r\n   26 root      rt   0       0      0      0 S   0.0  0.0   0:03.11 watchdog\/3\r\n   27 root      rt   0       0      0      0 S   0.0  0.0   0:00.78 migration\/3\r\n   28 root      20   0       0      0      0 S   0.0  0.0   0:00.96 ksoftirqd\/3\r\n   30 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker\/3:0H\r\n   31 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp\/4\r\n   32 root      rt   0       0      0      0 S   0.0  0.0   0:03.04 watchdog\/4\r\n   33 root      rt   0       0      0      0 S   0.0  0.0   0:00.80 migration\/4\r\n   34 root      20   0       0      0      0 S   0.0  0.0   0:00.90 ksoftirqd\/4                                              \r\n<\/pre>\n<h2>Option 3: Check RAM Using the &#8220;htop&#8221; Command<\/h2>\n<p>The &#8220;htop&#8221; command is an enhanced version of the &#8220;top&#8221; command, which displays the system processes and their resource usage in a more user-friendly way. To use this command, open a terminal and type the following command:<\/p>\n<pre>\r\napt-get install htop\r\nhtop\r\n<\/pre>\n<p>The output will display the list of processes running on the system, including their PID, user, CPU usage, and RAM usage.<\/p>\n<pre>\r\n  1  [                                                0.0%]   5  [                                                0.0%]\r\n  2  [|                                               0.7%]   6  [|                                               0.7%]\r\n  3  [                                                0.0%]   7  [                                                0.0%]\r\n  4  [                                                0.0%]   8  [                                                0.0%]\r\n  Mem[||||||||||||||||                         1.48G\/15.7G]   Tasks: 63, 127 thr; 1 running\r\n  Swp[                                               0K\/0K]   Load average: 0.00 0.00 0.00\r\n                                                              Uptime: 20 days, 21:21:36\r\n\r\n  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command\r\n 1145 root       20   0 32248  4808  3876 R  0.7  0.0  0:00.37 htop\r\n 1112 root       20   0  870M 26976 10148 S  0.7  0.2  1h11:32 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n  472 root       19  -1  395M  251M  239M S  0.7  1.6  3:42.68 \/lib\/systemd\/systemd-journald\r\n 1213 root       20   0  870M 26976 10148 S  0.7  0.2 10:29.64 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1721 root       20   0  103M  6812  5840 S  0.7  0.0  0:00.01 sshd: [accepted]\r\n 1201 mysql      20   0 9094M 1047M 17700 S  0.0  6.5 47:05.51 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n 1234 root       20   0  870M 26976 10148 S  0.0  0.2 10:27.77 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1214 root       20   0  870M 26976 10148 S  0.0  0.2 10:17.40 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1235 root       20   0  870M 26976 10148 S  0.0  0.2 12:40.85 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1056 messagebu  20   0 50412  4736  3768 S  0.0  0.0  1:24.34 \/usr\/bin\/dbus-daemon --system --address=systemd: --nofork --no\r\n 1087 root       20   0  282M  6568  5776 S  0.0  0.0  0:40.59 \/usr\/lib\/policykit-1\/polkitd --no-debug\r\n 1541 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  0:53.64 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n 7150 www-data   20   0  434M  106M 91368 S  0.0  0.7  0:03.17 \/usr\/sbin\/apache2 -k start\r\n 3028 www-data   20   0 88640 15588  6100 S  0.0  0.1 15:07.81 nginx: worker process\r\n17259 www-data   20   0  432M  105M 92360 S  0.0  0.7  0:02.17 \/usr\/sbin\/apache2 -k start\r\n 1240 root       20   0  870M 26976 10148 S  0.0  0.2  5:13.80 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n27244 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  0:20.36 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n 1239 root       20   0  870M 26976 10148 S  0.0  0.2  4:09.77 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1238 root       20   0  870M 26976 10148 S  0.0  0.2  4:07.15 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1244 root       20   0  870M 26976 10148 S  0.0  0.2  4:07.28 \/usr\/bin\/python3 \/usr\/bin\/fail2ban-server -xf start\r\n 1538 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  1:39.13 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n  984 root       20   0  103M  7120  6128 S  0.0  0.0  0:00.04 sshd: root@pts\/0\r\n 1539 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  1:09.05 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n10277 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  0:45.94 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n 1540 mysql      20   0 9094M 1047M 17700 S  0.0  6.5  1:14.24 \/usr\/sbin\/mysqld --daemonize --pid-file=\/run\/mysqld\/mysqld.pid\r\n<\/pre>\n<h2>Option 4. Check RAM Using the `vmstat` Command<\/h2>\n<p>vmstat is a tool that reports virtual memory statistics. It provides information about processes, memory, paging, block IO, traps, and CPU activity.<\/p>\n<p>To use vmstat, simply type:<\/p>\n<pre>\r\nvmstat\r\n<\/pre>\n<p>Look at the &#8220;swpd&#8221; (swap used) and &#8220;free&#8221; (free memory) columns for details on memory usage.<\/p>\n<pre>\r\nroot@geeks:~# vmstat\r\nprocs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----\r\n r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st\r\n 0  0      0 11715776 193944 3070816    0    0     0     9    0    3  0  0 100  0  0\r\n<\/pre>\n<h2>Option 5. Check RAM Using the `cat` Command with `\/proc\/meminfo`<\/h2>\n<p>The \/proc\/meminfo file contains detailed information about the system&#8217;s memory usage.<\/p>\n<p>To view its contents, use:<\/p>\n<pre>cat \/proc\/meminfo<\/pre>\n<p>This will display a detailed breakdown of your system&#8217;s memory, including total, free, used, and other memory-related statistics.<\/p>\n<pre>\r\nroot@geeks:~# cat \/proc\/meminfo\r\nMemTotal:       16424164 kB\r\nMemFree:        11727596 kB\r\nMemAvailable:   14587452 kB\r\nBuffers:          193944 kB\r\nCached:          2770224 kB\r\nSwapCached:            0 kB\r\nActive:          2908184 kB\r\nInactive:        1335364 kB\r\nActive(anon):    1369208 kB\r\nInactive(anon):     6508 kB\r\nActive(file):    1538976 kB\r\nInactive(file):  1328856 kB\r\nUnevictable:           0 kB\r\nMlocked:               0 kB\r\nSwapTotal:             0 kB\r\nSwapFree:              0 kB\r\nDirty:                 0 kB\r\nWriteback:             0 kB\r\nAnonPages:       1279404 kB\r\nMapped:           293980 kB\r\nShmem:             96340 kB\r\nSlab:             375684 kB\r\nSReclaimable:     301232 kB\r\nSUnreclaim:        74452 kB\r\nKernelStack:        5008 kB\r\nPageTables:        19040 kB\r\nNFS_Unstable:          0 kB\r\nBounce:                0 kB\r\nWritebackTmp:          0 kB\r\nCommitLimit:     8212080 kB\r\nCommitted_AS:    6095528 kB\r\nVmallocTotal:   34359738367 kB\r\nVmallocUsed:           0 kB\r\nVmallocChunk:          0 kB\r\nHardwareCorrupted:     0 kB\r\nAnonHugePages:         0 kB\r\nShmemHugePages:        0 kB\r\nShmemPmdMapped:        0 kB\r\nCmaTotal:              0 kB\r\nCmaFree:               0 kB\r\nHugePages_Total:       0\r\nHugePages_Free:        0\r\nHugePages_Rsvd:        0\r\nHugePages_Surp:        0\r\nHugepagesize:       2048 kB\r\nDirectMap4k:      235376 kB\r\nDirectMap2M:     7104512 kB\r\nDirectMap1G:    11534336 kB\r\n<\/pre>\n<h2>Option 6: Check RAM Using the System Monitor<\/h2>\n<p>The System Monitor is a graphical tool that displays the system processes and resource usage. To use this tool, go to the Applications menu, click on the System Tools, and select the System Monitor. In the System Monitor, go to the Resources tab, and you will see the RAM usage and other resource usage information.<\/p>\n<h2>Option 7. Check RAM Using the `gnome-system-monitor`<\/h2>\n<p>If you&#8217;re using the GNOME desktop environment, you can use the gnome-system-monitor:<\/p>\n<p>Press Alt + F2, type gnome-system-monitor, and press Enter. Navigate to the &#8220;Resources&#8221; tab to view memory usage.<\/p>\n<h2>Option 8. Check RAM Using `glances`<\/h2>\n<p>glances is an advanced system monitoring tool that provides a comprehensive overview of various system resources, including memory.<\/p>\n<p>To install glances, use:<\/p>\n<pre>apt install glances<\/pre>\n<p>Once installed, run it by typing:<\/p>\n<pre>glances<\/pre>\n<h2>Option 9. Check RAM Using `nmon`<\/h2>\n<p>nmon is another system monitoring tool that provides information about various system resources, including memory.<\/p>\n<p>To install nmon, use:<\/p>\n<pre>apt install nmon<\/pre>\n<p>After installation, run it by typing:<\/p>\n<pre>nmon<\/pre>\n<p>Press &#8216;m&#8217; to view memory statistics.<\/p>\n<h2>Option 10. Check RAM Using `smem`<\/h2>\n<p>smem provides memory usage reports with a focus on &#8220;proportional set size&#8221; (PSS), which is a more accurate representation of the memory being used by applications and processes.<\/p>\n<p>To install smem, use:<\/p>\n<pre>apt install smem<\/pre>\n<p>Run it by simply typing:<\/p>\n<pre>smem<\/pre>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">free<\/span> &#8211; a command that displays the amount of free and used memory in the system.<\/li>\n<li><span class=\"fw-bold\">top<\/span> &#8211; a command that displays the system processes and their resource usage, including RAM usage.<\/li>\n<li><span class=\"fw-bold\">htop<\/span> &#8211; an enhanced version of the &#8220;top&#8221; command that displays the system processes and their resource usage in a more user-friendly way.<\/li>\n<li><span class=\"fw-bold\">cat \/proc\/meminfo<\/span> \u2013 Shows detailed information about the system&#8217;s memory usage.<\/li>\n<li><span class=\"fw-bold\">gnome-system-monitor<\/span> \u2013 Opens the GNOME system monitor for graphical representation of system resources, including memory.<\/li>\n<li><span class=\"fw-bold\">glances<\/span> \u2013 Runs the `glances` tool to view comprehensive system resource usage.<\/li>\n<li><span class=\"fw-bold\">nmon<\/span> \u2013 Runs the `nmon` tool for system monitoring, press &#8216;m&#8217; to view memory statistics.<\/li>\n<li><span class=\"fw-bold\">smem<\/span> \u2013 Runs the `smem` tool to view memory usage based on proportional set size.<\/li>\n<\/ul>\n<h2>Conclusion:<\/h2>\n<p>Monitoring RAM usage on Ubuntu is straightforward, whether you prefer using the graphical interface or the command line. Regularly checking your RAM can help ensure your system runs smoothly and allows you to make informed decisions about potential upgrades or optimizations. Remember, understanding your system&#8217;s resources is key to maintaining its health and performance.<\/p>\n<p>In this guide, we have gone through various ways to check the RAM on Ubuntu using different commands and tools. By using these commands and tools, you can easily obtain the necessary information about the RAM usage of your system.<\/p>\n<p>If you&#8217;re on the hunt for the best web hosting solutions tailored for Ubuntu, look no further. We&#8217;ve done the heavy lifting for you. After extensive testing and research, we&#8217;ve compiled a definitive list of the top Ubuntu hosting providers for 2023. Make sure to check out our &#8220;<a href=\"https:\/\/webhostinggeeks.com\/best\/ubuntu-hosting\/\">Best Ubuntu Hosting 2023<\/a>&#8221; guide to ensure your projects are powered by the best in the business.<\/p>\n<p>If you have any questions or suggestions, feel free to comment below.<\/p>\n<h2>FAQs<\/h2>\n<ol itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Why is it important to monitor memory usage on Ubuntu?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<span itemprop=\"text\">Monitoring memory usage on Ubuntu helps in understanding the system&#8217;s performance, identifying potential bottlenecks, and ensuring that applications run smoothly. Regular checks can also help in troubleshooting issues, optimizing system performance, and determining if there&#8217;s a need for a RAM upgrade.<\/span>\n<\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What&#8217;s the difference between `top` and `htop`?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<span itemprop=\"text\">Both `top` and `htop` are system monitoring tools, but `htop` provides a more user-friendly interface with color-coded outputs and allows for interactive process management. While `top` provides a static view, `htop` offers a real-time, dynamic display and supports mouse operations.<\/span>\n<\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">How can I check memory usage using the graphical interface on Ubuntu?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<span itemprop=\"text\">You can use the &#8220;System Monitor&#8221; tool, which is Ubuntu&#8217;s default system resource and process monitoring tool. Navigate to the Ubuntu Dash or Show Applications, search for &#8220;System Monitor&#8221;, open it, and click on the &#8220;Resources&#8221; tab to view memory usage.<\/span>\n<\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What is &#8220;proportional set size&#8221; (PSS) in `smem`?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<span itemprop=\"text\">Proportional Set Size (PSS) is a metric used by `smem` to provide a more accurate representation of the memory being used by applications and processes. PSS calculates the memory usage of each process, considering shared libraries, and divides it proportionally among the processes using those libraries. This gives a clearer picture of the actual memory footprint of processes.<\/span>\n<\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Why might I see different memory values in different tools?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<span itemprop=\"text\">Different tools might display varying memory values due to the way they calculate and represent memory usage. Some tools might show raw values, while others account for buffers, caches, and shared memory. It&#8217;s essential to understand the metrics each tool provides to interpret the data accurately.<\/span>\n<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In Ubuntu, you can check the RAM (Random Access Memory) usage of your system with multiple methods available via both the GUI (Graphical User Interface) and the command line. Checking&#8230;<\/p>\n","protected":false},"author":6,"featured_media":18456,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[996,1073],"tags":[2047,2067,1691,1856],"class_list":["post-14167","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-ubuntu","tag-check","tag-memory","tag-ram","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/14167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=14167"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/14167\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/18456"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=14167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=14167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=14167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}