提交 b01c2b8a 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

[msh] add available memory information for free cmd

上级 3f0934fe
......@@ -83,6 +83,7 @@ int cmd_free(int argc, char **argv)
rt_kprintf("total : %d\n", total);
rt_kprintf("used : %d\n", used);
rt_kprintf("maximum : %d\n", max_used);
rt_kprintf("available: %d\n", total - used);
#endif
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册