Skip to content

Instantly share code, notes, and snippets.

@tecmaverick
Last active February 19, 2023 03:04
Show Gist options
  • Save tecmaverick/fc16a0d18b03fb75c5d6bec8504a37c5 to your computer and use it in GitHub Desktop.
Save tecmaverick/fc16a0d18b03fb75c5d6bec8504a37c5 to your computer and use it in GitHub Desktop.
Process Utilities
# Change the process priority to the lowest -20 lowest and 20 is the highest. 0 is the default priority for all process
renice 20 -p $(pgrep "ProcessName")
# List all open files (Disk and Network) by a specific process
lsof | awk '{ if ($1=="ProcessName") { print}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment