![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
map612
这个作者很懒,什么都没留下…
展开
-
linux中用于查看文件内容的命令
常用的是cat、more和less。 1. 如果你只想看文件的前10行,可以使用head命令,如: head -10 /etc/*.log 2. 如果你想查看文件的后10行,可以使用tail命令,如: tail -10 /etc/*.log或 tail -n 10转载 2011-10-13 13:30:59 · 5346 阅读 · 0 评论 -
linux free命令
在Linux下查看内存我们一般用command free [root@nonamelinux ~]# free total used free shared buffers cached Mem: 386024 377116 8908 0 21280 155468 -/+ buffers/cache: 200368 185656 Swap: 393552 0 393552 下面是对这些转载 2011-10-28 10:46:28 · 392 阅读 · 0 评论 -
linux top命令
top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Windows的任务管理器。下面详细介绍它的使用方法。 统计信息区 前五行是系统整体的统计信息。第一行是任务队列信息,同 uptime 命令的执行结果。其内容如下: 10:55:03 当前时间 up 131 days, 23:14 系统运行时间,格式为时:分 2 user 当前登录用户数 l转载 2011-10-28 11:03:56 · 415 阅读 · 0 评论