]>
Commit | Line | Data |
---|---|---|
de67e37d | 1 | Summary: Versatile resource statistics tool |
c9a60e30 | 2 | Summary(pl.UTF-8): Uniwersalne narzędzie do monitorowania użycia zasobów |
de67e37d | 3 | Name: dstat |
a1b84515 | 4 | Version: 0.7.2 |
c4b4ed93 | 5 | Release: 1 |
580ae6f1 | 6 | License: GPL v2+ |
de67e37d | 7 | Group: Applications/System |
8 | Source0: http://dag.wieers.com/home-made/dstat/%{name}-%{version}.tar.bz2 | |
a1b84515 | 9 | # Source0-md5: bfea4dc8037a0b18fc40a4dfc104dcc8 |
de67e37d | 10 | URL: http://dag.wieers.com/home-made/dstat/ |
17291bbc | 11 | BuildRequires: rpm-pythonprov |
c3b6f92d | 12 | Requires: python |
131b02f5 | 13 | Requires: python-modules |
e5f5b161 | 14 | BuildArch: noarch |
de67e37d | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Dstat is a versatile replacement for vmstat, iostat, netstat, nfsstat | |
19 | and ifstat. Dstat overcomes some of their limitations and adds some | |
20 | extra features, more counters and flexibility. Dstat is handy for | |
21 | monitoring systems during performance tuning tests, benchmarks or | |
22 | troubleshooting. | |
23 | ||
24 | Dstat allows you to view all of your system resources instantly, you | |
25 | can eg. compare disk usage in combination with interrupts from your | |
26 | IDE controller, or compare the network bandwidth numbers directly with | |
27 | the disk throughput (in the same interval). | |
28 | ||
42034386 | 29 | %description -l pl.UTF-8 |
de67e37d | 30 | Dstat jest uniwersalnym zamiennikiem za vmstat, iostat, netstat, |
42034386 JR |
31 | nfsstat oraz ifstat. Dstat omija niektóre z ich ograniczeń i dodaje |
32 | nowe funkcjonalności, więcej liczników i elastyczność. Dstat jest | |
33 | wygodny w monitorowaniu systemów podczas testów, benchmarków lub | |
34 | rozwiązywania problemów wydajnościowych. | |
35 | ||
36 | Dstat pozwala oglądać wszystkie zasoby jednocześnie, np. zestawić | |
37 | użycie dysku ze statystykami przerwań kontrolera IDE, lub porównać | |
38 | wykorzystanie łącza bezpośrednio z wykorzystaniem dysków (w takim | |
de67e37d | 39 | samym interwale czasowym). |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
de67e37d | 44 | %install |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
de67e37d | 49 | |
1eb3c498 AM |
50 | # broken symlink |
51 | rm -f examples/dstat.py | |
52 | ||
de67e37d | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
580ae6f1 | 58 | %doc AUTHORS ChangeLog README TODO docs/*.html docs/*.txt examples/ |
6b9988b7 | 59 | %attr(755,root,root) %{_bindir}/dstat |
580ae6f1 | 60 | %{_mandir}/man1/dstat.1* |
e5f5b161 | 61 | %{_datadir}/dstat |