## 大型Web项目可用性提升 零
脚本错误的实战
郭林烁 2017.10

## 郭林烁 (joeyguo) @ 腾讯 AlloyTeam
## 1
## 社区的相关提问
##### 微信(1004) -=TFC2017=-.. 6816c9039d4b/p3_4.jpg)
下午8:23
## 栋
不知道大家在代码上线以后,用什么来检测错误和性能的,是自己在代码里面实现还是用一些平台
@Alloyteam.郭林烁
脚本错误
想知道大家是怎么捕获异步函数的错误的
## 上午11:21


## 进行
脚本错误分析
## 6 / 错误信息分析
## 具体错误信息
| msg[0] | TypeError: e is not 0 码力 |
62 页 |
7.09 MB
| 2 年前 3 2013-2021 青木修
Debian 參考手冊(第 2.109 版)(2023-12-18 14:53:01 UTC) 旨在為運行 Debian 系統的用戶提供全面的指引。通過為非開發者編撰的 shell 指令例子來涵蓋系統管理的方方面面。
| TITLE:Debian 参考手册 | | |---|---|---|---|
|||||
## Contents
GNU/Linux 教學
1.1 控制臺基礎
1.1.1 shell 提示字元 (prompt)
1.1.2 GUI 下的 shell 提示符
1.1.3 root 帳號
1.1.4 root shell 提示字元
1.1.5 GUI 系統管理工具
1.1.6 虛擬控制檯
1.1.7 怎樣退出命令列提示字元
1 17
1.3.7 自動啟動 MC ..... 17
1.3.8 MC 中的虛擬檔案系統 ..... 18
1.4 類 Unix 工作環境基礎 ..... 18
1.4.1 登入 shell ..... 18
1.4.2 定製 bash ..... 18
1.4.3 特殊按键 ..... 19
1.4.4 滑鼠操作 ..... 20
1.4.5 文件內容查看 .... 0 码力 |
260 页 |
1.41 MB
| 2 年前 3 suspend|待机。|
|systemctl hibernate|休眠。|
|/var/log/|所有日志文件在这个目录下。|
|/etc/default/|许多守护进程和服务的默认值。|
重要的 Shell 命令
|cat files|将文件打印到屏幕。|
|---|---|
|cd directory|改变目录。|
|cp files dest|复制文件和目录。|
|echo string|显示字符串到屏幕。| 用 z,.bz2 用 j,.xz 用 J。|
|find directories expressions|查找文件,比如 -name name 或者 -size +1000,等等。|
重要的 Shell 命令
|grep search-string files|在文件中查找所指定的字符串。|
|---|---|
|ln -s file link|创建到一个文件的软链接。|
|ps \[options]|显示当前进程。| 0 码力 |
2 页 |
92.97 KB
| 2 年前 3 Monitoring and management using a remote shell
Connecting to the remote shell
Remote shell credentials
Extending the remote shell
Remote shell commands
Remote shell plugins
50. Metrics
System metrics with multiple source files
Packaging your application
Initialize a new project
Using the embedded shell
Adding extensions to the CLI
60. Developing application with the Groovy beans DSL
61. Configuring script (also named spring) in any shell, or put it in your personal or system-wide bash completion initialization. On a Debian system the system-wide scripts are in /shell-completion/bash and all scripts 0 码力 |
559 页 |
500.18 KB
| 1 年前 3 各个文件或目录介绍如下:
- bin:这个目录下包含了启动 Cassandra 以及客户端相关操作的可执行文件,包括 query language shell(cqlsh)以及命令行界面(CLI)等客户端。同时还包含运行 nodetool 的相关脚本,操作 SSTables 的工具等等。
• conf:这个目录下面包含了Cassandra
的配置文件。必须包含的配置文件包括:asstandra 如果我们看到上面的信息,那么我们的测试服务已经正常启动了。而且会在 apache-cassandra-3.11.4 目录下生成 data 和 logs 两个目录。
## 使用 CQL Shell
上面我们已经启动了 Cassandra 服务,我们可以使用 CQL Shell
来进行一些操作。从名字就可以看出,CQL(Cassandra Query Language)其实和我们熟悉的
SQL 很类似,我们可以通过它使用类似
cqlsh 支持很多操作 Cassandra 的基本命令,我们可以在 cqlsh 里面使用 HELP 或 ? 命令查看所有支持的命令:
cqlsh> HELP
Documented shell commands:
CAPTURE CLS COPY DESCRIBE EXPAND LOGIN SERIAL SOURCE UNICODE CLEAR CONSISTENCY DESC EXIT 0 码力 |
11 页 |
0 Bytes
| 2 年前 3 0 码力 |
24 页 |
696.06 KB
| 1 年前 3 0 码力 |
376 页 |
1.51 MB
| 2 年前 3 installation and updating process for a wide range of MySQL products, including MySQL Workbench and MySQL Shell.
For notes detailing the changes in each release of MySQL Installer, see MySQL Installer Release installation and updating process for a wide range of MySQL products, including MySQL Workbench and MySQL Shell.
Licensing information. This product may include third-party software, used under license. If you archive distribution to install one of the releases.
## • MySQL Applications
MySQL Workbench, MySQL Shell, and MySQL Router.
• MySQL Connectors (up to MySQL 8.0.33)
MySQL Connector/NET, MySQL Connector/Python 0 码力 |
42 页 |
448.90 KB
| 2 年前 3
|