简介
Memtester
是一个检测VPS
真实可分配内存的小工具,适用于检测VPS
超售情况。本程序检测的可分配内存指的是用户使用时最大能占用的内存量。
使用
Github地址:https://github.com/FunctionClub/Memtester
运行命令:
#CentOS/RHEL系统
yum install wget -y
yum groupinstall "Development Tools" -y
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
#Ubuntu/Debian系统
apt-get update
apt-get install wget build-essential -y
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
#脚本备份
https://toot.su/drive/pic/memtester.cpp
在进程被杀死前可以测出当时最大的内存占用。
未经允许不得转载:嘟嘟 » Memtester一键脚本,可检测VPS真实可分配内存及超售情况
最新评论
请问下,python3 tg_username_update.py都会提示下面这个是因为什么啊 Traceback (most recent call last): File "tg_username_update.py", line 21, in <module> cake = emojize(":cake:", use_aliases=True) TypeError: emojize() got an unexpected keyword argument 'use_aliases'
不可以了
# Install [Debian] [bullseye] [amd64] Downloading... grep: (standard input): binary file matches Error! grub.cfg. root@RRR2:~#
博主你好,请问cloudfront 上传收费这个是事实吧,已经找了几个贴子确认了。 那有什么好办法能够避开这个收费呢?如果不能避开感觉还是cloudflare 比较稳。
来看看
第5步添加自定义主机名进去后等txt验证提示custom hostname does not name to this zone
那没事了,我静态博客。谢谢
为什么缓存键和源请求那里不设置缓存?