Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4b9b661

Browse files
authored
更新更多内容
1 parent 9daabd0 commit 4b9b661

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@
2828
Centos:yum -y install virt-what
2929
3030
* 输入virt-what等待输出 输出内容通常为:kvm/openvz/xen/Hyper-v/... 代表意义请自行Google / Baidu / Bing
31+
32+
* 简单查看内存(包含Mem 与 Swap)
33+
34+
free -h
35+
36+
* 等待输出 通常为以下格式
37+
38+
total(总量) used(已占用)free(空闲) shared buff/cache available
39+
Mem: 1G 0M 1G 0K 0M 0M
40+
Swap: 2G 0M 2G
41+
42+
* 简单查看硬盘
43+
44+
df -h
45+
46+
* 等待输出
47+
48+
* 硬盘与实际大小不符时可运行(参考:https://mengniuge.com/vps-resize2fs.html)
49+
50+
resize2fs /dev/vda1 /dev/vda1替换为你要修正的硬盘
51+
3152

3253
--------------
3354

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /