mirror of
https://github.com/clearlinux/psstop.git
synced 2026-09-03 20:21:27 +00:00
Merge pull request #1 from ignaciohg/correct-readme
Added a missing step in the README
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
EXTRA_DIST = COPYING
|
||||
EXTRA_DIST = COPYING psstop.spec
|
||||
|
||||
bin_PROGRAMS = psstop
|
||||
|
||||
|
||||
@@ -47,10 +47,18 @@ process running.
|
||||
|
||||
autoreconf --install
|
||||
|
||||
./configure
|
||||
|
||||
make
|
||||
|
||||
make install
|
||||
|
||||
## Generating RPM packages
|
||||
|
||||
make dist
|
||||
|
||||
rpmbuild -ta psstop*.tar.gz
|
||||
|
||||
## Usage
|
||||
|
||||
psstop
|
||||
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
Name: psstop
|
||||
Version: 1
|
||||
Release: 1%{?dist}
|
||||
Summary: Show processes' memory usage by looking into pss
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv3
|
||||
URL: https://github.com/clearlinux/psstop
|
||||
Source0: psstop-%{version}.tar.gz
|
||||
|
||||
|
||||
%description
|
||||
PPSTOP tracks the amount of memory from the process' Pss,
|
||||
as shown in /proc/PID/smaps
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%make_install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%doc
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 01 2017 Ignacio Hernandez <ignacio.hernandez@intel.com> - 1-1
|
||||
- Initial revision
|
||||
|
||||
Reference in New Issue
Block a user