Various adjustments
[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. performance_schema has several tables showing a wide variety of
8 interesting information. So look and see which tables are most
9 interesting and adapt pstop to show this.
10
11 2. Often we want to look at behaviour over time when we change
12 something, so cumulative statistics are not idea: we'd like to see
13 a window of data which gradually moves over time. Look at how to
14 implement this with ps_top.  I'd expect the window to be rather
15 small, perhaps 1 minute, or maybe longer triggered by collecting
16 data less frequently.
17
18 3. vmstat, iostat, pt-diskstats and other such utilities show values
19 over time but providing output as stdout. It might be useful to
20 have options to pstop to present the info in that sort of format
21 too.
22
23 4. add some replication metrics to pstop as most of my servers are
24 slaves and we want to know where the server is busy. I've seen a
25 way to do that and need to incorporate it into pstop.
26
27 5. _if_ ps statistics get truncated it would be good to be able
28 to remember the latest state and add those metrics back again, _if_
29 looking at absolute rather than statistics. I currently truncate
30 info after 15-minutes, so this might happen while watching a server
31 with pstop.
32
33 6. Improve the options for sorting the data. Total latency is good,
34 but it would be good to see the write based metrics ordered by total
35 write latency. So look to improve the display and sort options here.
36
37 7. Add command line options for providing access to the MySQL server.
38 Currently uses ~/.my.cnf and that's all.
39
40 8. shift-tab to go back a screen.
41
42 Issue 3 - termbox - SHIFT + TAB with go - termbox library ...
43 code.google.com/p/termbox/issues/detail?id=3
44 14 Sep 2010 - If I press Shift + Tab the Poll function will send
45 me 3 things successively: 1: Key 27 2: Ch 91 3: Ch 90 It's the only
46 Key I know that do that.
47 https://github.com/peco/peco/issues/161