Skip to content

Instantly share code, notes, and snippets.

@jpsilvashy
Created October 27, 2009 19:33
Show Gist options
  • Save jpsilvashy/219875 to your computer and use it in GitHub Desktop.
Save jpsilvashy/219875 to your computer and use it in GitHub Desktop.
# really make sure searchd has been killed before rebuilding search index
# replace `searchd` with the process name you want to kill
ps ux | awk '/searchd/ && !/awk/ Kill {print $2}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment