How to Install and Uninstall ps_mem.noarch Package on Amazon Linux 2

Last updated: February 07,2025

1. Install "ps_mem.noarch" package

Please follow the steps below to install ps_mem.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install ps_mem.noarch

2. Uninstall "ps_mem.noarch" package

Learn how to uninstall ps_mem.noarch on Amazon Linux 2:

$ sudo yum remove ps_mem.noarch $ sudo yum autoremove

3. Information about the ps_mem.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : ps_mem
Arch : noarch
Version : 3.1
Release : 7.amzn2
Size : 20 k
Repo : amzn2-core/2/x86_64
Summary : Memory profiling tool
URL : https://github.com/pixelb/scripts
License : LGPLv2
Description : The ps_mem tool can determine how much RAM is used per program
: (not per process). In detail it reports:
: sum(private RAM for program processes) + sum(Shared RAM for
: program processes) The shared RAM is problematic to calculate, and
: the tool automatically selects the most accurate method available
: for the running kernel.