|
|
[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv
" }+ r6 `* F0 a2 x% P5 @8 f) I-bash: dstat: command not found" f X' z+ b0 J/ V! C: i: i. k
[root@ceph-1 ~]# yum provides dstat1 e$ G- A7 w U( C) q
Loaded plugins: product-id, search-disabled-repos, subscription-manager" G8 i/ o3 U4 m. O' W; O
) D# X6 H: g/ f7 Y6 O: x/ U( h5 mThis system is not registered with an entitlement server. You can use subscription-manager to register.* t# E. c$ ?. ^# O
- R; _8 b. A2 [( q0 N# o" h* xdstat-0.7.2-12.el7.noarch : Versatile resource statistics tool+ j: X4 P6 X2 O/ {) I
Repo : Base-os1 X. m2 F0 e: D& A w% t
& Z8 \! Z2 x6 f
( P" a2 z L9 N5 X3 H/ W3 m1 ]
5 h) Q9 V- O9 b# z: ]& u7 N
[root@ceph-1 ~]# yum install -y dstat
; h2 q5 e0 ]( @; c/ K; _Loaded plugins: product-id, search-disabled-repos, subscription-manager- Y5 B+ C1 t: ?# v' X" u$ y
2 u/ m( N6 l$ ~. o2 q
This system is not registered with an entitlement server. You can use subscription-manager to register.
( G7 B6 P9 o" ^! P
$ [. [) Q P; b; F/ A/ x8 l6 E4 \Base-os | 2.8 kB 00:00:00
& E* s/ p2 F' \# d2 Pceph-local | 2.9 kB 00:00:00
& N% E G! `# YCould not get metalink https://mirrors.fedoraproject.or ... h=x86_64&infra=$infra&content=$contentdir error was u" [( V: ?3 b7 q
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Unknown error": n+ I7 s+ ?# D9 c
epel | 4.7 kB 00:00:00 $ q5 D9 ?# V9 T5 q8 C
http://mirrors.bfsu.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
) p, z0 r; i/ J- @+ E# N; E2 ]Trying other mirror.
0 h R4 U+ G" E0 xepel | 4.7 kB 00:00:00 1 i6 G, Z! T; N' ?; f
https://mirror.sjtu.edu.cn/fedor ... epodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel2 ` l- U$ N& s x/ G$ C. V5 U
Trying other mirror.
7 ?9 ^# C& Y" ^' N, M( A* V6 D1 o8 R Q; i: [' y
5 r0 l, V. e# S4 H2 i6 i--> Running transaction check' R6 u% l3 q2 @; w
---> Package dstat.noarch 0:0.7.2-12.el7 will be installed) I+ @7 ?. t4 X6 g" S
--> Finished Dependency Resolution
4 J( `5 L8 n' z4 R% K1 s: F
1 V: q4 ?6 g9 v$ A6 `Dependencies Resolved
$ \9 v! N9 T0 f% d8 S" Y V: R G% U# B9 ~) [. J
============================================================================================================
( k/ p/ P5 ]' {8 v, }. P Package Arch Version Repository Size
M. l( E+ O* c============================================================================================================
& |! @! x- C! k2 ]; G" AInstalling:# s( q* S ^4 z) d; X& P9 X0 s
dstat noarch 0.7.2-12.el7 Base-os 163 k9 {+ B/ F7 k/ q n
7 V | V1 c' e9 t: aTransaction Summary
. W! ?0 T' l* H" c) E============================================================================================================
e1 |! M) L/ X% T( m7 ^9 S% bInstall 1 Package
: _ [# q5 Q* X1 `7 r5 p# v0 p t
+ v* _% ]- D7 |& zTotal download size: 163 k; C7 z& E2 Z6 N+ ?
Installed size: 752 k
) B) K2 D. u- H* P( a' O/ \Downloading packages:9 x$ Z. c0 i7 L& n3 E- G
dstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00
8 E- C2 H, b: T8 x! N; _Running transaction check- m* m5 x S/ O6 v+ E1 C
Running transaction test
: d, K k5 e+ c' j! XTransaction test succeeded
1 R$ x6 F9 C$ |2 M0 Y1 ARunning transaction
. V; {4 R, e) k Installing : dstat-0.7.2-12.el7.noarch 1/1
8 l" c9 o2 \& c4 ^) e) q Verifying : dstat-0.7.2-12.el7.noarch 1/1
/ p. L) V# T3 l& }9 h1 S1 i% ?! ?; y& F3 q+ B( d/ w" w
Installed:3 u8 V- Q. J! _0 p$ g( J: N$ |
dstat.noarch 0:0.7.2-12.el7
6 f1 v7 r# R q, e: ]& s" D5 i" I; K' S2 y" L, y
Complete!
' v) m7 L# B7 m[root@ceph-1 ~]# dstat -td -D /dev/vdb -o disk.csv
3 d% V9 S" |5 [! W----system---- --dsk/vdb--9 |9 a* l+ v2 x9 c3 Z& O0 p0 I( w
time | read writ) W9 u' C& V+ x% ?0 l) X
03-08 09:47:01| 12k 6310B8 T! b/ }; w- w5 {3 j! D; X" m
03-08 09:47:02| 0 0 . g( A* C5 _* f2 q
03-08 09:47:03| 0 0
, H9 n8 K& t1 b2 j; s03-08 09:47:04| 0 0
4 H! _- ]9 S) E$ y2 {+ _03-08 09:47:05| 0 0
Q0 J1 y& m' R4 z03-08 09:47:06| 0 0
, {- q3 V d8 z03-08 09:47:07| 0 0 % x. Y/ {2 D5 @4 @0 e
03-08 09:47:08| 0 0 2 O* s/ R* c4 a- E5 L( g( T) m, C
03-08 09:47:09| 0 0 ) U6 p& i; w$ W5 b: w c
03-08 09:47:10| 0 128k" N. C+ J0 B/ O1 l9 ]9 B$ ~0 Q. r7 U
03-08 09:47:11| 0 0
* M- j* a5 B3 E03-08 09:47:12| 0 0 8 H |2 i( f; o# K( ^
03-08 09:47:13| 0 0
, k6 o) _; Z9 E& H$ A03-08 09:47:14| 0 0
( j; R0 J s# Z5 S7 L4 R+ @: m) s03-08 09:47:15| 0 0
% @7 \' V4 d; }) _. F( a$ K03-08 09:47:16| 0 0 g7 @5 \8 c+ x1 X! S3 Q; U
03-08 09:47:17| 0 0 c/ c' X, u, p' A! U! B
03-08 09:47:18| 0 0 5 R- m6 c6 [& c% V- e" r. w+ M
03-08 09:47:19| 0 0
, r6 I4 p: P. `& K5 n% ]03-08 09:47:20| 0 0 . T6 W3 M. O5 Q" X) C5 Q3 T- ?
03-08 09:47:21| 0 0
5 P8 b1 }: y+ G- b, {03-08 09:47:22| 0 0
2 j3 h& o: \8 X: G; [# N1 M- |03-08 09:47:23| 0 0
+ U0 ~7 V0 k Y: k% j4 }* J, e03-08 09:47:24| 0 0
0 D/ ?: `" j! A* y. d03-08 09:47:25| 0 0 6 g1 g. B8 C+ a
03-08 09:47:26| 0 0
; Q; _! F- D+ S+ N! {+ K9 @03-08 09:47:27| 0 0 : j5 j) J& r( ?& {# b: w" Y
03-08 09:47:28| 0 0 " d5 B0 x Z8 x, t$ g3 ~
03-08 09:47:29| 0 0 1 Z" v: C+ B+ K" m, O1 S& W
03-08 09:47:30| 0 0 ! j# p. @* l2 D( R+ [% C
03-08 09:47:31| 0 0
% g4 D. C9 J3 `) R- I7 f1 s03-08 09:47:32| 0 0
7 O9 x" A1 u/ h) j0 [03-08 09:47:33| 0 0 , V) Y9 T7 D' q6 {9 `$ I6 B
03-08 09:47:34| 0 0 5 l) F* v' \ y% Q1 I/ H
03-08 09:47:35| 0 0 " M: O ~0 z/ P2 A/ l5 F
----system---- --dsk/vdb--
5 }6 r M8 @9 p time | read writ
# `. T' X+ o- F7 h+ A03-08 09:47:36| 0 0 O1 U! w7 q3 n& z, v
5 g) o, T) y& H9 Q- F* p& }# D3 }2 o5 x. Q
[root@ceph-2 ~]# yum install -y dstat4 a7 x. U4 E8 C0 E
Loaded plugins: product-id, search-disabled-repos, subscription-manager! c3 f! y1 {+ O! U) [8 G
9 ]3 L# x. T9 ]6 } W: K8 E
This system is not registered with an entitlement server. You can use subscription-manager to register.; V5 i5 z* x8 _: X
0 @1 w3 ?+ s8 H, Z& F9 xBase-os | 2.8 kB 00:00:00 J( {( L9 c( @
ceph-local | 2.9 kB 00:00:00
0 Q" N$ Z7 C1 h* Y2 Sepel/x86_64/metalink | 6.6 kB 00:00:00 5 J( N {( C. k# n# x
epel | 4.7 kB 00:00:00 0 ?( ~! V; ?- R
(1/2): epel/x86_64/updateinfo | 1.1 MB 00:00:00 6 Q# f' ]$ q6 d* Q6 P: E- O- E: a
(2/2): epel/x86_64/primary_db | 7.0 MB 00:00:00 9 t& v" P$ {' v# L
Resolving Dependencies1 {6 W p8 t& Q
--> Running transaction check! s# @ G; d5 z2 x1 n: z" _
---> Package dstat.noarch 0:0.7.2-12.el7 will be installed7 R; v. t/ P8 I# C( g% P h* t
--> Finished Dependency Resolution* U$ ^6 c& W+ g
+ {# t8 A0 V1 a( D
Dependencies Resolved
( J9 n& m+ R. f1 K
" A! k% T5 @1 b4 n" ~============================================================================================================
* f5 ^, Z8 W6 [# y, @' n$ G' J Package Arch Version Repository Size0 o! i0 S# Z, v/ ]! D5 `
============================================================================================================, D& F' \; `# {, t2 _% a! s" K
Installing:) ?2 w) U R* H C, f
dstat noarch 0.7.2-12.el7 Base-os 163 k
8 ?. {# F7 s9 F W. p. @; b8 {) H$ r" r( H% p) |
Transaction Summary$ h' W3 q2 a4 O* r: k
============================================================================================================
- v( B5 W/ n! S ^8 jInstall 1 Package9 r7 R3 M. [7 D* K, Y9 c, Y
M8 h) w, [1 ~- {+ STotal download size: 163 k L H+ _3 V. Y8 g. J% Y
Installed size: 752 k6 j! {, |# q' r0 k
Downloading packages:7 _' Z- A# L# c! Q
dstat-0.7.2-12.el7.noarch.rpm | 163 kB 00:00:00 - G5 z% o! O& R4 W" W+ W+ d! _$ b
Running transaction check
+ z0 Z3 E* s* k" [" q$ dRunning transaction test2 V5 M* P) s% c, O0 h& B f
Transaction test succeeded# |( B; `% P1 a3 b; D5 z. n! [2 \
Running transaction
m; N( K) |: z" I Installing : dstat-0.7.2-12.el7.noarch 1/1 4 m% e/ [1 \0 [( i
Verifying : dstat-0.7.2-12.el7.noarch 1/1
! N9 A6 [$ n7 v& l" K! N7 O# ?* E) w( ]2 Q
Installed:
- N% {3 S+ w' r' I* J5 P* l dstat.noarch 0:0.7.2-12.el7 6 V7 j0 f" O" d5 F1 x* n/ C: Z, l
f; ? i0 h( R3 d: I7 ?Complete!* ?5 L x3 k2 _0 o
[root@ceph-2 ~]#
y2 Q; J7 I* B* W' R8 R5 w. g
& ]3 H% p; f+ X/ {: n. j0 e# H0 \+ t0 P3 e+ s
3 | z' y+ g: @. x; N. Y
- @, O" _ U t- t& X8 q- _% B0 \& A0 ]9 K; m, Z
/ U: {: F0 h$ a$ i
|
|