Created
July 8, 2024 01:58
-
-
Save fzn0x/2b28da4bab00e41be7482dcb4e6df3a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://gist.githubusercontent.com/ammarfaizi2/f55dbb7c918a660776c68c50319c7882/raw/1dd37e1fb96054b31f345381273e8a1702215002/ct.c; | |
gcc -O2 ct.c -o ct -lpthread; | |
./ct $(nproc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terminal yang kedua jalankan command:
vmstat -w 1
Pastikan install gcc dan vmstat, kalau di Ubuntu:
sudo apt install gcc vmstat -y
Untuk cek berapa persen stealing, cek bagian kolom "st" di vmstat.