View Single Post
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#96
Here's a script I'm using for Rootfs usage info. Hope someone finds it useful.

Title: Rootfs Usage:

Code:
df -h | grep ubi0 | awk '{print $5,"used",",",$4"B","free"}'
example output:

Rootfs Usage: 82% used , 40.9MB free
 

The Following 7 Users Say Thank You to jakiman For This Useful Post: