####Killing Sessions
ps aux | grep postgres
kill -9 process-number
-9 is dangerous, will force kill
####PG Restart
ps aux | grep postgres
#!/usr/bin/env bash | |
# Usage: pair [<github-user>] [-t <tmux-session>] | |
# | |
# Copy the command to clipboard which grants another person access to the tmux | |
# session on your machine. The resulting command is in format: | |
# | |
# ssh -t <USER>@<HOST> 'tmux attach -t <SESSION>' | |
# | |
# When given a GitHub username, it will adopt SSH keys from their GitHub | |
# account and add them to your `~/.ssh/authorized_keys`. |
####Killing Sessions
ps aux | grep postgres
kill -9 process-number
-9 is dangerous, will force kill
####PG Restart
ps aux | grep postgres