Skip to main content

mysqltop

Package version downloads
Supported Python versions GitHub

简体中文 | English

介绍

这个工具是 docker 官方命令行工具的补充版本,可以人类友好的方式输出容器信息,增加可读性

⭐️ 🌟 ✨ ⚡️ ☄️ 💥

安装

软件包已经上传到 PyPI: mysqltop

可以直接使用 pip 安装:

pip install mysqltop

依赖

  • Python : 3.8 及以上

文档

📄 暂无

示例

查看容器运行状态

可以在终端输入: mysqltop shell -h 192.168.31.245 -uroot -p123456

输出如下:

Connecting to host: 192.168.31.245, user: root, port: 3306
+--------+-----------------+----------------------+--------+--------+-------+------------------------+------------------+
| 连接ID |      用户       |         主机         | 数据库 |  命令  | 时间  |          状态          |       信息       |
+--------+-----------------+----------------------+--------+--------+-------+------------------------+------------------+
|   5    | event_scheduler |      localhost       |        | Daemon | 16047 | Waiting on empty queue |                  |
|   10   |      root       | 192.168.31.245:40022 |        | Sleep  | 3948  |                        |                  |
|   73   |      root       | 192.168.31.245:57088 |        | Query  |   0   |          init          | SHOW PROCESSLIST |
+--------+-----------------+----------------------+--------+--------+-------+------------------------+------------------+

Metadata

Release files for mysqltop 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mysqltop 0.0.1
File Size Uploaded
mysqltop-0.0.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mysqltop 0.0.1
File Interpreter ABI Platform
mysqltop-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / mysqltop-0.0.1.tar.gz

Download URL mysqltop-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
306c270d9835b250c163bce98f921562622cb09e01f0beb00722df08d1ac3fc9
BLAKE2b-256 checksum
How to use checksums
2755f959b0fa0563726fee15d0c01a85331da5e402e61694e054e98ca459b5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release files / mysqltop-0.0.1-py3-none-any.whl

Download URL mysqltop-0.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44d48ab2d69be775182829528ff90bf5709ae9dad05013ed2de6c496f701c675
BLAKE2b-256 checksum
How to use checksums
f8d0e5e3c8dec72b24c79ba70dfa8a8862f51bf750d0252e9735db58f5191ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page