Created
August 31, 2020 20:30
-
-
Save vi7/b39f878f966a63f91270144e087a43e0 to your computer and use it in GitHub Desktop.
Show Asus router NVRAM top usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env sh | |
# Try this one-liner to print the top 20 nvram variables by size (courtesy of ryzhov-al :) ) | |
nvram show | awk '{print length(), $0 | "sort -n -r"}' | cut -d"=" -f 1 | head -n 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment