Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
Last active July 25, 2017 15:44
Show Gist options
  • Select an option

  • Save rhoconlinux/19e7f3459c2f366eb7649966e958efd1 to your computer and use it in GitHub Desktop.

Select an option

Save rhoconlinux/19e7f3459c2f366eb7649966e958efd1 to your computer and use it in GitHub Desktop.
dropbox limitado
#!/bin/bash
ionice -c 2 -n 1 dropbox start -i
cpulimit -b -e dropbox -l 3
for j in `ps aux | grep -i dropbox | awk {'print $2'}`; do cpulimit -l 3 -p $j & done &
#paste in /usr/local/bin/ion-dropbox
#ionice -c 2 -n 7 /System/Applications/komorebi
#cpulimit -b -e /System/Applications/komorebi -l 1
#for j in `ps aux | grep -i /System/Applications/komorebi | awk {'print $2'}`; do cpulimit -l 1 -p $j & done &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment