Blob Blame History Raw
Name:           smem
Version:        1.5
Release:        %autorelease
Summary:        Report application memory usage in a meaningful way

License:        GPLv2+
Patch0: 	smem-1.5-python3path.patch
BuildRequires:  gcc

smem is a tool that can give numerous reports on memory usage on Linux
systems. Unlike existing tools, smem can report proportional set size (PSS),
which is a more meaningful representation of the amount of memory used by
libraries and applications in a virtual memory system.

Because large portions of physical memory are typically shared among
multiple applications, the standard measure of memory usage known as
resident set size (RSS) will significantly overestimate memory usage. PSS
instead measures each application's "fair share" of each shared area to give
a realistic measure.

%autosetup -p1

gcc %{build_cflags} %{build_ldflags} -o smemcap smemcap.c

install -Dpm0755 -t %{buildroot}%{_bindir} smem smemcap
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 smem.8

%license COPYING