Группа :: Мониторинг
Пакет: smem
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: smem
Version: 0.1
Release: alt1
Summary: Report application memory usage in a meaningful way
License: GPLv2+
Group: Monitoring
Url: http://www.selenic.com/smem
Source: http://www.selenic.com/smem/download/smem-0.1.tar.gz
Source1: http://www.selenic.com/smem/index.html
# http://selenic.com/repo/index.cgi/smem/raw-rev/741bd2646ebf
# Add GPLv2+ license and copyright notice
Patch: smem-0.1-741bd2646ebf-gplv2+.patch
# http://selenic.com/repo/index.cgi/smem/raw-rev/4320ad746bcc
# Kernel version >= 2.6.27 check
Patch1: smem-0.1-4320ad746bcc-kervercheck.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: kernel >= 2.6.27
BuildArch: noarch
%description
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.
Since 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 measures each application's "fair share" of each shared area instead
to give more realistic sense of what's happening.
%prep
%setup
%patch0 -p1 -b .gpl
%patch1 -p1 -b .kerver
cp -a %SOURCE1 smem.html
# sample script, installed as documentation
chmod -x capture
%build
%install
install -pDm755 smem %buildroot%_bindir/%name
%files
%doc smem.html capture COPYING
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.1
Release: alt1
Summary: Report application memory usage in a meaningful way
License: GPLv2+
Group: Monitoring
Url: http://www.selenic.com/smem
Source: http://www.selenic.com/smem/download/smem-0.1.tar.gz
Source1: http://www.selenic.com/smem/index.html
# http://selenic.com/repo/index.cgi/smem/raw-rev/741bd2646ebf
# Add GPLv2+ license and copyright notice
Patch: smem-0.1-741bd2646ebf-gplv2+.patch
# http://selenic.com/repo/index.cgi/smem/raw-rev/4320ad746bcc
# Kernel version >= 2.6.27 check
Patch1: smem-0.1-4320ad746bcc-kervercheck.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: kernel >= 2.6.27
BuildArch: noarch
%description
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.
Since 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 measures each application's "fair share" of each shared area instead
to give more realistic sense of what's happening.
%prep
%setup
%patch0 -p1 -b .gpl
%patch1 -p1 -b .kerver
cp -a %SOURCE1 smem.html
# sample script, installed as documentation
chmod -x capture
%build
%install
install -pDm755 smem %buildroot%_bindir/%name
%files
%doc smem.html capture COPYING
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь