mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Added watchparts.sh for the unlikely case anyone else needs it. [#METR-2807]
This commit is contained in:
parent
0ff7667654
commit
02f0ecf886
5
dbms/src/Storages/tests/watchparts.sh
Executable file
5
dbms/src/Storages/tests/watchparts.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Принимает аргументом директорию с кусками. Постоянно показывает список активных кусков и количество всех кусков.
|
||||
|
||||
watch "ls $1 | grep -Pc '^[0-9]{8}_[0-9]{8}_'; ls $1 | active_parts.py | grep -Pc '^[0-9]{8}_[0-9]{8}_'; ls $1 | active_parts.py"
|
Loading…
Reference in New Issue
Block a user