[PATCH v3 6/7] cmd: Move meminfo command into its own file