- vmstat
vmstat 1 3 #每隔一秒刷新3次
- lsof
lsof | more #process->file
lsof | /sbin/init #file->process
lsof -c httpd #httpd process ->file
lsof -u root #user root -> file
vmstat 1 3 #每隔一秒刷新3次
lsof | more #process->file
lsof | /sbin/init #file->process
lsof -c httpd #httpd process ->file
lsof -u root #user root -> file