mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Add system.replicas dum to utils/report/clickhouse_report.sh
This commit is contained in:
parent
fb7047bfe8
commit
eb677a33e6
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -x
|
||||
# Usages:
|
||||
# ./clickhouse_report.sh > ch.`hostname`.`date '+%Y%M%''d%H%M%''S'`.dmp 2>&1
|
||||
# sh clickhouse_report.sh > ch.`hostname`.`date '+%Y%M%''d%H%M%''S'`.dmp 2>&1
|
||||
# curl https://raw.githubusercontent.com/yandex/ClickHouse/master/utils/report/clickhouse_report.sh | sh > ch.`hostname`.`date '+%Y%M%''d%H%M%''S'`.dmp 2>&1
|
||||
|
||||
clickhouse --client -q 'SELECT * FROM system.events FORMAT PrettyCompactNoEscapes'
|
||||
@ -11,6 +11,7 @@ clickhouse --client -q 'SELECT * FROM system.processes FORMAT PrettyCompactNoEsc
|
||||
clickhouse --client -q 'SELECT * FROM system.merges FORMAT PrettyCompactNoEscapes'
|
||||
clickhouse --client -q 'SELECT * FROM system.parts FORMAT PrettyCompactNoEscapes'
|
||||
clickhouse --client -q 'SELECT * FROM system.replication_queue FORMAT PrettyCompactNoEscapes'
|
||||
clickhouse --client -q 'SELECT * FROM system.replicas FORMAT PrettyCompactNoEscapes'
|
||||
clickhouse --client -q 'SELECT * FROM system.dictionaries FORMAT PrettyCompactNoEscapes'
|
||||
ps auxw
|
||||
df -h
|
||||
|
Loading…
Reference in New Issue
Block a user