리눅스 lsof 설치

리눅스 lsof 설치

1 확인[편집]

[root@localhost ~]# rpm -qa lsof
[root@localhost ~]# lsof
-bash: lsof: command not found

2 방법[편집]

[root@localhost ~]# yum install lsof
... (생략)
======================================================================================================
 Package              Arch                   Version                       Repository            Size
======================================================================================================
Installing:
 lsof                 x86_64                 4.82-4.el6                    base                 319 k

Transaction Summary
======================================================================================================
Install       1 Package(s)

Total download size: 319 k
Installed size: 890 k
Is this ok [y/N]: y
... (생략)
Installed:
  lsof.x86_64 0:4.82-4.el6                                                                            

Complete!

3 확인 2[편집]

[root@localhost ~]# rpm -qa lsof
lsof-4.82-4.el6.x86_64
[root@localhost ~]# lsof
... (생략)
lsof      11170    root  mem       REG              253,0   154464    2490375 /lib64/ld-2.12.so
lsof      11170    root    4r     FIFO                0,8      0t0      49680 pipe
lsof      11170    root    7w     FIFO                0,8      0t0      49681 pipe

4 같이 보기[편집]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}