]>
Commit | Line | Data |
---|---|---|
50937768 AM |
1 | Summary: Povides real-time display of the active processes from a remote apache server |
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 | |
20 | remote apache server. I’ts like the top linux command. | |
21 | ||
22 | With apache-top you can get: | |
23 | ||
24 | The active apache processes with their associated PID, the status, the | |
25 | seconds being active, the CPU usage, the asociated VirtualHost, the | |
26 | accessing ip and the request (POST or GET, the file being accessed and | |
27 | the used protocol) The server uptime and the last time it was | |
28 | restarted The CPU usage Requests by second, Kb by second and the | |
29 | average Kb by request Number of active and inactive processes A graph | |
30 | with the inactive and active processes and their status | |
31 | ||
32 | %prep | |
33 | %setup -q -c -T | |
34 | ||
35 | %build | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_bindir} | |
40 | ||
41 | install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name} | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %attr(755,root,root) %{_bindir}/apache-top |