import ps_mem-3.6-7.el8
This commit is contained in:
parent
fd07609850
commit
c8cf652e29
@ -245,7 +245,7 @@ def getMemStats(pid):
|
|||||||
|
|
||||||
def getCmdName(pid, split_args):
|
def getCmdName(pid, split_args):
|
||||||
cmdline = proc.open(pid, 'cmdline').read().split("\0")
|
cmdline = proc.open(pid, 'cmdline').read().split("\0")
|
||||||
if cmdline[-1] == '' and len(cmdline) > 1:
|
while cmdline[-1] == '' and len(cmdline) > 1:
|
||||||
cmdline = cmdline[:-1]
|
cmdline = cmdline[:-1]
|
||||||
|
|
||||||
path = proc.path(pid, 'exe')
|
path = proc.path(pid, 'exe')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: ps_mem
|
Name: ps_mem
|
||||||
Version: 3.6
|
Version: 3.6
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Memory profiling tool
|
Summary: Memory profiling tool
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
@ -47,6 +47,11 @@ install -Dpm644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 30 2020 Jan Rybar <jrybar@redhat.com> - 3.6-7
|
||||||
|
- gating activated
|
||||||
|
- cmdline unwanted blank spaces fixed
|
||||||
|
- Resolves: rhbz#1780986
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-6
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user