Skip to content

Instantly share code, notes, and snippets.

@Irvyne
Last active April 18, 2017 19:29
Show Gist options
  • Save Irvyne/ea827799dfd32a3fcf330a377e2ffe55 to your computer and use it in GitHub Desktop.
Save Irvyne/ea827799dfd32a3fcf330a377e2ffe55 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
printf "worker_processes %s\n" "$(grep processor /proc/cpuinfo | wc -l)"
printf "worker_connections %s\n" "$(ulimit -n)"
printf ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment