Skip to content

Instantly share code, notes, and snippets.

@mkell43
mkell43 / mem-per-proc.sh
Created Jun 9, 2018
Memory Per Process Oneliner
View mem-per-proc.sh
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
View keybase.md

Keybase proof

I hereby claim:

  • I am mkell43 on github.
  • I am mkell43 (https://keybase.io/mkell43) on keybase.
  • I have a public key ASAvunSALn-xvFDJwo48KzxkPUZwosdtg2a8lcL_sjJshwo

To claim this, I am signing this object:

@mkell43
mkell43 / set-oc.sh
Created Dec 26, 2017
Set overclock for AMD cards on Linux
View set-oc.sh
#!/bin/bash
for c in $(ls -l /sys/class/drm/card*/device/pp_sclk_od | awk '{print $9}'); do
echo "7" > $c;
done
You can’t perform that action at this time.