Репозиторий Sisyphus
Последнее обновление: 25 февраля 2020 | Пакетов: 17504 | Посещений: 17520266
en ru br
Репозитории ALT
S:2.5.0-alt1
D:1.20-alt1
5.1: 1.23-alt3
4.1: 1.23-alt1
4.0: 1.17-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.21

Группа :: Мониторинг
Пакет: atop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: atop
Version: 1.17
Release: alt1

Summary: AT Computing System and Process Monitor
License: GPL
Group: Monitoring

Url: http://www.atcomputing.nl/Tools/atop
Source: http://www.atconsultancy.nl/atop/packages/%name-%version.tar.gz
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Wed Nov 29 2006

BuildRequires: libncurses-devel packages-info-i18n-common zlib-devel

%description
atop is an interactive monitor to view the load on a Linux-system.
It shows the occupation of the most critical hardware-resources
(from a performance point of view) on system-level, i.e. cpu,
memory, disk and network. It also shows which processes are
responsible for the indicated load (again cpu-, memory-, disk-
and network-load on process-level).

The program can also be used to log system- and process-level
information in raw format for long-term analysis.

%prep
%setup -q

%build
%make_build

%install
mkdir -p %buildroot{%_man1dir,%_bindir,%_sysconfdir/{%name,cron.d}}
install    -m 0644 man/* %buildroot%_man1dir
install    -m 04711 atop %buildroot%_bindir/atop
install    -m 0711 atop.daily   %buildroot%_sysconfdir/%name/atop.daily
install    -m 0711 atop.24hours %buildroot%_sysconfdir/%name/atop.24hours
install    -m 0644 atop.cron %buildroot%_sysconfdir/cron.d/atop
install -d -m 0755 %buildroot%_logdir/atop

%post
if [ -f %_sysconfdir/logrotate.d/psacct ]
then
rm   %_sysconfdir/cron.d/atop
echo 'Provisions for automatic daily logging can be installed manually'
echo '(see section RAW DATA STORAGE in man-page) ....'
else
%_sysconfdir/%name/atop.daily
echo 'Automatic daily logging is activated ...'
fi

%preun
killall atop 2> /dev/null

%postun
%files
%doc README
%_sysconfdir/%name/atop.daily
%_sysconfdir/%name/atop.24hours
%_bindir/atop
%_man1dir/atop.1*
%_sysconfdir/cron.d/atop
%dir %_logdir/atop

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin