From 8e91f25dc86f49e1a1ec60fb26f4be5da931e8a1 Mon Sep 17 00:00:00 2001 From: sathish-px Date: Mon, 8 Jun 2026 13:32:26 +0530 Subject: [PATCH] Adding KVDB keys count stats report Adding KVDB keys count stats report --- px_kvdb_bundle/px_kvdb_gather.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/px_kvdb_bundle/px_kvdb_gather.sh b/px_kvdb_bundle/px_kvdb_gather.sh index 8d98dd6..b3cd853 100644 --- a/px_kvdb_bundle/px_kvdb_gather.sh +++ b/px_kvdb_bundle/px_kvdb_gather.sh @@ -156,4 +156,11 @@ echo "[INFO] Creating tar.gz archive at ${ARCHIVE} ..." tar -C /tmp -czf "${ARCHIVE}" "$(basename "${OUTPUT_DIR}")" echo "[INFO] Completed. Bundle directory: ${OUTPUT_DIR}" + +echo +echo "*******Summary of Keys*********" +awk -F'/' '{print $1"/"$2"/"$3"/"$4}' ${OUTPUT_DIR}/etcdctl_get_pwx_keys_only.txt | sort | uniq -c +echo "*******************************" + + echo "[INFO] Archive created: ${ARCHIVE}"