Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知世而放
oceanbase
提交
86697041
O
oceanbase
项目概览
知世而放
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
86697041
编写于
9月 24, 2021
作者:
L
LINxiansheng
提交者:
wangzelin.wzl
9月 24, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update dooba.py
上级
4a8dd80a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
118 deletion
+8
-118
tools/scripts/dooba.py
tools/scripts/dooba.py
+8
-118
未找到文件。
tools/scripts/dooba.py
浏览文件 @
86697041
...
...
@@ -8,131 +8,21 @@
# oceanbase admins. It's based on python curses library, and is a
# powerful tool for watching oceanbase cluster status with
# straightfoward vision.
# Author: 符风 <fufeng.syd@alipay.com>
# Created: 2013-07-23 21:05:08 (+0800)
# Version: 2.1.2
# Last-Updated: 2015-10-27T13:49:36+0800
# By: Shi Yudi
# Update #: 6933
#
# Change Log:
# 2014-05-14 Shi Yudi
# Last-Updated: 2014-05-14T16:15:26+0800 #6913 (Shi Yudi)
# 1. skip to select cluster if only one cluster
#
# 2014-04-24 Shi Yudi
# Last-Updated: 2014-04-24T18:57:09+0800 #6515 (Shi Yudi)
# 1. support ob 0.5 updateserver columns
#
# 2014-04-22 Shi Yudi
# Last-Updated: 2014-04-22T19:57:35+0800 #6288 (Shi Yudi)
# 1. add column filter for ups,ms,cs page
#
# 2014-04-01 Shi Yudi
# Last-Updated: 2014-04-01T13:41:45+0800 #5844 (Shi Yudi)
# 1. fix oceanbase 0.5 gather stats mixed by all cluster
#
# 2014-02-27 Yudi Shi
# Last-Updated: Thu Feb 27 20:01:13 2014 (+0800) #5777 (Yudi Shi)
# 1. add fail sql exec count in gallery page
#
# 2013-12-31 Shi Yudi
# Last-Updated: Tue Dec 31 13:10:39 2013 (+0800) #5770 (Shi Yudi)
# 1. add error msg if geometry is not enough
# 2. fix some msg output
#
# 2013-12-11 Shi Yudi
# Last-Updated: Wed Dec 11 14:51:43 2013 (+0800) #5745 (Shi Yudi)
# 1. fix password decrypt bug (fill 8 width encoding str)
#
# 2013-10-25 Shi Yudi
# Last-Updated: Tue Dec 3 16:01:23 2013 (+0800) #5739 (Shi Yudi)
# 1. add time to widget frame
#
# 2013-10-25 Shi Yudi
# Last-Updated: 2013-10-25 20:28:17 (+0800) #5647 (Shi Yudi)
# 1. add http api support
# 2. add obssh to login server
# 3. using obconfig password
#
# 2013-09-04 Shi Yudi
# Last-Updated: 2013-09-04 10:52:02 (+0800) #4786 (Shi Yudi)
# 1. add machine stat
# 2. fix many bugs
# 3. add ssh, mysql login
# 4. add delete and restore widgets
#
# 2013-08-20 Shi Yudi
# Last-Updated: 2013-08-20 15:29:45 (+0800) #2012 (Shi Yudi)
# 1. support instant statistics monitor for ups/cs/ms
# 2. keyboard response for switch between widget
# 3. rewrite help page
#
# 2013-08-16 Shi Yudi
# Last-Updated: 2013-08-16 16:07:32 (+0800) #1052 (Shi Yudi)
# 1. add header column widget descripe each server
# 2. add instant stat list (only for ms now)
# 3. add mergeserver header info
#
# 2013-08-14 Shi Yudi
# Last-Updated: 2013-08-14 16:11:40 (+0800) #576 (Shi Yudi)
# 1. add MessageBox for dooba, key 'p' for test
# 2. add selective mode, TAB for swtich between widgets
# 3. add supermode option, just a husk right now
#
# 2013-08-07 Shi Yudi
# Last-Updated: 2013-08-07 10:38:33 (+0800) #479 (Shi Yudi)
# 1. fix term evironment setting bug
# 2. fix getting appname bug
# 3. refact main method
#
# 2013-08-06 Shi Yudi
# Last-Updated: 2013-08-06 20:47:35 (+0800) #443 (Shi Yudi)
# 1. oceanbase alive checker before running
# 2. colorfull widgets
# 3. fix some promptions
# 4. change header widget and status widget style with horizontal line
# 5. remove page border
#
# 2013-08-06 Shi Yudi
# Last-Updated: 2013-08-06 16:46:39 (+0800) #347 (Shi Yudi)
# 1. add chunkserver, mergeserver, updateserver info widgets
# 2. fix non-lexical closures problem
# 3. dynamic helper widget promption
# 4. change some pages' index
#
# 2013-07-31 Shi Yudi
# Last-Updated: 2013-07-31 19:11:19 (+0800) #14 (Shi Yudi)
# 1. redesign helper bar and status bar
# 2. add more pages for dooba
# 3. beauty python coding style
#
# 2013-07-23 Shi Yudi
# 1. header with app name, and other mocks.
# 2. sql rt, sql count, cs rt, ups rt are added to screen.
#
#
#2015-03-26 Qu jinnan
# 1. add group list
# 2. add searching bar
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU
General Public License as
# published by the Free Software Foundation; either version 3, or
# modify it under the terms of the GNU
Lesser General Public License
#
as
published by the Free Software Foundation; either version 3, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301, USA.
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; see the file COPYING. If not, see
# <http://www.gnu.org/licenses/>.
#
# Code:
...
...
@@ -210,8 +100,8 @@ class Global:
class
Options
(
object
):
host
=
'127.0.0.1'
port
=
28
28
user
=
None
port
=
28
81
user
=
root
password
=
""
database
=
"oceanbase"
supermode
=
False
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录