|
|
[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv
0 J! z# Y8 [$ ]0 m+ H& ^-bash: dstat: command not found& ]9 R5 o% p# b: z4 U& U; H4 J
[root@ceph-1 ~]# yum provides dstat
& n8 }- D0 _8 o! u+ f" ?- r8 tLoaded plugins: product-id, search-disabled-repos, subscription-manager
. ?4 i7 p+ ~& G5 t1 C( P2 h; W# ^2 a2 ^& V. s( @
This system is not registered with an entitlement server. You can use subscription-manager to register., W i2 p/ o+ e% Y, M
% w6 c0 {8 K ^# Z/ u. y: gdstat-0.7.2-12.el7.noarch : Versatile resource statistics tool
; o2 k4 X2 t& `2 JRepo : Base-os- g, H) ^$ G5 w5 |
. G5 T* c6 I: x7 k8 s) |
- z: }3 J# R' V1 O3 G' Q
& z4 ?6 n `& n, o Y: t[root@ceph-1 ~]# yum install -y dstat
: V/ i* O1 }" M2 c2 u$ O1 l3 JLoaded plugins: product-id, search-disabled-repos, subscription-manager
) G% {* J* b0 G- r- E7 Y- ^, o3 D
; p0 U; L' d. J1 c, u- zThis system is not registered with an entitlement server. You can use subscription-manager to register.6 J6 ]4 v: ~' m8 n. H8 D
4 J& I. C. P+ R+ _
Base-os | 2.8 kB 00:00:00 7 V* H2 ]2 ]: H) O9 B2 O) a5 I
ceph-local | 2.9 kB 00:00:00
5 ?( C2 J8 V( [+ {( eCould not get metalink https://mirrors.fedoraproject.or ... h=x86_64&infra=$infra&content=$contentdir error was" p. k2 ^7 Z1 j' k
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Unknown error"( V( w$ x0 n/ ]7 \
epel | 4.7 kB 00:00:00 1 [$ H% M/ |2 t- l7 M
http://mirrors.bfsu.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel3 k- [( ~* z t3 m1 s
Trying other mirror.% W1 n6 v6 w- i! d( }" q
epel | 4.7 kB 00:00:00 9 H( u }" c" X4 n$ Q+ X
https://mirror.sjtu.edu.cn/fedor ... epodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
0 n0 _2 k* i6 F+ d$ hTrying other mirror.
5 j# X1 h6 [5 Z+ r( q& ~2 C! P$ N6 l* a) r: `5 C$ s r
: O0 R* u# M9 P' A" o/ j--> Running transaction check9 j+ }. {0 m$ y/ q4 P& p
---> Package dstat.noarch 0:0.7.2-12.el7 will be installed+ J/ J- ^ X3 x6 U' i4 K2 ^
--> Finished Dependency Resolution
+ B8 P, i% p, G* S" _* r" }& [: \1 p. y. e9 L4 H' |4 B: R7 u1 b
Dependencies Resolved
; L/ ` g" \# a) P4 g2 Q9 G( v
+ y* n8 G1 N7 u" a4 a9 k( }! `============================================================================================================: f4 W! B9 g3 n8 i, Z: y7 J
Package Arch Version Repository Size- D0 @1 K- N8 ^, o
============================================================================================================
+ J( w4 A. o+ D# |; S$ O. @Installing:8 t2 o) F; l1 M- i9 r
dstat noarch 0.7.2-12.el7 Base-os 163 k# V! w# z' m7 i2 d* h/ L( P1 S8 j
3 u h' F) W% N+ f0 r( ]% M1 QTransaction Summary
" R9 r: J3 {* O+ z# X' T* c============================================================================================================
% b; K. z5 H9 K1 C' wInstall 1 Package; i' g0 W# U: s0 w
5 \1 m; Y& r' H7 v) \# }
Total download size: 163 k- Z2 C2 C! `: \+ B# H
Installed size: 752 k
2 @! k5 H0 A; \Downloading packages:
9 E! f0 b9 I1 ?, }dstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00
3 B: \' K' H+ S5 e& XRunning transaction check5 J) E0 C& `! y: f! n6 a
Running transaction test
& R/ ^+ z; A! }0 E8 K# V5 `Transaction test succeeded
" w; ]5 f! ]1 m, {Running transaction
9 u+ S3 A8 v! ~0 @' @+ P Installing : dstat-0.7.2-12.el7.noarch 1/1
/ S* T1 r z" C( _9 Q8 z Verifying : dstat-0.7.2-12.el7.noarch 1/1
, k# z0 m* l% p+ X+ ~
6 e/ S: R: y. oInstalled:
* @! g4 h" k, X4 N* ^0 r6 C dstat.noarch 0:0.7.2-12.el7
/ Z; }; E/ y9 y0 e5 Y8 P6 R9 l2 `$ o8 H2 R
Complete!
7 h$ O8 V5 O0 s* ^0 ` E[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv
) m+ q- W& G" ^5 {----system---- --dsk/vdb--
( @% o+ f* E3 R9 V8 N! `$ e k( t time | read writ% p% b5 u k. N- d! ^
03-08 09:47:01| 12k 6310B
+ T" c% y1 j0 c8 X7 Z T03-08 09:47:02| 0 0
8 c( _' i) F K m v9 Q0 m- L03-08 09:47:03| 0 0 ; h `. g5 ?# m3 E P b
03-08 09:47:04| 0 0
+ r; l# u1 U9 u6 i( U$ X03-08 09:47:05| 0 0 5 p" D9 V5 Y( r, s# `# J! `
03-08 09:47:06| 0 0 & W" x! O" k/ _% n
03-08 09:47:07| 0 0 5 m! [! P! [; s! O
03-08 09:47:08| 0 0
* H7 ^: f# L% a5 l, f' i03-08 09:47:09| 0 0 / v. O* ]9 z+ i$ v9 \- X# R
03-08 09:47:10| 0 128k9 j6 [3 A8 j* h% V' m Z
03-08 09:47:11| 0 0 2 C3 F- _0 p# I5 E5 u% v6 C7 n% j! E: u
03-08 09:47:12| 0 0 + ?6 Z$ K9 o" ?5 e) a
03-08 09:47:13| 0 0 4 r( b6 o" ~- ~; ^
03-08 09:47:14| 0 0 2 s! L4 u; t9 C9 e9 l, |0 T+ q( C
03-08 09:47:15| 0 0 : ~0 N/ ~5 \0 t5 Q6 \
03-08 09:47:16| 0 0 ' m/ l" ~: E9 C" ^
03-08 09:47:17| 0 0 6 o. V' t/ f% b% r
03-08 09:47:18| 0 0
3 {( B& f4 ^/ w1 Q0 k1 b+ ?03-08 09:47:19| 0 0
; B# j/ t' ~; t! M03-08 09:47:20| 0 0
$ y0 e+ C4 ^% M3 h0 C( H4 n; y& _03-08 09:47:21| 0 0
) E# }& S! w. M8 F$ b! V$ \03-08 09:47:22| 0 0
/ r/ N& Q* ]; Q& M7 T03-08 09:47:23| 0 0
# {7 F( u1 h$ O& v03-08 09:47:24| 0 0
6 H9 |& f" i s5 \03-08 09:47:25| 0 0 ) s* D3 k5 R' U3 e2 E
03-08 09:47:26| 0 0
! J" [& Q) P5 \. X03-08 09:47:27| 0 0 + ~! P \7 T% N: y5 r) E1 f5 `/ t7 {8 ?
03-08 09:47:28| 0 0
1 }1 ?1 |. ]' ]$ Y03-08 09:47:29| 0 0
& n5 o3 |0 M% {* ^03-08 09:47:30| 0 0
( i& y& k8 |; Z. t4 u03-08 09:47:31| 0 0
4 F8 n6 k9 U3 R8 {" |, Z; |3 B$ U03-08 09:47:32| 0 0
! P; Z9 |- V+ |% J; o6 C2 t03-08 09:47:33| 0 0 . J" g8 P0 o, z+ T! w$ m$ V! ?+ r
03-08 09:47:34| 0 0
' i8 h X: O% i) H7 g* y$ R6 ?* H2 y- T03-08 09:47:35| 0 0
1 F" C( p6 ?9 S! X- k----system---- --dsk/vdb--
* T$ ]% R2 Z o( ?8 e" g time | read writ
' }: o4 w. K# Y9 Y. w03-08 09:47:36| 0 0
, F" B& O6 W' E: {2 g: f$ l" \( ~6 O: i# v' p8 W# g. }
/ z8 t( N8 i& ~9 R2 E
[root@ceph-2 ~]# yum install -y dstat
% e6 I: u8 b8 w3 k ]: B( ~+ D8 eLoaded plugins: product-id, search-disabled-repos, subscription-manager! f' d+ }: W& z1 u1 }* j
. u4 ]1 X$ M/ @; A: ~This system is not registered with an entitlement server. You can use subscription-manager to register.
, X; B l" h n( ]. `) x7 C5 j. y6 C/ j% A
Base-os | 2.8 kB 00:00:00 ( ?) o% E* f& h! `
ceph-local | 2.9 kB 00:00:00
. A- s! |# l* Q1 O4 T& B- Kepel/x86_64/metalink | 6.6 kB 00:00:00 % u h! L8 x8 J+ R; Y) Q
epel | 4.7 kB 00:00:00
( |" q1 k& ~' X; ]$ T(1/2): epel/x86_64/updateinfo | 1.1 MB 00:00:00
4 y8 I" M$ M5 m. w9 j" ~- B" L(2/2): epel/x86_64/primary_db | 7.0 MB 00:00:00 8 }) N8 C- o4 k" Q: u- h3 a/ z+ @
Resolving Dependencies. T; R7 B+ N, c. A! a
--> Running transaction check
* a5 r' A8 B& Y; H- ?1 [; f---> Package dstat.noarch 0:0.7.2-12.el7 will be installed
! F6 x0 k' _' t; [--> Finished Dependency Resolution
0 F) @7 K5 t) Q& C# k
4 R# Y, Y" M5 y* nDependencies Resolved
7 {( ~. q0 M+ T9 j: J B; t' M* G# d8 m( s3 ~
============================================================================================================
k, W% F# l$ A4 ^; @ Package Arch Version Repository Size
% C! q& j$ j: Q- |============================================================================================================
4 A6 g" w* k! J* [! nInstalling:
+ P2 q9 j7 X1 r5 |) P dstat noarch 0.7.2-12.el7 Base-os 163 k0 E+ L! L' {1 f+ {
+ ^1 d: f9 C* e( W% ITransaction Summary
2 |7 z& i% r8 a============================================================================================================
/ W5 f7 J& a- U; `Install 1 Package' D% ~1 M% d! a; K9 g9 q
0 s0 J/ L/ P8 l* bTotal download size: 163 k& F: ?/ W* r3 B
Installed size: 752 k% O% u; v! F. l
Downloading packages:$ ^0 P7 B: P+ K: i! S
dstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00 $ ?! a+ Y& f$ T3 t
Running transaction check
/ r8 e1 a+ t4 @3 |! XRunning transaction test
! P$ d2 _ W/ ]Transaction test succeeded
3 c# E: _: P7 h7 s- T" mRunning transaction1 i; h; K. f Q* o: M6 h% p- g+ {/ ?( @2 z
Installing : dstat-0.7.2-12.el7.noarch 1/1
, B5 F' C$ g6 e- t5 h% G0 G Verifying : dstat-0.7.2-12.el7.noarch 1/1
! v$ ^& j J% k5 s) D
( r( z2 R- {; B3 [, p2 [* pInstalled:
6 T1 \3 C# K: A1 x" C/ ?% n dstat.noarch 0:0.7.2-12.el7
( _1 }' g3 t2 ~+ @' x. q, g+ L* _# t* _7 e5 \: F5 J& N
Complete!+ b6 i" |0 i# p: p
[root@ceph-2 ~]#
8 r- Y0 a$ E8 E% L1 U4 a. E, R6 [7 r: m
5 J: d% t1 P& y* a1 k8 a( O" x
1 k7 ^8 \% Z. d2 u7 X# d8 k, w0 k) _# ~
v1 ^7 }6 m8 r8 V* u
- G. K( \) I" @ c8 \ |
|