Linux命令
明教教主张无忌
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux下使用 du查看某个文件或目录占用磁盘空间的大小
du命令用来查看目录或文件所占用磁盘空间的大小。常用选项组合为:du -sh 查看当前文件夹的大小一、du的功能:`du` reports the amount of disk space used by the specified files and for each subdirectory (of directory arguments). withno argum原创 2017-03-21 19:54:09 · 46423 阅读 · 0 评论 -
Linux 两台机器 传递文件
将文件从一台机器复制到另一台上: scp -r ./demo/ 10.10.###.###:/opt/demo/ 表示将本机上demo目录下的文件复制到10.10.###.###机器上的/opt/demo目录下原创 2017-03-27 14:27:51 · 333 阅读 · 0 评论 -
Linux下查看一个应用的多少线程数量
1.根据进程号进行查询: pstree -p 进程号 top -Hp 进程号2.根据进程名字进行查询: pstree -p ps -e | grep server | awk '{print $1}' pstree -p ps -e | grep server | awk '{print $1}' | wc -l原创 2017-05-22 10:00:46 · 1682 阅读 · 0 评论
分享