]> git.pld-linux.org Git - SPECS.git/blob - mtop.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / mtop.spec
1 Summary:        mtop/mkill - MySQL Monitoring Tools
2 Summary(pl.UTF-8):      mtop/mkill - narzędzia do monitorowania MySQL
3 Name:           mtop
4 Version:        0.6.6
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/Databases
8 Source0:        http://dl.sourceforge.net/mtop/%{name}-%{version}.tar.gz
9 # Source0-md5:  f1beb021351f937a74cb0e9d3fcedae7
10 URL:            http://mtop.sourceforge.net/
11 BuildRequires:  perl-DBD-mysql
12 BuildRequires:  perl-devel >= 1:5.6
13 BuildRequires:  rpm-perlprov >= 4.1-13
14 Requires:       perl-Curses
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 mtop (MySQL top) monitors a MySQL server showing the queries which are
20 taking the most amount of time to complete. Features include 'zooming'
21 in on a process to show the complete query, 'explaining' the query
22 optimizer information for a query and 'killing' queries. In addition,
23 server performance statistics, configuration information, and tuning
24 tips are provided.
25
26 mkill (MySQL kill) monitors a MySQL server for long
27 running queries and kills them after a specified time interval.
28 Queries can be selected based on regexes on the user, host, command,
29 database, state and query.
30
31 %description -l pl.UTF-8
32 mtop (MySQL top) monitoruje serwer MySQL pokazując zapytania, których
33 wykonanie zajmuje najwięcej czasu. Możliwości obejmują "powiększanie"
34 procesów, aby pokazać pełne zapytania, objaśnianie (explain)
35 informacji o optymalizacji zapytania oraz "zabijanie" zapytań. Ponadto
36 dostępne są statystyki wydajności, informacje o konfiguracji oraz
37 wskazówki dotyczące strojenia.
38
39 mkill (MySQL kill) monitoruje serwer MySQL pod kątem długo trwających
40 zapytań i zabija je po określonym czasie. Zapytania mogą być wybierane
41 na podstawie wyrażeń regularnych dla użytkownika, hosta, komendy, bazy
42 danych, stanu i samego zapytania.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__perl} Makefile.PL \
49         --prefix=%{_prefix}
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog README
64 %attr(755,root,root) %{_bindir}/m*
65 %{_mandir}/man1/*
This page took 0.419986 seconds and 3 git commands to generate.