1 | public class DatabaseStatusTab extends BaseSQLTab↵ | | 1 | public class ProcessesTab extends BaseSQLTab↵
|
2 | {↵ | | 2 | {↵
|
3 | private static final StringManager s_stringMgr =↵ | | 3 | private static final StringManager s_stringMgr =↵
|
4 | StringManagerFactory.getStringManager(DatabaseStatusTab.class);↵ | | 4 | StringManagerFactory.getStringManager(ProcessesTab.class);↵
|
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * This interface defines locale specific strings. This should be↵ | | 6 | * This interface defines locale specific strings. This should be↵
|
7 | * replaced with a property file.↵ | | 7 | * replaced with a property file.↵
|
8 | */↵ | | 8 | */↵
|
9 | private interface i18n↵ | | 9 | private interface i18n↵
|
10 | {↵ | | 10 | {↵
|
11 | // i18n[mysql.status=MySQL Status]↵ | | 11 | // i18n[mysql.processes=MySQL Processes]↵
|
12 | String TITLE = s_stringMgr.getString("mysql.status");↵ | | 12 | String TITLE = s_stringMgr.getString("mysql.processes");↵
|
13 | // i18n[mysql.displayStatus=(MySQL) Display database status]↵ | | 13 | // i18n[mysql.displayProcesses=(MySQL) Display database processes]↵
|
14 | String HINT = s_stringMgr.getString("mysql.displayStatus");↵ | | 14 | String HINT = s_stringMgr.getString("mysql.displayProcesses");↵
|
15 | }↵ | | 15 | }↵
|
|
16 | /** Logger for this class. */↵ | | 16 | /** Logger for this class. */↵
|
17 | // private final static ILogger s_log =↵ | | 17 | // private final static ILogger s_log =↵
|
18 | // LoggerController.createLogger(DatabaseStatusTab.class);↵ | | 18 | // LoggerController.createLogger(ProcessesTab.class);↵
|
|
19 | public DatabaseStatusTab()↵ | | 19 | public ProcessesTab()↵
|
20 | {↵ | | 20 | {↵
|
21 | super(i18n.TITLE, i18n.HINT);↵ | | 21 | super(i18n.TITLE, i18n.HINT);↵
|
22 | }↵ | | 22 | }↵
|
|
23 | protected String getSQL()↵ | | 23 | protected String getSQL()↵
|
24 | {↵ | | 24 | {↵
|
25 | return "show status";↵ | | 25 | return "show full processlist";↵
|
26 | | | 26 |
|