133 reputation
5
bio website
location
age
visits member for 3 years, 6 months
seen Dec 10 at 5:03

Oct
9
comment What's the best way to automate backing-up of PostgreSQL databases?
Great script, but I found I needed to tweak the regex such that it didn't include pipes and blank lines as database names. DBS=$($PSQL -l -t | egrep -v 'template[01]' | awk '{print $1}' | egrep -v '^\|' | egrep -v '^$')
Jan
31
comment Prioritise ssh logins (nice)
I'll look into cgroups. Re limits.conf, I guess that would only come into effect once sshd has accepted the connection and launched a shell process under my username. I wonder if I should also edit /etc/init/ssh.conf (upstart) and add a nice -15 to sshd to prioritise the actual sshd daemon?