用lsof查看进程打开的文件情况
来源:互联网 发布:js test函数 编辑:程序博客网 时间:2024/05/04 07:36
lsof语法格式是:
lsof [options] filename
lsof abc.txt 显示开启文件abc.txt的进程lsof -c abc 显示abc进程现在打开的文件lsof -c -p 1234 列出进程号为1234的进程所打开的文件lsof -g gid 显示归属gid的进程情况lsof +d /usr/local/ 显示目录下被进程开启的文件lsof +D /usr/local/ 同上,但是会搜索目录下的目录,时间较长lsof -d 4 显示使用fd为4的进程lsof -i 用以显示符合条件的进程情况lsof -i[46] [protocol][@hostname|hostaddr][:service|port] 46 --> IPv4 or IPv6 protocol --> TCP or UDP hostname --> Internet host name hostaddr --> IPv4地址 service --> /etc/service中的 service name (可以不止一个) port --> 端口号 (可以不止一个)
1 0
- 用lsof查看进程打开的文件情况
- lsof-查看进程打开的文件
- Linux lsof 命令查看进程打开的文件
- lsof命令:查看Liunx进程所打开的文件命令
- 【Linux】lsof查看被打开的文件
- Linux查看进程打开多少文件描述符命令-lsof
- Linux查看进程打开多少文件描述符命令-lsof
- Linux lsof命令:查看进程打开哪些文件、查看文件被哪些进程打开
- linux lsof 命令参数详解(查看进程打开的文件)
- lsof 查看打开文件状态
- linux命令 — lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- linux命令 — lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- lsof 查看进程打开那些文件 或者 查看文件给那个进程使用
- lsof 的查看打开的文件--list open files
- linux查看打开文件的命令–lsof
- 每天一条linux--lsof命令,查看正在打开的文件
- 如何使用dos命令解压文件?
- 2015.10.14 xss安全问题
- 惠普测试需求管理解决方案(惠普应用生命管理周期(ALM))实训任务1
- php的整数类型及转换
- Leetcode96: Spiral Matrix
- 用lsof查看进程打开的文件情况
- escape()、encodeURI()、encodeURIComponent()区别详解
- POJ 1625 Censored! (AC自动机+DP+大数加法)
- 利用JNotify和EHCache实现静态文件缓存
- HDU2029 Palindromes _easy version
- Alena's Schedule(模拟)
- Sql Server 分页查询
- background-position 用法详细介绍
- 【Python】Learn Python the hard way, ex39 字典操作