Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
smem
smem.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smem.spec of Package smem
# # spec file for package smem # # Copyright (c) 2020 SUSE LLC # Copyright (c) 2018-2020, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: smem Version: 1.5 Release: 0 Summary: Application memory usage report tool License: GPL-2.0-or-later Group: System/Monitoring URL: https://www.selenic.com/smem/ #HG-Clone: https://selenic.com/repo/smem Source: https://selenic.com/repo/smem/archive/%{version}.tar.bz2#/%{name}-%{version}.tar.bz2 Patch0: smemcap-fix-build.patch Requires: python3 %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. 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. %prep %autosetup -p1 sed -i 's|%{_bindir}/env python|%{_bindir}/python3|g' smem %build gcc %{optflags} -Wall smemcap.c -o smemcap %install install -d %{buildroot}/%{_bindir} install -pm 0755 smem %{buildroot}/%{_bindir}/smem install -pm 0755 smemcap %{buildroot}/%{_bindir}/smemcap install -Dpm 0644 smem.8 %{buildroot}/%{_mandir}/man8/smem.8 %files %license COPYING %{_bindir}/smem %{_bindir}/smemcap %{_mandir}/man8/smem.8%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor