<p>I am looking for a simple method to get the storage used and storage allocated for a persistent volume dynamically claimed by PVC for any pod. Is there any rest API or <code>oc</code> command for the same?</p>

<p>I am new to OpenShift/Kubernetes. As per my investigation, I could not find any such command. <code>oc adm top</code> command describes the usage statistics for nodes and pods only.</p>

Himanshu Jindal
<p>You can do: <code>oc rsh podname</code> to access pod command line and then: <code>du -c /path/to/pv</code> or <code>du -shc /path/to/pv</code>.</p>
