- Used memory
awk '/^size/ { print $1 " " $3 / 1048576 }' < /proc/spl/kstat/zfs/arcstats
- Repo setup (20.X)
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
- Package install
apt install -y nodejs
- Display PPS
cat /sys/class/net/vmbr0/statistics/tx_packets
- Repo setup
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php apt update
- Package install
apt install -y php8.1 php8.1-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip}