Skip to content

Commit

Permalink
doc: update 7z/ab document. (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhal committed Jun 13, 2023
1 parent 3414d5d commit 0b3986f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
11 changes: 8 additions & 3 deletions command/7z.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
7z
===
==

拥有极高压缩比的开源压缩软件。

Expand All @@ -11,6 +11,11 @@
# Ubuntu 系统
apt-get update
apt-get install p7zip-full -y

# CentOS 参考:https://linuxconfig.org/how-to-install-p7zip-on-redhat-8
sudo yum install epel-release
yum install p7zip p7zip-plugins

```

## 实例
Expand Down Expand Up @@ -111,5 +116,5 @@ apt-get install p7zip-full -y
## 官网
更多安装使用方法可以访问官网学习:<https://www.7-zip.org/>
或者可以访问简体中文网站:<https://sparanoid.com/lab/7z/>
更多安装使用方法可以访问官网学习:[https://www.7-zip.org/](https://www.7-zip.org/)
或者可以访问简体中文网站:[https://sparanoid.com/lab/7z/](https://sparanoid.com/lab/7z/)
22 changes: 21 additions & 1 deletion command/ab.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
ab
===
==

This comment has been minimized.

Copy link
@jaywcjlove

jaywcjlove Jun 15, 2023

Owner

== 错误语法应该是 ===


Apache服务器的性能测试工具


## 安装

若系统未安装,使用以下命令安装

```shell
# Ubuntu
sudo apt-get install apache2-utils

# Centos
yum install httpd-tools

```


## 补充说明

**ab命令** 是一个测试你 Apache http 服务器的工具,你可以通过这个工具,指定一个单位时间内向 apache 发出的请求数量来看看你的 Apache 和机器配合的性能如何。
Expand Down Expand Up @@ -119,4 +134,9 @@ name[:port]/path
主机:被测试主机。


### 实例

```shell
# 10个并发, 请求500次
ab -c 10 -n 500 https://www.qq.com/
```

0 comments on commit 0b3986f

Please sign in to comment.