最近干完活的时候,会去看测试服上别人用的一些linux命令,还是有收获的,主要是用 history | less查看别人使用的历史命令
一、内存相关
1、df命令 —用于显示目前在 Linux 系统上的文件系统磁盘使用情况统计
(这个是一篇找到最全的文章)
https://blog.csdn.net/gnail_oug/article/details/70217446
2、磁盘分区以及Linux目录挂载详解(因为看到了上面命令的分区和磁盘挂载的知识,所以这两篇文章也分享一下)
https://blog.csdn.net/a1766855068/article/details/84942745?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control
二、du命令 —查看目录和文件大小
https://www.jianshu.com/p/e6c82e44d5ed
三、free —显示当前系统未使用的和已使用的内存数目,还可以显示被内核使用的内存缓冲区
https://www.cnblogs.com/tjudzj/p/10100088.html