Documentation
¶
Overview ¶
ps-top - Top like program which collects information from MySQL's performance_schema database.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the "runtime" for the ps-top application.
|
Package app is the "runtime" for the ps-top application. |
|
Package config stores some common information used in various places.
|
Package config stores some common information used in various places. |
|
Package connector is used to specify how to connect to MySQL.
|
Package connector is used to specify how to connect to MySQL. |
|
Package event hides the retrieval of events from different sources
|
Package event hides the retrieval of events from different sources |
|
Package filename contains the routines for converting a filename to a MySQL object name.
|
Package filename contains the routines for converting a filename to a MySQL object name. |
|
Package global provides information on global variables and status
|
Package global provides information on global variables and status |
|
Package log provides some adjustments to the standard logging = it is called on startup to optionally stop all logging.
|
Package log provides some adjustments to the standard logging = it is called on startup to optionally stop all logging. |
|
fileinfo
Package fileinfo holds the routines which manage the file_summary_by_instance table.
|
Package fileinfo holds the routines which manage the file_summary_by_instance table. |
|
filter
Package filter contains the routines for managing a database filter.
|
Package filter contains the routines for managing a database filter. |
|
memoryusage
Package memoryusage manages collecting data from performance_schema which holds information about memory usage
|
Package memoryusage manages collecting data from performance_schema which holds information about memory usage |
|
mutexlatency
Package mutexlatency provides library routines for ps-top for managing the events_waits_summary_global_by_event_name table.
|
Package mutexlatency provides library routines for ps-top for managing the events_waits_summary_global_by_event_name table. |
|
processlist
processlist handles processing of the processlist table whether in I_S or P_S
|
processlist handles processing of the processlist table whether in I_S or P_S |
|
stageslatency
Package stageslatency is the nterface to events_stages_summary_global_by_event_name
|
Package stageslatency is the nterface to events_stages_summary_global_by_event_name |
|
tableio
Package tableio contains the routines for managing performance_schema.tableio_waits_by_table.
|
Package tableio contains the routines for managing performance_schema.tableio_waits_by_table. |
|
tablelocks
Package tablelocks contains the library routines for managing the table_lock_waits_summary_by_table table.
|
Package tablelocks contains the library routines for managing the table_lock_waits_summary_by_table table. |
|
userlatency
Package userlatency exposes some user latency information from the processlist table
|
Package userlatency exposes some user latency information from the processlist table |
|
fileinfolatency
Package fileinfolatency holds the routines which manage the file_summary_by_instance table.
|
Package fileinfolatency holds the routines which manage the file_summary_by_instance table. |
|
memoryusage
Package memoryusage holds the routines which manage the memory usage table.
|
Package memoryusage holds the routines which manage the memory usage table. |
|
mutexlatency
Package mutexlatency holds the routines which manage the server mutexes.
|
Package mutexlatency holds the routines which manage the server mutexes. |
|
stageslatency
Package stageslatency holds the routines which manage the stages table.
|
Package stageslatency holds the routines which manage the stages table. |
|
tableiolatency
Package tableiolatency holds the routines which manage table IO latency statistics.
|
Package tableiolatency holds the routines which manage table IO latency statistics. |
|
tableioops
Package tableioops holds the routines which manage table I/O operations statistics.
|
Package tableioops holds the routines which manage table I/O operations statistics. |
|
tablelocklatency
Package tablelocklatency holds the routines which manage the file_summary_by_instance table.
|
Package tablelocklatency holds the routines which manage the file_summary_by_instance table. |
|
userlatency
Package userlatency holds the routines which manage the user latency information.
|
Package userlatency holds the routines which manage the user latency information. |
|
Package pstable contains the library routines for managing a generic performance_schema table via an interface definition.
|
Package pstable contains the library routines for managing a generic performance_schema table via an interface definition. |
|
Package rc provides routines to read ~/.pstoprc ps-top / ps-stats configuration - and to munge some table names based on the [munge] section (if present)
|
Package rc provides routines to read ~/.pstoprc ps-top / ps-stats configuration - and to munge some table names based on the [munge] section (if present) |
|
Package setupinstruments manages the configuration of performance_schema.setupinstruments.
|
Package setupinstruments manages the configuration of performance_schema.setupinstruments. |
|
test
|
|
|
integration/load/loadgen
command
loadgen is a sysbench-alternative load generator using go-sql-driver/mysql, which supports caching_sha2_password natively.
|
loadgen is a sysbench-alternative load generator using go-sql-driver/mysql, which supports caching_sha2_password natively. |
|
Package utils includes several library routines for ps-top
|
Package utils includes several library routines for ps-top |
|
Package wait manages waits between data collections from MySQL.
|
Package wait manages waits between data collections from MySQL. |
Click to show internal directories.
Click to hide internal directories.