Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
[diag-tool] also dump .units
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
  • Loading branch information
Denis Zalevskiy committed Apr 15, 2015
1 parent c6f8df8 commit 960f8d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/the-vault-storage-report.sh
Expand Up @@ -70,6 +70,13 @@ function status
sep "ls:$1:.modules"
ls -al .modules
find .modules -name '*.json' -exec echo "@cat:$1:{}@" \; -exec cat {} \; -exec echo \;
sep "ls:$1:.units"
ls -al .units
find .units -name '*.json' -exec echo "@cat:$1:{}@" \; -exec cat {} \; -exec echo \;
dir=/var/lib/the-vault
sep "ls:$1:$dir"
ls -al $dir
find $dir -name '*.json' -exec echo "@cat:$1:{}@" \; -exec cat {} \; -exec echo \;
}

sep version
Expand Down

0 comments on commit 960f8d8

Please sign in to comment.