Skip to content

Instantly share code, notes, and snippets.

@fzn0x
Created July 8, 2024 01:58
Show Gist options
  • Save fzn0x/2b28da4bab00e41be7482dcb4e6df3a2 to your computer and use it in GitHub Desktop.
Save fzn0x/2b28da4bab00e41be7482dcb4e6df3a2 to your computer and use it in GitHub Desktop.
wget https://gist.githubusercontent.com/ammarfaizi2/f55dbb7c918a660776c68c50319c7882/raw/1dd37e1fb96054b31f345381273e8a1702215002/ct.c;
gcc -O2 ct.c -o ct -lpthread;
./ct $(nproc);
@fzn0x
Copy link
Author

fzn0x commented Jul 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment