Make a sift tool
GoogleCodeExporter opened this issue · 6 comments
GoogleCodeExporter commented
It's a lot of work to dig through the data from stalk + collected. Make a tool
to sift through these rapidly and learn what was happening to the server. The
following files are currently collected:
2011_02_08_16_48_57-df
2011_02_08_16_48_57-diskstats
2011_02_08_16_48_57-innodbstatus1
2011_02_08_16_48_57-iostat
2011_02_08_16_48_57-iostat-overall
2011_02_08_16_48_57-lsof
2011_02_08_16_48_57-mpstat
2011_02_08_16_48_57-mpstat-overall
2011_02_08_16_48_57-mysqladmin
2011_02_08_16_48_57-netstat
2011_02_08_16_48_57-netstat_s
2011_02_08_16_48_57-processlist1
2011_02_08_16_48_57-procstat
2011_02_08_16_48_57-ps
2011_02_08_16_48_57-stacktrace
2011_02_08_16_48_57-top
2011_02_08_16_48_57-variables
2011_02_08_16_48_57-vmstat
2011_02_08_16_48_57-vmstat-overall
The tool should do the following, in a key-driven manner:
- show the timestamps for which there are samples, and let me navigate easily
among them; for example, 'l' could select the most recent one, and 'j' and 'k'
could navigate from one to the next.
- download needed tools such as diskstats, mext, align, and pmp
- summarize IO, disk usage, and CPU stats
- invoke external tools on files, such as diskstats, or 'less'
- summarize the processlist and InnoDB status
- show a help menu in response to '?'
Original issue reported on code.google.com by baron.schwartz
on 20 Feb 2011 at 2:02
GoogleCodeExporter commented
This issue was updated by revision r367.
Initial go at 'sift' tool
Original comment by baron.schwartz
on 21 Feb 2011 at 11:43
GoogleCodeExporter commented
This issue was updated by revision r368.
Add documentation for the sift tool
Original comment by baron.schwartz
on 21 Feb 2011 at 11:03
GoogleCodeExporter commented
This issue was updated by revision r369.
Don't fetch the programs if they exist in the collected directory; don't break
when the tool is called from a funny directory; pause after showing help
Original comment by baron.schwartz
on 21 Feb 2011 at 11:06
GoogleCodeExporter commented
This issue was updated by revision r371.
Add a 'diskstats' action, and colorize the header line
Original comment by baron.schwartz
on 22 Feb 2011 at 2:17
GoogleCodeExporter commented
This issue was updated by revision r372.
Add colors and a 'diskstats' action to sift
Original comment by baron.schwartz
on 22 Feb 2011 at 2:23
GoogleCodeExporter commented
This issue was closed by revision r374.
Original comment by baron.schwartz
on 22 Feb 2011 at 10:17
- Changed state: Fixed