dotfiles: leviathan: arch-openbox-20231010
This commit is contained in:
10
.local/bin/gibram
Executable file
10
.local/bin/gibram
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'Before:'
|
||||
free -h
|
||||
sleep 1s
|
||||
sync && echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared'
|
||||
sleep 1s
|
||||
echo 'After:'
|
||||
free -h
|
||||
exit 0
|
Reference in New Issue
Block a user