|
|
[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv
. ?4 x' S y9 B1 ~-bash: dstat: command not found
5 j' f' z( s) L8 c- j[root@ceph-1 ~]# yum provides dstat
* M& B/ V3 X# R9 D2 `3 e4 KLoaded plugins: product-id, search-disabled-repos, subscription-manager4 @+ z2 e) o3 @/ D+ _" h' E0 f( _
+ [* b9 W6 A. R2 E! n
This system is not registered with an entitlement server. You can use subscription-manager to register.
/ m, y( L" z7 M# I
q1 f& Z d0 M) b, R6 Odstat-0.7.2-12.el7.noarch : Versatile resource statistics tool6 `% `* ~0 ]% I" t6 O4 D
Repo : Base-os6 Q: {0 ^0 a9 g9 S& I/ d
( | q! ^+ {( J# @; l" G' P
8 E3 @ W: s. M
, G3 f- ~2 E' g8 x* z
[root@ceph-1 ~]# yum install -y dstat
0 C: q9 c4 e, u" M; B3 `Loaded plugins: product-id, search-disabled-repos, subscription-manager
$ Y+ ~* {, G+ D, W5 W
# y0 ]: f8 |7 H6 B4 j& ~; Z' wThis system is not registered with an entitlement server. You can use subscription-manager to register.( j8 s$ U- q" b6 s. }* c& N k
/ j2 W, h0 l8 N0 S1 JBase-os | 2.8 kB 00:00:00
7 H5 E0 n* ~* ?6 @9 d9 Cceph-local | 2.9 kB 00:00:00 2 Y2 {% ~+ K; T# L4 b- y# f. C
Could not get metalink https://mirrors.fedoraproject.or ... h=x86_64&infra=$infra&content=$contentdir error was6 [" B/ o& R0 W: T2 u7 y
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Unknown error"
" W' q# V: e3 y7 \% E, W# Repel | 4.7 kB 00:00:00 0 p. V) \% {0 p8 b
http://mirrors.bfsu.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
; a9 D0 e2 w: Z1 rTrying other mirror.7 I* T' U# r: J- u" r
epel | 4.7 kB 00:00:00 ; s/ ~& D4 o% f
https://mirror.sjtu.edu.cn/fedor ... epodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
# ]$ L4 r ~3 d$ v* _Trying other mirror.
' B! z. P. a2 n* P5 c# P/ H; [) { G* u
$ ?6 p- \) F( H1 R+ [+ C; X8 o: w3 r8 e7 n0 v+ {0 C3 c
--> Running transaction check
, a+ ^) P) Z6 R) s/ a---> Package dstat.noarch 0:0.7.2-12.el7 will be installed3 z9 |, F8 r! i1 _
--> Finished Dependency Resolution2 e3 y% _& b+ D! _5 z2 d' I% _
$ Z; g" M) F4 qDependencies Resolved
& P( `! T6 O" ]* f% g2 t' e. L A ?+ L8 u, E! x; _! O. h4 p- q* M$ C
============================================================================================================
4 V9 ?& N$ j5 C1 w( o, V6 G Package Arch Version Repository Size) i) X' {6 W5 u( D2 E- w
============================================================================================================ T5 A/ Z. |& X d, b
Installing:
% J* K8 |" x' z3 m- z, x# P, v, p dstat noarch 0.7.2-12.el7 Base-os 163 k, }- H- A! c# d5 K; y' f
* U! E1 L5 R9 F7 ~Transaction Summary; G% h- ` W# Q3 R3 o* Z
============================================================================================================
* O( P* J4 U- y) n7 X8 @/ t+ z% bInstall 1 Package
6 p/ K P9 I( c7 M8 I! s
: l' R- H- ?7 f* HTotal download size: 163 k
+ @4 j6 y* C! q8 D! ^) aInstalled size: 752 k: p) B7 l) n" Q9 H" g& p: u
Downloading packages:
7 M8 i) |4 t9 x" I. S. `4 I2 ydstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00
" n* @1 O( J3 ]7 Z- m- c' Y tRunning transaction check
9 c) f0 j3 i9 MRunning transaction test
/ Y% c5 T2 b6 XTransaction test succeeded
, g+ l9 j5 |/ z+ I, N) S% o; lRunning transaction% _: K" {' R) q
Installing : dstat-0.7.2-12.el7.noarch 1/1 6 k& \2 B$ [1 L u5 @: y% N& h, X
Verifying : dstat-0.7.2-12.el7.noarch 1/1
: u; H- {# \3 Q1 V; U* `. ~& y$ [# X
Installed:8 f+ e. `- H% G, v3 x
dstat.noarch 0:0.7.2-12.el7 6 y! }7 B" E( l4 D1 O
# H* t9 F* {; C. ]0 h
Complete!
+ d8 G1 L2 r4 k' _& l[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv, c% h9 w9 ~0 [- y/ W3 c
----system---- --dsk/vdb--* H7 j$ o0 D6 {' f" G
time | read writ
) Y5 ] N: n' u( Z8 r ~, u03-08 09:47:01| 12k 6310B
# o3 l# c( ^ ]( w( W, S% Y9 ~03-08 09:47:02| 0 0
& ]6 n4 {$ W/ n. {( S03-08 09:47:03| 0 0
9 A; y: D- O. D03-08 09:47:04| 0 0
5 Y% c# `/ `7 f! t- r03-08 09:47:05| 0 0
/ j) |0 K3 j1 v2 \8 M0 s03-08 09:47:06| 0 0
4 n' W# @% ]& [9 m03-08 09:47:07| 0 0 + i5 y- F4 e/ W; U: o' |0 z& j
03-08 09:47:08| 0 0
1 B" o( P: u, T; _; n# D4 U) z/ ~03-08 09:47:09| 0 0
{9 }9 J- o1 u$ {) a03-08 09:47:10| 0 128k
C; m! P2 T+ |( a9 G6 K03-08 09:47:11| 0 0
2 v) r( Y* i- w) R9 L0 w03-08 09:47:12| 0 0 % B; ?% \! Q3 [) J. h
03-08 09:47:13| 0 0
3 b+ B' `5 ~8 @/ x03-08 09:47:14| 0 0 ; s/ G( G1 \6 Y5 E) b' G
03-08 09:47:15| 0 0
$ u: `' ^: ?4 ?* R3 v( W }* M03-08 09:47:16| 0 0 U$ V+ |* F8 h0 W1 O
03-08 09:47:17| 0 0
# j( d$ ~7 K5 I2 ~03-08 09:47:18| 0 0 8 J- @1 D( t# f4 L0 j6 K- V
03-08 09:47:19| 0 0 * v' f9 O- ?$ P K
03-08 09:47:20| 0 0
" N$ W" h, C" w; ?8 g8 t0 s03-08 09:47:21| 0 0 , H; G, S) R- D0 H$ e( n8 O
03-08 09:47:22| 0 0
, ]7 o. n# n, _- z I2 H03-08 09:47:23| 0 0
% b+ ]" B6 x/ y1 u& \, N1 E4 r9 M03-08 09:47:24| 0 0 7 P: w: W: M2 Y. ~0 x5 M" Q
03-08 09:47:25| 0 0 2 l" T8 _! W) }" @9 o9 P) _/ W* e1 D8 R
03-08 09:47:26| 0 0
5 I& Y' f5 F$ A5 L4 D. [( F; m* e* F03-08 09:47:27| 0 0 # F+ D) i: {4 d3 {0 D+ d/ z
03-08 09:47:28| 0 0 * ~+ ^/ i- I- {
03-08 09:47:29| 0 0 + q! Q5 ^* {. b9 l$ V0 n1 I% d
03-08 09:47:30| 0 0 6 e j# g6 A. K# o
03-08 09:47:31| 0 0 & U+ ?1 [- U& }0 L
03-08 09:47:32| 0 0 8 \# g0 `: a( I& @# {5 C
03-08 09:47:33| 0 0 3 I) A( h I7 c5 s' `
03-08 09:47:34| 0 0
" i6 z* `, c7 B3 h, q03-08 09:47:35| 0 0 7 ~" X, y. O" x% l1 s: C
----system---- --dsk/vdb--
0 a, @# k+ V: j2 u time | read writ
! o4 I- s1 H# m. ? I" Q, `03-08 09:47:36| 0 0
- ~& ]9 B& L( }: }' q) C
$ h$ x* ?: }; M8 B& P( N( ]: p
! Y1 x" Q) D I! y5 w3 d) Q[root@ceph-2 ~]# yum install -y dstat
3 U4 k. k7 J0 P; \0 ^3 t* o& ELoaded plugins: product-id, search-disabled-repos, subscription-manager
4 E) T/ w9 V" g9 F
+ K% |! G7 C+ I7 f g1 P4 WThis system is not registered with an entitlement server. You can use subscription-manager to register.3 K/ s! m, N; L$ l) T
& ?9 S A) S$ r$ f
Base-os | 2.8 kB 00:00:00 7 Y7 i0 H/ S/ J9 }" s: C2 t
ceph-local | 2.9 kB 00:00:00 , J% \! P* ^9 A( ^
epel/x86_64/metalink | 6.6 kB 00:00:00 + W+ `3 G1 x6 E2 B0 ]( w
epel | 4.7 kB 00:00:00 $ g# A6 T; k9 Z' D% M! B0 r
(1/2): epel/x86_64/updateinfo | 1.1 MB 00:00:00 , i! f8 M5 W+ Z5 B4 a
(2/2): epel/x86_64/primary_db | 7.0 MB 00:00:00 % u- b& f1 _( f
Resolving Dependencies
# h4 i# V8 X- K V( u' Z O8 s# `--> Running transaction check9 @5 }* }8 W; w
---> Package dstat.noarch 0:0.7.2-12.el7 will be installed
* J G9 z) G8 m--> Finished Dependency Resolution, }$ M# E1 f9 K8 N' a5 z' w
2 i1 S9 B; B7 N, B/ d
Dependencies Resolved. ]7 w* a% f; o9 Z: ]1 s/ w$ A
3 i) w9 r) E. n, |
============================================================================================================2 w$ t) a$ c- {1 d8 L ~0 G( ]
Package Arch Version Repository Size
" R+ I, t0 ^1 V7 o1 W2 O; q============================================================================================================0 @5 ^ R5 l, v& O9 X" \& Z
Installing:
3 \! M3 ?2 t* H, L9 c dstat noarch 0.7.2-12.el7 Base-os 163 k
' H$ |" u' h9 X/ N) a( s( Z# q! t: N/ y+ I3 `
Transaction Summary
/ _6 o5 [5 H! ~) E3 T============================================================================================================ V1 Q4 u& }# w8 q4 _0 K
Install 1 Package
1 q$ D+ S: _4 p# D
H7 j4 t+ R6 `4 v! W' YTotal download size: 163 k, i" P1 \2 m6 I. G$ |% F
Installed size: 752 k% a( f& |) I. E' k. ~5 p {/ R$ m
Downloading packages:8 ^6 C, I* Z2 O- `5 q9 K9 Y
dstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00
6 z# L6 u6 Y1 XRunning transaction check
x, r1 K( [: y. d! w4 eRunning transaction test
' R" s* h9 t' b( p/ d8 H! T" zTransaction test succeeded) v: Q/ ] v- f# S/ J/ ~ i$ F
Running transaction
6 ]1 g/ b" T% L1 ? k- D, ] Installing : dstat-0.7.2-12.el7.noarch 1/1 ! ~ c$ \+ A. K4 D! ~& l- u6 g, O
Verifying : dstat-0.7.2-12.el7.noarch 1/1 3 m4 F1 z$ F( D4 C8 ]
8 D1 |! m" h3 ~Installed:
- M# y8 ]5 x9 x( s/ r, B2 ^ dstat.noarch 0:0.7.2-12.el7
8 G2 Z. \- |% j2 l, c1 v7 }5 @) w7 y1 P. ~ x& d
Complete!2 e8 O! Z. f8 ^/ y
[root@ceph-2 ~]#
2 Z4 w/ V% ~) |; H4 W4 _/ W1 v- L* K8 s/ {: b8 `! q$ g! R
: K) Y2 L* z! `/ Q: J
8 {; K/ h4 g7 f F
1 w W8 |1 o" F8 {# o
0 O' ]% v+ w$ ]
% [2 B ^' m- z/ a
|
|