lsof Linux安装

yum install lsof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[root@aliatry ~]# yum install lsof
Loaded plugins: fastestmirror
Determining fastest mirrors
base | 3.6 kB 00:00:00
epel | 5.3 kB 00:00:00
extras | 2.9 kB 00:00:00
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql57-community | 2.5 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/9): base/7/x86_64/group_gz | 165 kB 00:00:00
(2/9): extras/7/x86_64/primary_db | 152 kB 00:00:00
(3/9): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(4/9): base/7/x86_64/primary_db | 6.0 MB 00:00:00
(5/9): updates/7/x86_64/primary_db | 1.9 MB 00:00:00
(6/9): mysql-connectors-community/x86_64/primary_db | 48 kB 00:00:00
(7/9): epel/x86_64/primary_db | 6.9 MB 00:00:00
(8/9): mysql-tools-community/x86_64/primary_db | 66 kB 00:00:00
(9/9): mysql57-community/x86_64/primary_db | 190 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package lsof.x86_64 0:4.87-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================
Installing:
lsof x86_64 4.87-6.el7 base 331 k

Transaction Summary
=========================================================================================================================================================================
Install 1 Package

Total download size: 331 k
Installed size: 927 k
Is this ok [y/d/N]: y
Downloading packages:
lsof-4.87-6.el7.x86_64.rpm | 331 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lsof-4.87-6.el7.x86_64 1/1
Verifying : lsof-4.87-6.el7.x86_64 1/1

Installed:
lsof.x86_64 0:4.87-6.el7

Complete!