forked from NinGoo/flashstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
48 lines (40 loc) · 1.81 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
License : released under GPL v2.
About Flashstat :
-------------------
Flashcache from facebook is a great project. Thanks the author Mohan Srinivasan.
And this tiny tool flashstat is for flashcache status per second,
Flashstat retrieves information from dmsetup table/dmsetup status/sysctl
Attention :
-------------------
this tool has been merged into Flashcache's utils, if you want new version, please go to the flashcache project:
<https://github.com/facebook/flashcache>
Update :
-------------------
2011-01-11 NinGoo version 0.3 parse /proc/../flashcache_stats instead of dmsetup status for new version flashcache
Usage :
-------------------
You need sudo privileage to run this tool.
flashstat [options]
options:
-i|--interval default is 1 second
-c|--count default is 0, means never exit
-d|--device flashcache mapping device name, default is /dev/mapping/cachedev
-n|--nocolor no ANSI color mode
-h|--help print help information
output:
read/s reads per second for cachedev
write/s writes per second for cachedev
diskr/s disk reads per second
diskw/s disk writes per second
ssdr/s ssd reads per second
ssdw/s ssd writes per second
uread/s uncached reads per second
uwrit/s uncached writes per second
metaw/s metadata ssd writes per second
clean/s cleanings per second
repl/s replacement per second
wrepl/s write replacement per second
hit% read hit percent(current hit%|total hit%)
whit% write hit percent(current whit%|total whit%)
dwhit% dirty write hit percent(current dwhit%|total dwhit%)
NinGoo([email protected])