I hereby claim:
- I am ogny on github.
- I am ogny (https://keybase.io/ogny) on keybase.
- I have a public key whose fingerprint is 78F0 E836 DE19 9CC7 0727 D076 05C4 0038 1D68 DCAD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# /etc/rc.d/init.d/supervisord | |
# | |
# Supervisor is a client/server system that | |
# allows its users to monitor and control a | |
# number of processes on UNIX-like operating | |
# systems. | |
# | |
# chkconfig: - 64 36 |
SELECT | |
schema_name, | |
relname, | |
pg_size_pretty(table_size) AS size, | |
table_size | |
FROM ( | |
SELECT | |
pg_catalog.pg_namespace.nspname AS schema_name, | |
relname, |
# Bulk deletes keys start with "prefix" | |
EVAL "for i, name in ipairs(redis.call('KEYS', 'prefix*')) do redis.call('DEL', name); end" 0 | |
# Bulk renames keys start with "prefix" to "postfix". | |
# e.g. prefixwithtail -> postfixwithtail | |
EVAL "for i, name in ipairs(redis.call('KEYS', 'prefix*')) do local x = string.gsub(name, 'pre', 'post'); redis.call('RENAME', name, x); end" 0 |
1. Stop Apache | |
sudo /etc/init.d/apache2 stop | |
2. Stop Carbon | |
sudo su www-data | |
cd /opt/graphite/ | |
./bin/carbon-cache.py stop | |
3. Move whisper directory to new location |
53efce2fac05667a03e9d37fc27b56be |