]>
Commit | Line | Data |
---|---|---|
fcb908bc | 1 | Summary: Provides real-time display of the active processes from a remote Apache HTTP server |
50937768 AM |
2 | Name: apache-top |
3 | Version: 0.1 | |
4 | # date when fetched from git | |
15bd233b | 5 | Release: 0.20140604.2 |
50937768 AM |
6 | License: GPL v2 |
7 | Group: Applications/System | |
15bd233b AM |
8 | Source0: http://www.isartor.org/w/images/3/39/Apache-top.py |
9 | # Source0-md5: 4843daed2cbac7346c31d6cf0fcf6c1b | |
10 | URL: http://www.isartor.org/wiki/Monitor_you_Apache_processes | |
50937768 AM |
11 | BuildRequires: rpm-pythonprov |
12 | BuildRequires: rpmbuild(macros) >= 1.219 | |
13 | Requires: python >= 1:2.7 | |
14 | Requires: python-modules >= 1:2.7 | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | apache-top provides real-time display of the active processes from a | |
fcb908bc | 20 | remote Apache HTTP server. It's like the top Linux command. |
50937768 AM |
21 | |
22 | With apache-top you can get: | |
fcb908bc ER |
23 | - The active Apache processes with their associated PID, the status, |
24 | the seconds being active, the CPU usage, the asociated VirtualHost, | |
25 | the accessing ip and the request (POST or GET, the file being accessed | |
26 | and the used protocol) | |
27 | - The server uptime and the last time it was restarted | |
28 | - The CPU usage | |
29 | - Requests by second, Kb by second and the average Kb by request | |
30 | - Number of active and inactive processes | |
31 | - A graph with the inactive and active processes and their status | |
50937768 AM |
32 | |
33 | %prep | |
fcb908bc | 34 | %setup -qcT |
50937768 AM |
35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
fcb908bc | 39 | install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name} |
50937768 AM |
40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %attr(755,root,root) %{_bindir}/apache-top |