Sisyphus repository
Last update: 2 december 2020 | SRPMs: 17751 | Visits: 19735873
en ru br
ALT Linux repos
5.0: 1.1-alt2
4.1: 1.1-alt1.M41.1
4.0: 1.1-alt0.M40.1

Group :: Monitoring
RPM: memory-monitor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: memory-monitor
Version: 1.1
Release: alt1.M41.1
Summary: Qt4-based memory monitor
Source1: %name.png
Source2: %name.desktop
Group: Monitoring
License: GPLv2
Packager: Motsyo Gennadi <drool at>

# Automatically added by buildreq on Fri Jun 06 2008 (-bi)

BuildRequires: ImageMagick gcc-c++ libqt4-devel

This is a small Qt4 based application for detailed
monitoring of the memory usage of a running Linux
application. Any application can be monitored by picking
it from a dropdown list. Memory monitor will sample
the app each second and draw a plot of memory usage
over time. It can also show mapped memory.

The data is extracted from various process specific
files in /proc/. A kernel version of 2.6.14 or higher
is required, as most of the data needed was added to
the /proc/ filesystem in this version.

%setup -q
cp %SOURCE1 ./

export PATH=$PATH:%_qt4dir/bin
qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags"

%__install -Dp -m 0755 %name %buildroot%_bindir/%name
%__install -Dp -m 0644 %SOURCE2 %buildroot%_desktopdir/%name.desktop

# icons

%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 48x48 %name.png %buildroot%_liconsdir/%name.png
convert -resize 32x32 %name.png %buildroot%_niconsdir/%name.png
convert -resize 16x16 %name.png %buildroot%_miconsdir/%name.png



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin