banner
moeyy

moeyy

一条有远大理想的咸鱼。
github
mastodon
email

Memtester one-click script, can detect the real allocatable memory and overselling situation of VPS

Introduction#

Memtester is a small tool for detecting the real allocatable memory of a VPS, suitable for checking the overselling situation of VPS. The allocatable memory detected by this program refers to the maximum amount of memory that the user can occupy during use.

Usage#

Github Address: https://github.com/FunctionClub/Memtester

Run the command:

#CentOS/RHEL System
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 System
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

#Script Backup
https://www.moeyy.cn/usr/shell/memtester.cpp

The maximum memory usage at the time can be measured before the process is killed.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.