Added TermboxScreen.ClearLine().
[pstop.git] / NEW_FEATURES
1 New features
2 ------------
3
4 Some thoughts for new features which I hope to get around to.
5 See also BUGS which probably need fixing first.
6
7 1. Often we want to look at behaviour over time when we change
8 something, so cumulative statistics are not ideal: we'd like to see
9 a window of data which gradually moves over time. Look at how to
10 implement this with ps_top.  I'd expect the window to be rather
11 small, perhaps 1 minute, or maybe longer triggered by collecting
12 data less frequently.
13
14 2. vmstat, iostat, pt-diskstats and other such utilities show values
15 over time but providing output as stdout. It might be useful to
16 have options to pstop to present the info in that sort of format
17 too.
18
19 3. Add some replication metrics to pstop as most of my servers are
20 slaves and we want to know where the server is busy. I've seen a
21 way to do that and need to incorporate it into pstop.
22
23 4. _if_ ps statistics get truncated it would be good to be able to
24 remember the latest state and add those metrics back again, _if_
25 looking at absolute rather than relative statistics. On servers I
26 manage I currently truncate info as it is collected after 15-minutes,
27 so this might happen while watching a server with pstop.
28
29 5. Improve the options for sorting the data. Total latency is good,
30 but it would be good to see the write based metrics ordered by total
31 write latency. So look to improve the display and sort options here.
32
33 6. I/O Latency by File shows read/write bytes and operations but
34 none of these values is converted into B/s or ops/sec which might
35 be better given we want to see the rate values.  MB/s or ops/s are
36 easier to understand and the values don't change depending on the
37 period being viewed. That said unless we have the times the metrics
38 were collected we can't calculate these rates so the ABS values
39 can't show the rate information but would need to show only the
40 counters.