第二十六天

1.ip地址分类:

A:0-127
B:128-191
C:192-223
D:224-239
E:240-255

2.dig命令使用

dig的包名bind-utils

dig +short www.baidu.com    查看域名的A记录和IP地址

dig www.baidu.com  查看完整的dns记录

dig @8.8.8.8 www.baidu.com  指定dns查询





具体演示


[root@web1 ~]# yum -y install bind-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15 will be installed
--> Processing Dependency: bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.15 for package: 32:bind-utils-9.11.4-26.P2.el7_9.15.x86_64
--> Processing Dependency: liblwres.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7_9.15.x86_64
--> Processing Dependency: libbind9.so.160()(64bit) for package: 32:bind-utils-9.11.4-26.P2.el7_9.15.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================
 Package                Arch               Version                               Repository           Size
===========================================================================================================
Installing:
 bind-utils             x86_64             32:9.11.4-26.P2.el7_9.15              updates             262 k
Installing for dependencies:
 bind-libs              x86_64             32:9.11.4-26.P2.el7_9.15              updates             158 k

Transaction Summary
===========================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 420 k
Installed size: 769 k
Downloading packages:
(1/2): bind-libs-9.11.4-26.P2.el7_9.15.x86_64.rpm                                   | 158 kB  00:00:00     
(2/2): bind-utils-9.11.4-26.P2.el7_9.15.x86_64.rpm                                  | 262 kB  00:00:01     
-----------------------------------------------------------------------------------------------------------
Total                                                                      234 kB/s | 420 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 32:bind-libs-9.11.4-26.P2.el7_9.15.x86_64                                               1/2 
  Installing : 32:bind-utils-9.11.4-26.P2.el7_9.15.x86_64                                              2/2 
  Verifying  : 32:bind-utils-9.11.4-26.P2.el7_9.15.x86_64                                              1/2 
  Verifying  : 32:bind-libs-9.11.4-26.P2.el7_9.15.x86_64                                               2/2 

Installed:
  bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15                                                               

Dependency Installed:
  bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15                                                                

Complete!
[root@web1 ~]# rpm -qf dig
error: file /root/dig: No such file or directory
[root@web1 ~]# which dig
/usr/bin/dig
[root@web1 ~]# rpm -qf `which dig`
bind-utils-9.11.4-26.P2.el7_9.15.x86_64
[root@web1 ~]# dig www.baidu.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.15 <<>> www.baidu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28897
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.baidu.com.			IN	A

;; ANSWER SECTION:
www.baidu.com.		755	IN	CNAME	www.a.shifen.com.
www.a.shifen.com.	42	IN	A	180.101.50.188
www.a.shifen.com.	42	IN	A	180.101.50.242

;; Query time: 152 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Mar 19 14:07:52 CST 2024
;; MSG SIZE  rcvd: 101






[root@web1 ~]# dig www.baidu.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.15 <<>> www.baidu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 909
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.baidu.com.			IN	A

;; ANSWER SECTION:
www.baidu.com.		405	IN	CNAME	www.a.shifen.com.
www.a.shifen.com.	52	IN	A	180.101.50.188
www.a.shifen.com.	52	IN	A	180.101.50.242

;; Query time: 152 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Mar 19 15:32:48 CST 2024
;; MSG SIZE  rcvd: 101

[root@web1 ~]# dig +short www.baidu.com
www.a.shifen.com.
180.101.50.188
180.101.50.242
[root@web1 ~]# dig @114.114.114.114 www.baidu.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.15 <<>> @114.114.114.114 www.baidu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34054
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.baidu.com.			IN	A

;; ANSWER SECTION:
www.baidu.com.		149	IN	CNAME	www.a.shifen.com.
www.a.shifen.com.	127	IN	A	180.101.50.188
www.a.shifen.com.	127	IN	A	180.101.50.242

;; Query time: 9 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: Tue Mar 19 15:33:28 CST 2024
;; MSG SIZE  rcvd: 101





命令注解


dig @8.8.8.8 www.baidu.com

执行了一个针对 www.baidu.com 的 DNS 查询,使用的是 Google 的公共 DNS 服务器(8.8.8.8)。以下是您所得到的查询结果的解释:

HEADER 部分:
opcode: QUERY: 表示这是一个查询操作。
status: NOERROR: 表示查询成功,没有错误。
id: 62384: 这是查询的标识符,用于区分和匹配请求和响应。
flags: qr rd ra:
qr: 查询响应。
rd: 递归查询期望。
ra: 支持递归。
QUESTION SECTION:
www.baidu.com. IN A: 这是您想要查询的问题,即查找 www.baidu.com 的 IPv4 地址(A 记录)。
ANSWER SECTION:
www.baidu.com. 340 IN CNAME www.a.shifen.com.: 这表示 www.baidu.com 的规范名称(CNAME)是 www.a.shifen.com。CNAME 记录通常用于将一个域名指向另一个域名。
www.a.shifen.com. 139 IN A 180.101.50.242: 这是 www.a.shifen.com 的一个 IPv4 地址。
www.a.shifen.com. 139 IN A 180.101.50.188: 这是 www.a.shifen.com 的另一个 IPv4 地址。
这意味着,当您尝试访问 www.baidu.com 时,实际上您的请求会被重定向到 www.a.shifen.com,并且该域名有两个可能的 IPv4 地址:180.101.50.242 和 180.101.50.188。

其他信息:
Query time: 144 msec: 查询耗时 144 毫秒。
SERVER: 8.8.8.8#53(8.8.8.8): 查询的 DNS 服务器是 8.8.8.8。
WHEN: Tue Mar 19 15:30:57 CST 2024: 查询发生的时间。但请注意,这个时间戳似乎有些未来化,可能是查询工具或命令输出的一个错误或占位符。
MSG SIZE rcvd: 101: 接收到的消息大小是 101 字节。
总的来说,这次查询成功地返回了 www.baidu.com 的 DNS 信息,包括它的 CNAME 和两个 A 记录。

3.添加静态主机路由:

route add -host <目标IP地址> gw <网关IP地址> <网络接口名称>

ip route add <目标IP地址>/32 via <网关IP地址> dev <网络接口名称>




route add -host 10.0.0.10 gw 192.168.1.1 netmask 255.255.255.0

ip route add 10.0.0.10/24 via 192.168.1.1 dev eth0


实现永久生效

方法一:利用route-eth0文件

vi /etc/sysconfig/network-scripts/route-eth0    #默认不存在此文件,需要手动创建

加入如下内容

192.168.1.0/24 via 10.0.0.129

192.168.2.0/24 via 10.0.0.129

#有两块网卡时,配置该条路由的原则是网卡所在网段为该路由出口

#写到配置里,重启网络服务和重启系统都会生效

 

方法二:利用static-route文件

vi /etc/sysconfig/static-routes    #默认不存在此文件,需要手动创建

加入如下内容

any net 192.168.1.0/24 gw 10.0.0.129

any net 192.168.2.0/24 gw 10.0.0.129

#写到配置里,重启网络服务和重启系统都会生效

 

方法三:利用rc.local文件

vi /etc/rc.local

加入如下内容

route add –net 192.168.1.0/24 gw 10.0.0.129

route add –net 192.168.2.0/24 gw 10.0.0.129

#写到配置里,重启重启系统会生效

4.我们机房服务器没网络如何故障排查:

1.检查物理链路--确保物理链路是否正常
2.测试网络联通性--用ping看通不通
3.检查网卡配置文件--是否出错或未启用
4.检查防火墙--firewalld、iptables是否阻止了ip
5.交换机、路由器是否配置正确

5 使用软件画一个服务器架构图 压缩包架构图案例可以模仿画一个 熟悉使用画图软件

1、说一些你比较常用linux指令

  

ls
ping
df -h
free -h
df -i
route -n
ss
netstat
ss -tulpn
netstat -tulpn
netstat -tulpn |grep 22
ss -tulpn |grep 22
grep
awk
sed
find
ps
kill
systemctl
hostname
ip a
ifconfig
cat
echo
passwd
useradd
userdel
usermod
groupadd
groupdel
groupmod
chown
chmod
ll
cd
pwd
who
w
whoami
tty
reboot
shutdown
shutdown -h now
lsblk
vim
vi
which
rpm
yum
apt
rpm -qi -qa -qf
head
tail
mv
cp
ll -r
fdisk
parted
partprobe
nano

scp
ip route
2、查看进程(例:如何查看所有xx进程)
ps aux --所有进程
netstat -an
ss -an
lsof



pgrep sshd  
pidof sshd
ps aux |grep sshd
ss -tulpn |grep sshd
netstat -tulpn |grep 22





具体效果演示

[root@master ~]# ps aux
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.3  41280  3696 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd --switched-root 
root          2  0.0  0.0      0     0 ?        S    Mar19   0:00 [kthreadd]
root          3  0.0  0.0      0     0 ?        S    Mar19   0:00 [ksoftirqd/0]
root          5  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:0H]
root          6  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:0]
root          7  0.0  0.0      0     0 ?        S    Mar19   0:00 [migration/0]
root          8  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcu_bh]
root          9  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/0]
root         10  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/1]
root         11  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/2]
root         12  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/3]
root         13  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/4]
root         14  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/5]
root         15  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/6]
root         16  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/7]
root         17  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/8]
root         18  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/9]
root         19  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/10]
root         20  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/11]
root         21  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/12]
root         22  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/13]
root         23  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/14]
root         24  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/15]
root         25  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/16]
root         26  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/17]
root         27  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/18]
root         28  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/19]
root         29  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/20]
root         30  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/21]
root         31  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/22]
root         32  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/23]
root         33  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/24]
root         34  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/25]
root         35  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/26]
root         36  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/27]
root         37  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/28]
root         38  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/29]
root         39  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/30]
root         40  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/31]
root         41  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/32]
root         42  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/33]
root         43  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/34]
root         44  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/35]
root         45  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/36]
root         46  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/37]
root         47  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/38]
root         48  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/39]
root         49  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/40]
root         50  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/41]
root         51  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/42]
root         52  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/43]
root         53  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/44]
root         54  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/45]
root         55  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/46]
root         56  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/47]
root         57  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/48]
root         58  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/49]
root         59  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/50]
root         60  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/51]
root         61  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/52]
root         62  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/53]
root         63  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/54]
root         64  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/55]
root         65  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/56]
root         66  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/57]
root         67  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/58]
root         68  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/59]
root         69  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/60]
root         70  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/61]
root         71  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/62]
root         72  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/63]
root         73  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/64]
root         74  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/65]
root         75  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/66]
root         76  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/67]
root         77  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/68]
root         78  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/69]
root         79  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/70]
root         80  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/71]
root         81  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/72]
root         82  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/73]
root         83  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/74]
root         84  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/75]
root         85  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/76]
root         86  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/77]
root         87  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/78]
root         88  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/79]
root         89  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/80]
root         90  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/81]
root         91  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/82]
root         92  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/83]
root         93  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/84]
root         94  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/85]
root         95  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/86]
root         96  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/87]
root         97  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/88]
root         98  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/89]
root         99  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/90]
root        100  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/91]
root        101  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/92]
root        102  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/93]
root        103  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/94]
root        104  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/95]
root        105  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/96]
root        106  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/97]
root        107  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/98]
root        108  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/99]
root        109  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/100]
root        110  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/101]
root        111  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/102]
root        112  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/103]
root        113  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/104]
root        114  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/105]
root        115  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/106]
root        116  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/107]
root        117  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/108]
root        118  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/109]
root        119  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/110]
root        120  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/111]
root        121  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/112]
root        122  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/113]
root        123  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/114]
root        124  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/115]
root        125  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/116]
root        126  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/117]
root        127  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/118]
root        128  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/119]
root        129  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/120]
root        130  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/121]
root        131  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/122]
root        132  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/123]
root        133  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/124]
root        134  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/125]
root        135  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/126]
root        136  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/127]
root        137  0.0  0.0      0     0 ?        R    Mar19   0:00 [rcu_sched]
root        138  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/0]
root        139  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/1]
root        140  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/2]
root        141  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/3]
root        142  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/4]
root        143  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/5]
root        144  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/6]
root        145  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/7]
root        146  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/8]
root        147  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/9]
root        148  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/10]
root        149  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/11]
root        150  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/12]
root        151  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/13]
root        152  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/14]
root        153  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/15]
root        154  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/16]
root        155  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/17]
root        156  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/18]
root        157  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/19]
root        158  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/20]
root        159  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/21]
root        160  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/22]
root        161  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/23]
root        162  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/24]
root        163  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/25]
root        164  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/26]
root        165  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/27]
root        166  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/28]
root        167  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/29]
root        168  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/30]
root        169  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/31]
root        170  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/32]
root        171  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/33]
root        172  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/34]
root        173  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/35]
root        174  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/36]
root        175  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/37]
root        176  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/38]
root        177  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/39]
root        178  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/40]
root        179  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/41]
root        180  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/42]
root        181  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/43]
root        182  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/44]
root        183  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/45]
root        184  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/46]
root        185  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/47]
root        186  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/48]
root        187  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/49]
root        188  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/50]
root        189  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/51]
root        190  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/52]
root        191  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/53]
root        192  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/54]
root        193  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/55]
root        194  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/56]
root        195  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/57]
root        196  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/58]
root        197  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/59]
root        198  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/60]
root        199  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/61]
root        200  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/62]
root        201  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/63]
root        202  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/64]
root        203  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/65]
root        204  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/66]
root        205  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/67]
root        206  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/68]
root        207  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/69]
root        208  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/70]
root        209  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/71]
root        210  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/72]
root        211  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/73]
root        212  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/74]
root        213  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/75]
root        214  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/76]
root        215  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/77]
root        216  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/78]
root        217  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/79]
root        218  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/80]
root        219  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/81]
root        220  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/82]
root        221  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/83]
root        222  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/84]
root        223  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/85]
root        224  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/86]
root        225  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/87]
root        226  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/88]
root        227  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/89]
root        228  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/90]
root        229  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/91]
root        230  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/92]
root        231  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/93]
root        232  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/94]
root        233  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/95]
root        234  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/96]
root        235  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/97]
root        236  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/98]
root        237  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/99]
root        238  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/100]
root        239  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/101]
root        240  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/102]
root        241  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/103]
root        242  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/104]
root        243  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/105]
root        244  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/106]
root        245  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/107]
root        246  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/108]
root        247  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/109]
root        248  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/110]
root        249  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/111]
root        250  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/112]
root        251  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/113]
root        252  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/114]
root        253  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/115]
root        254  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/116]
root        255  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/117]
root        256  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/118]
root        257  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/119]
root        258  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/120]
root        259  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/121]
root        260  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/122]
root        261  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/123]
root        262  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/124]
root        263  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/125]
root        264  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/126]
root        265  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/127]
root        266  0.0  0.0      0     0 ?        S    Mar19   0:00 [watchdog/0]
root        267  0.0  0.0      0     0 ?        S<   Mar19   0:00 [khelper]
root        268  0.0  0.0      0     0 ?        S    Mar19   0:00 [kdevtmpfs]
root        269  0.0  0.0      0     0 ?        S<   Mar19   0:00 [netns]
root        270  0.0  0.0      0     0 ?        S<   Mar19   0:00 [writeback]
root        271  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kintegrityd]
root        272  0.0  0.0      0     0 ?        S<   Mar19   0:00 [bioset]
root        273  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kblockd]
root        274  0.0  0.0      0     0 ?        S    Mar19   0:00 [khubd]
root        275  0.0  0.0      0     0 ?        S<   Mar19   0:00 [md]
root        278  0.0  0.0      0     0 ?        S    Mar19   0:00 [khungtaskd]
root        279  0.0  0.0      0     0 ?        S    Mar19   0:00 [kswapd0]
root        280  0.0  0.0      0     0 ?        SN   Mar19   0:00 [ksmd]
root        281  0.0  0.0      0     0 ?        SN   Mar19   0:00 [khugepaged]
root        282  0.0  0.0      0     0 ?        S    Mar19   0:00 [fsnotify_mark]
root        283  0.0  0.0      0     0 ?        S<   Mar19   0:00 [crypto]
root        292  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kthrotld]
root        294  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kmpath_rdacd]
root        295  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kpsmoused]
root        315  0.0  0.0      0     0 ?        S<   Mar19   0:00 [deferwq]
root        350  0.0  0.0      0     0 ?        S    Mar19   0:00 [kauditd]
root        475  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ata_sff]
root        476  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:2]
root        478  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt_poll_0]
root        479  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt/0]
root        496  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_0]
root        497  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_0]
root        498  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_1]
root        500  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_1]
root        502  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_2]
root        503  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_2]
root        505  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ttm_swap]
root        524  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfsalloc]
root        525  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs_mru_cache]
root        526  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda2]
root        527  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda2]
root        528  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda2]
root        529  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda2]
root        530  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:1H]
root        531  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda2]
root        610  0.0  0.3  37076  3420 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-journald
root        631  0.0  0.0      0     0 ?        S<   Mar19   0:00 [rpciod]
root        637  0.0  0.2  43320  2192 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-udevd
root        670  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda3]
root        672  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda3]
root        678  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda3]
root        680  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda1]
root        681  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda3]
root        685  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda3]
root        686  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda1]
root        688  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda1]
root        690  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda1]
root        692  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda1]
root        740  0.0  0.1  48996  1608 ?        S<sl Mar19   0:00 /sbin/auditd -n
root        751  0.0  0.0  21372   420 ?        Ss   Mar19   0:00 /usr/sbin/rpc.idmapd
root        766  0.0  0.4 228220  4284 ?        Ssl  Mar19   0:00 /usr/sbin/rsyslogd -n
root        768  0.0  0.7 444624  8020 ?        Ssl  Mar19   0:00 /usr/sbin/NetworkManager --no-daemon
root        769  0.0  1.6 567640 16440 ?        Ssl  Mar19   0:03 /usr/bin/python -Es /usr/sbin/tuned -l -P
root        770  0.0  0.1 114692  1156 ?        Ss   Mar19   0:00 /usr/bin/rsync --daemon --no-detach
dbus        773  0.0  0.1  24392  1656 ?        Ss   Mar19   0:00 /bin/dbus-daemon --system --address=syste
root        775  0.0  0.1 195044  1880 ?        Ssl  Mar19   0:00 /usr/sbin/gssproxy -D
rpc         777  0.0  0.1  69096  1432 ?        Ss   Mar19   0:00 /sbin/rpcbind -w
root        787  0.0  0.1  26300  1712 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-logind
root        792  0.0  0.1 124104  1568 ?        Ss   Mar19   0:00 /usr/sbin/crond -n
root        794  0.0  0.0 110004   840 tty1     Ss+  Mar19   0:00 /sbin/agetty --noclear tty1 linux
polkitd     801  0.0  1.0 531432 10972 ?        Ssl  Mar19   0:00 /usr/lib/polkit-1/polkitd --no-debug
root       1006  0.0  0.3  80332  3564 ?        Ss   Mar19   0:00 /usr/sbin/sshd -D
rpcuser    1009  0.0  0.1  42352  1756 ?        Ss   Mar19   0:00 /usr/sbin/rpc.statd
root       1011  0.0  0.0  42528   952 ?        Ss   Mar19   0:00 /usr/sbin/rpc.mountd
root       1016  0.0  0.3 433200  3544 ?        Ssl  Mar19   0:00 /usr/sbin/automount --systemd-service --d
root       1028  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4]
root       1033  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4_callbacks]
root       1037  0.0  0.0      0     0 ?        S    Mar19   0:00 [lockd]
root       1049  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1053  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1057  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1062  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1066  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1070  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1074  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1078  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1241  0.0  0.2  88912  2152 ?        Ss   Mar19   0:00 /usr/libexec/postfix/master -w
postfix    1248  0.0  0.3  89084  3908 ?        S    Mar19   0:00 qmgr -l -t unix -u
root       2155  0.0  1.5 112496 15812 ?        S    Mar19   0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-
root       2180  0.0  0.5 143440  5448 ?        Ss   Mar19   0:00 sshd: root@pts/0
root       2182  0.0  0.2 115352  2068 pts/0    Ss   Mar19   0:00 -bash
root       3574  0.0  0.0      0     0 ?        R    00:13   0:02 [kworker/0:1]
postfix    3610  0.0  0.3  89016  3880 ?        S    00:22   0:00 pickup -l -t unix -u
root       3785  0.0  0.0      0     0 ?        S    01:13   0:00 [kworker/0:0]
root       3845  0.0  0.0      0     0 ?        S    01:18   0:00 [kworker/0:2]
root       3851  0.0  0.1 141504  1648 pts/0    R+   01:19   0:00 ps aux
[root@master ~]# pgrep sshd
1006
2180
[root@master ~]# pgrep 22
31
131
160
260
[root@master ~]# pidof sshd
2180 1006
[root@master ~]# ps aux |grep sshd
root       1006  0.0  0.3  80332  3564 ?        Ss   Mar19   0:00 /usr/sbin/sshd -D
root       2180  0.0  0.5 143440  5448 ?        Ss   Mar19   0:00 sshd: root@pts/0
root       3857  0.0  0.0 112640   956 pts/0    R+   01:19   0:00 grep --color=auto sshd
[root@master ~]# ss -tulpn |grep sshd
tcp    LISTEN     0      128                    *:22                    *:*      users:(("sshd",1006,3))
tcp    LISTEN     0      128                   :::22                   :::*      users:(("sshd",1006,4))
[root@master ~]# netstat -tulpn |grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1006/sshd           
tcp6       0      0 :::22                   :::*                    LISTEN      1006/sshd           
[root@master ~]# ss -an
Netid State      Recv-Q Send-Q                   Local Address:Port                     Peer Address:Port 
nl    UNCONN     0      0                                    0:768                                  *     
nl    UNCONN     0      0                                    0:0                                    *     
nl    UNCONN     0      0                                    0:4195072                                *     
nl    UNCONN     0      0                                    0:4195072                                *     
nl    UNCONN     4352   0                                    4:3864                                 *     
nl    UNCONN     768    0                                    4:0                                    *     
nl    UNCONN     0      0                                    6:0                                    *     
nl    UNCONN     0      0                                    7:0                                    *     
nl    UNCONN     0      0                                    9:740                                  *     
nl    UNCONN     0      0                                    9:0                                    *     
nl    UNCONN     0      0                                    9:1                                    *     
nl    UNCONN     0      0                                   10:0                                    *     
nl    UNCONN     0      0                                   11:0                                    *     
nl    UNCONN     0      0                                   15:768                                  *     
nl    UNCONN     0      0                                   15:637                                  *     
nl    UNCONN     0      0                                   15:787                                  *     
nl    UNCONN     0      0                                   15:-4107                                *     
nl    UNCONN     0      0                                   15:1                                    *     
nl    UNCONN     0      0                                   15:-4119                                *     
nl    UNCONN     0      0                                   15:-4117                                *     
nl    UNCONN     0      0                                   15:0                                    *     
nl    UNCONN     0      0                                   15:-4120                                *     
nl    UNCONN     0      0                                   15:-4118                                *     
nl    UNCONN     0      0                                   15:769                                  *     
nl    UNCONN     0      0                                   15:769                                  *     
nl    UNCONN     0      0                                   15:-4120                                *     
nl    UNCONN     0      0                                   15:768                                  *     
nl    UNCONN     0      0                                   15:-4119                                *     
nl    UNCONN     0      0                                   15:-4118                                *     
nl    UNCONN     0      0                                   15:-4117                                *     
nl    UNCONN     0      0                                   15:787                                  *     
nl    UNCONN     0      0                                   15:-4107                                *     
nl    UNCONN     0      0                                   15:1                                    *     
nl    UNCONN     0      0                                   16:0                                    *     
nl    UNCONN     0      0                                   18:0                                    *     
p_raw UNCONN     0      0                                    *:eno16777736                                *     
u_str LISTEN     0      128        /run/systemd/journal/stdout 7948                                * 0    
u_dgr UNCONN     0      0          /run/systemd/journal/socket 7951                                * 0    
u_dgr UNCONN     0      0                             /dev/log 7953                                * 0    
u_str LISTEN     0      10      /var/lib/gssproxy/default.sock 15592                               * 0    
u_str LISTEN     0      128               /run/systemd/private 12860                               * 0    
u_str LISTEN     0      100                     private/tlsmgr 18303                               * 0    
u_str LISTEN     0      100                    private/rewrite 18306                               * 0    
u_dgr LISTEN     0      128                  /run/udev/control 12897                               * 0    
u_str LISTEN     0      30     /var/run/NetworkManager/private-dhcp 16247                               * 0    
u_str LISTEN     0      100                      public/pickup 18292                               * 0    
u_str LISTEN     0      100                     public/cleanup 18296                               * 0    
u_str LISTEN     0      30     /var/run/NetworkManager/private 16048                               * 0    
u_str LISTEN     0      100                     private/bounce 18309                               * 0    
u_str LISTEN     0      100                        public/qmgr 18299                               * 0    
u_str LISTEN     0      100                       public/flush 18321                               * 0    
u_str LISTEN     0      100                      private/defer 18312                               * 0    
u_str LISTEN     0      100                       public/showq 18336                               * 0    
u_str LISTEN     0      100                      private/trace 18315                               * 0    
u_str LISTEN     0      100                     private/verify 18318                               * 0    
u_str LISTEN     0      100                   private/proxymap 18324                               * 0    
u_str LISTEN     0      100                 private/proxywrite 18327                               * 0    
u_str LISTEN     0      100                       private/smtp 18330                               * 0    
u_str LISTEN     0      100                      private/relay 18333                               * 0    
u_str LISTEN     0      100                      private/error 18339                               * 0    
u_str LISTEN     0      100                      private/retry 18342                               * 0    
u_str LISTEN     0      128              /var/run/rpcbind.sock 15080                               * 0    
u_str LISTEN     0      100                    private/discard 18345                               * 0    
u_str LISTEN     0      10                  /run/gssproxy.sock 15593                               * 0    
u_str LISTEN     0      100                      private/local 18348                               * 0    
u_str LISTEN     0      100                    private/virtual 18351                               * 0    
u_str LISTEN     0      100                       private/lmtp 18354                               * 0    
u_str LISTEN     0      100                      private/anvil 18357                               * 0    
u_str LISTEN     0      100                     private/scache 18360                               * 0    
u_str LISTEN     0      128    /var/run/dbus/system_bus_socket 15089                               * 0    
u_dgr UNCONN     0      0               /run/systemd/shutdownd 13046                               * 0    
u_dgr UNCONN     0      0                  /run/systemd/notify 7928                                * 0    
u_dgr UNCONN     0      0           /run/systemd/cgroups-agent 7930                                * 0    
u_dgr UNCONN     0      0                                    * 24899                               * 7953 
u_str ESTAB      0      0                                    * 18352                               * 18353
u_str ESTAB      0      0                                    * 18337                               * 18338
u_str ESTAB      0      0                                    * 18320                               * 18319
u_str ESTAB      0      0                                    * 15587                               * 15586
u_str ESTAB      0      0          /run/systemd/journal/stdout 15225                               * 15224
u_str ESTAB      0      0                                    * 18316                               * 18317
u_str ESTAB      0      0                                    * 18307                               * 18308
u_dgr UNCONN     0      0                                    * 18262                               * 7953 
u_str ESTAB      0      0                                    * 18356                               * 18355
u_str ESTAB      0      0                                    * 18341                               * 18340
u_str ESTAB      0      0                                    * 15597                               * 15599
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 16294                               * 16293
u_str ESTAB      0      0                                    * 15313                               * 15314
u_str ESTAB      0      0          /run/systemd/journal/stdout 13767                               * 13766
u_str ESTAB      0      0          /run/systemd/journal/stdout 17442                               * 17441
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 16055                               * 16054
u_str ESTAB      0      0                                    * 18328                               * 18329
u_str ESTAB      0      0                                    * 18300                               * 18301
u_dgr UNCONN     0      0                                    * 17171                               * 7953 
u_str ESTAB      0      0          /run/systemd/journal/stdout 15314                               * 15313
u_dgr UNCONN     0      0                                    * 13103                               * 7928 
u_str ESTAB      0      0                                    * 16050                               * 16051
u_str ESTAB      0      0                                    * 18349                               * 18350
u_str ESTAB      0      0                                    * 18332                               * 18331
u_str ESTAB      0      0                                    * 16360                               * 16361
u_dgr UNCONN     0      0                                    * 14967                               * 7953 
u_str ESTAB      0      0                                    * 15224                               * 15225
u_str ESTAB      0      0          /run/systemd/journal/stdout 15700                               * 15699
u_str ESTAB      0      0                                    * 15586                               * 15587
u_str ESTAB      0      0                                    * 18310                               * 18311
u_str ESTAB      0      0                                    * 18353                               * 18352
u_str ESTAB      0      0                                    * 18294                               * 18293
u_str ESTAB      0      0                                    * 18317                               * 18316
u_str ESTAB      0      0                                    * 18325                               * 18326
u_str ESTAB      0      0                                    * 15442                               * 15443
u_dgr UNCONN     0      0                                    * 16167                               * 7953 
u_str ESTAB      0      0                                    * 18340                               * 18341
u_str ESTAB      0      0                                    * 16293                               * 16294
u_str ESTAB      0      0                                    * 15602                               * 15601
u_str ESTAB      0      0                                    * 18329                               * 18328
u_str ESTAB      0      0          /run/systemd/journal/stdout 15443                               * 15442
u_str ESTAB      0      0                                    * 18361                               * 18362
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 15603                               * 15549
u_str ESTAB      0      0                                    * 18344                               * 18343
u_dgr UNCONN     0      0                                    * 16035                               * 7953 
u_dgr UNCONN     0      0                                    * 19411                               * 7953 
u_str ESTAB      0      0          /run/systemd/journal/stdout 17130                               * 17128
u_str ESTAB      0      0                                    * 18311                               * 18310
u_str ESTAB      0      0                                    * 15699                               * 15700
u_str ESTAB      0      0                                    * 15549                               * 15603
u_str ESTAB      0      0                                    * 13766                               * 13767
u_str ESTAB      0      0                                    * 16054                               * 16055
u_str ESTAB      0      0                                    * 18293                               * 18294
u_str ESTAB      0      0                                    * 18335                               * 18334
u_str ESTAB      0      0                                    * 15267                               * 15268
u_dgr UNCONN     0      0                                    * 13775                               * 7951 
u_str ESTAB      0      0                                    * 18305                               * 18304
u_str ESTAB      0      0                                    * 15901                               * 15902
u_str ESTAB      0      0                                    * 18358                               * 18359
u_str ESTAB      0      0                                    * 18322                               * 18323
u_str ESTAB      0      0                                    * 15601                               * 15602
u_str ESTAB      0      0                                    * 18313                               * 18314
u_str ESTAB      0      0                                    * 18291                               * 18290
u_dgr UNCONN     0      0                                    * 13308                               * 7951 
u_str ESTAB      0      0                                    * 18362                               * 18361
u_str ESTAB      0      0          /run/systemd/journal/stdout 15957                               * 15956
u_str ESTAB      0      0                                    * 18343                               * 18344
u_str ESTAB      0      0                                    * 18326                               * 18325
u_str ESTAB      0      0                                    * 18334                               * 18335
u_str ESTAB      0      0                                    * 18298                               * 18297
u_str ESTAB      0      0                                    * 17128                               * 17130
u_dgr UNCONN     0      0                                    * 16299                               * 7953 
u_dgr UNCONN     0      0                                    * 15580                               * 7953 
u_dgr UNCONN     8      0                                    * 13879                               * 13880
u_str ESTAB      0      0                                    * 15007                               * 15006
u_str ESTAB      0      0          /run/systemd/journal/stdout 15544                               * 15543
u_dgr UNCONN     0      0                                    * 16013                               * 7953 
u_str ESTAB      0      0                                    * 18347                               * 18346
u_str ESTAB      0      0                                    * 18338                               * 18337
u_dgr UNCONN     0      0                                    * 19238                               * 7953 
u_dgr UNCONN     0      768                                  * 13880                               * 13879
u_str ESTAB      0      0                                    * 18319                               * 18320
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 16051                               * 16050
u_str ESTAB      0      0                                    * 15956                               * 15957
u_str ESTAB      0      0                                    * 18308                               * 18307
u_str ESTAB      0      0                                    * 18355                               * 18356
u_str ESTAB      0      0                                    * 15006                               * 15007
u_str ESTAB      0      0                                    * 17586                               * 0    
u_str ESTAB      0      0                                    * 18323                               * 18322
u_str ESTAB      0      0                                    * 18304                               * 18305
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 15902                               * 15901
u_str ESTAB      0      0                   /run/gssproxy.sock 15599                               * 15597
u_str ESTAB      0      0                                    * 18359                               * 18358
u_str ESTAB      0      0                                    * 17441                               * 17442
u_str ESTAB      0      0                                    * 18346                               * 18347
u_str ESTAB      0      0                                    * 18314                               * 18313
u_str ESTAB      0      0                                    * 18301                               * 18300
u_dgr UNCONN     0      0                                    * 18385                               * 7953 
u_dgr UNCONN     0      0                                    * 17269                               * 7953 
u_str ESTAB      0      0          /run/systemd/journal/stdout 15268                               * 15267
u_str ESTAB      0      0                                    * 18350                               * 18349
u_str ESTAB      0      0                                    * 18297                               * 18298
u_str ESTAB      0      0      /var/run/dbus/system_bus_socket 16361                               * 16360
u_dgr UNCONN     0      0                                    * 15781                               * 7951 
u_str ESTAB      0      0                                    * 18331                               * 18332
u_str ESTAB      0      0                                    * 15543                               * 15544
u_str ESTAB      0      0                                    * 18290                               * 18291
raw   UNCONN     0      0                                   :::58                                 :::*     
tcp   UNCONN     0      0                                    *:2049                                *:*     
tcp   UNCONN     0      0                                    *:45089                               *:*     
tcp   UNCONN     0      0                                    *:68                                  *:*     
tcp   UNCONN     0      0                                    *:20048                               *:*     
tcp   UNCONN     0      0                                    *:43097                               *:*     
tcp   UNCONN     0      0                                    *:111                                 *:*     
tcp   UNCONN     0      0                            127.0.0.1:766                                 *:*     
tcp   UNCONN     0      0                                    *:940                                 *:*     
tcp   UNCONN     0      0                                    *:48583                               *:*     
tcp   UNCONN     0      0                                   :::45544                              :::*     
tcp   UNCONN     0      0                                   :::2049                               :::*     
tcp   UNCONN     0      0                                   :::20048                              :::*     
tcp   UNCONN     0      0                                   :::111                                :::*     
tcp   UNCONN     0      0                                   :::41735                              :::*     
tcp   UNCONN     0      0                                   :::56742                              :::*     
tcp   UNCONN     0      0                                   :::940                                :::*     
tcp   LISTEN     0      64                                   *:2049                                *:*     
tcp   LISTEN     0      5                                    *:873                                 *:*     
tcp   LISTEN     0      128                                  *:46668                               *:*     
tcp   LISTEN     0      128                                  *:111                                 *:*     
tcp   LISTEN     0      128                                  *:20048                               *:*     
tcp   LISTEN     0      128                                  *:22                                  *:*     
tcp   LISTEN     0      100                          127.0.0.1:25                                  *:*     
tcp   LISTEN     0      64                                   *:54750                               *:*     
tcp   ESTAB      0      13544                       10.0.1.134:22                           10.0.1.1:2446  
tcp   LISTEN     0      64                                  :::2049                               :::*     
tcp   LISTEN     0      5                                   :::873                                :::*     
tcp   LISTEN     0      64                                  :::33485                              :::*     
tcp   LISTEN     0      128                                 :::111                                :::*     
tcp   LISTEN     0      128                                 :::20048                              :::*     
tcp   LISTEN     0      128                                 :::41460                              :::*     
tcp   LISTEN     0      128                                 :::22                                 :::*     
tcp   LISTEN     0      100                                ::1:25                                 :::*     
[root@master ~]# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:873             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:46668           0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:20048           0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:54750           0.0.0.0:*               LISTEN     
tcp        0     36 10.0.1.134:22           10.0.1.1:2446           ESTABLISHED
tcp6       0      0 :::2049                 :::*                    LISTEN     
tcp6       0      0 :::873                  :::*                    LISTEN     
tcp6       0      0 :::33485                :::*                    LISTEN     
tcp6       0      0 :::111                  :::*                    LISTEN     
tcp6       0      0 :::20048                :::*                    LISTEN     
tcp6       0      0 :::41460                :::*                    LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
tcp6       0      0 ::1:25                  :::*                    LISTEN     
udp        0      0 0.0.0.0:2049            0.0.0.0:*                          
udp        0      0 0.0.0.0:45089           0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 0.0.0.0:20048           0.0.0.0:*                          
udp        0      0 0.0.0.0:43097           0.0.0.0:*                          
udp        0      0 0.0.0.0:111             0.0.0.0:*                          
udp        0      0 127.0.0.1:766           0.0.0.0:*                          
udp        0      0 0.0.0.0:940             0.0.0.0:*                          
udp        0      0 0.0.0.0:48583           0.0.0.0:*                          
udp6       0      0 :::45544                :::*                               
udp6       0      0 :::2049                 :::*                               
udp6       0      0 :::20048                :::*                               
udp6       0      0 :::111                  :::*                               
udp6       0      0 :::41735                :::*                               
udp6       0      0 :::56742                :::*                               
udp6       0      0 :::940                  :::*                               
raw6       0      0 :::58                   :::*                    7          
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     7948     /run/systemd/journal/stdout
unix  5      [ ]         DGRAM                    7951     /run/systemd/journal/socket
unix  15     [ ]         DGRAM                    7953     /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     15592    /var/lib/gssproxy/default.sock
unix  2      [ ACC ]     STREAM     LISTENING     12860    /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     18303    private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     18306    private/rewrite
unix  2      [ ACC ]     SEQPACKET  LISTENING     12897    /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     16247    /var/run/NetworkManager/private-dhcp
unix  2      [ ACC ]     STREAM     LISTENING     18292    public/pickup
unix  2      [ ACC ]     STREAM     LISTENING     18296    public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     16048    /var/run/NetworkManager/private
unix  2      [ ACC ]     STREAM     LISTENING     18309    private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     18299    public/qmgr
unix  2      [ ACC ]     STREAM     LISTENING     18321    public/flush
unix  2      [ ACC ]     STREAM     LISTENING     18312    private/defer
unix  2      [ ACC ]     STREAM     LISTENING     18336    public/showq
unix  2      [ ACC ]     STREAM     LISTENING     18315    private/trace
unix  2      [ ACC ]     STREAM     LISTENING     18318    private/verify
unix  2      [ ACC ]     STREAM     LISTENING     18324    private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     18327    private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     18330    private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     18333    private/relay
unix  2      [ ACC ]     STREAM     LISTENING     18339    private/error
unix  2      [ ACC ]     STREAM     LISTENING     18342    private/retry
unix  2      [ ACC ]     STREAM     LISTENING     15080    /var/run/rpcbind.sock
unix  2      [ ACC ]     STREAM     LISTENING     18345    private/discard
unix  2      [ ACC ]     STREAM     LISTENING     15593    /run/gssproxy.sock
unix  2      [ ACC ]     STREAM     LISTENING     18348    private/local
unix  2      [ ACC ]     STREAM     LISTENING     18351    private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     18354    private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     18357    private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     18360    private/scache
unix  2      [ ACC ]     STREAM     LISTENING     15089    /var/run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    13046    /run/systemd/shutdownd
unix  3      [ ]         DGRAM                    7928     /run/systemd/notify
unix  2      [ ]         DGRAM                    7930     /run/systemd/cgroups-agent
unix  2      [ ]         DGRAM                    24899    
unix  3      [ ]         STREAM     CONNECTED     18352    
unix  3      [ ]         STREAM     CONNECTED     18337    
unix  3      [ ]         STREAM     CONNECTED     18320    
unix  3      [ ]         STREAM     CONNECTED     15587    
unix  3      [ ]         STREAM     CONNECTED     15225    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     18316    
unix  3      [ ]         STREAM     CONNECTED     18307    
unix  2      [ ]         DGRAM                    18262    
unix  3      [ ]         STREAM     CONNECTED     18356    
unix  3      [ ]         STREAM     CONNECTED     18341    
unix  3      [ ]         STREAM     CONNECTED     15597    
unix  3      [ ]         STREAM     CONNECTED     16294    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     15313    
unix  3      [ ]         STREAM     CONNECTED     13767    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     17442    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     16055    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     18328    
unix  3      [ ]         STREAM     CONNECTED     18300    
unix  2      [ ]         DGRAM                    17171    
unix  3      [ ]         STREAM     CONNECTED     15314    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    13103    
unix  3      [ ]         STREAM     CONNECTED     16050    
unix  3      [ ]         STREAM     CONNECTED     18349    
unix  3      [ ]         STREAM     CONNECTED     18332    
unix  3      [ ]         STREAM     CONNECTED     16360    
unix  2      [ ]         DGRAM                    14967    
unix  3      [ ]         STREAM     CONNECTED     15224    
unix  3      [ ]         STREAM     CONNECTED     15700    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     15586    
unix  3      [ ]         STREAM     CONNECTED     18310    
unix  3      [ ]         STREAM     CONNECTED     18353    
unix  3      [ ]         STREAM     CONNECTED     18294    
unix  3      [ ]         STREAM     CONNECTED     18317    
unix  3      [ ]         STREAM     CONNECTED     18325    
unix  3      [ ]         STREAM     CONNECTED     15442    
unix  2      [ ]         DGRAM                    16167    
unix  3      [ ]         STREAM     CONNECTED     18340    
unix  3      [ ]         STREAM     CONNECTED     16293    
unix  3      [ ]         STREAM     CONNECTED     15602    
unix  3      [ ]         STREAM     CONNECTED     18329    
unix  3      [ ]         STREAM     CONNECTED     15443    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     18361    
unix  3      [ ]         STREAM     CONNECTED     15603    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     18344    
unix  2      [ ]         DGRAM                    16035    
unix  2      [ ]         DGRAM                    19411    
unix  3      [ ]         STREAM     CONNECTED     17130    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     18311    
unix  3      [ ]         STREAM     CONNECTED     15699    
unix  3      [ ]         STREAM     CONNECTED     15549    
unix  3      [ ]         STREAM     CONNECTED     13766    
unix  3      [ ]         STREAM     CONNECTED     16054    
unix  3      [ ]         STREAM     CONNECTED     18293    
unix  3      [ ]         STREAM     CONNECTED     18335    
unix  3      [ ]         STREAM     CONNECTED     15267    
unix  2      [ ]         DGRAM                    13775    
unix  3      [ ]         STREAM     CONNECTED     18305    
unix  3      [ ]         STREAM     CONNECTED     15901    
unix  3      [ ]         STREAM     CONNECTED     18358    
unix  3      [ ]         STREAM     CONNECTED     18322    
unix  3      [ ]         STREAM     CONNECTED     15601    
unix  3      [ ]         STREAM     CONNECTED     18313    
unix  3      [ ]         STREAM     CONNECTED     18291    
unix  2      [ ]         DGRAM                    13308    
unix  3      [ ]         STREAM     CONNECTED     18362    
unix  3      [ ]         STREAM     CONNECTED     15957    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     18343    
unix  3      [ ]         STREAM     CONNECTED     18326    
unix  3      [ ]         STREAM     CONNECTED     18334    
unix  3      [ ]         STREAM     CONNECTED     18298    
unix  3      [ ]         STREAM     CONNECTED     17128    
unix  2      [ ]         DGRAM                    16299    
unix  2      [ ]         DGRAM                    15580    
unix  3      [ ]         DGRAM                    13879    
unix  3      [ ]         STREAM     CONNECTED     15007    
unix  3      [ ]         STREAM     CONNECTED     15544    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    16013    
unix  3      [ ]         STREAM     CONNECTED     18347    
unix  3      [ ]         STREAM     CONNECTED     18338    
unix  2      [ ]         DGRAM                    19238    
unix  3      [ ]         DGRAM                    13880    
unix  3      [ ]         STREAM     CONNECTED     18319    
unix  3      [ ]         STREAM     CONNECTED     16051    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     15956    
unix  3      [ ]         STREAM     CONNECTED     18308    
unix  3      [ ]         STREAM     CONNECTED     18355    
unix  3      [ ]         STREAM     CONNECTED     15006    
unix  2      [ ]         STREAM     CONNECTED     17586    
unix  3      [ ]         STREAM     CONNECTED     18323    
unix  3      [ ]         STREAM     CONNECTED     18304    
unix  3      [ ]         STREAM     CONNECTED     15902    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     15599    /run/gssproxy.sock
unix  3      [ ]         STREAM     CONNECTED     18359    
unix  3      [ ]         STREAM     CONNECTED     17441    
unix  3      [ ]         STREAM     CONNECTED     18346    
unix  3      [ ]         STREAM     CONNECTED     18314    
unix  3      [ ]         STREAM     CONNECTED     18301    
unix  2      [ ]         DGRAM                    18385    
unix  2      [ ]         DGRAM                    17269    
unix  3      [ ]         STREAM     CONNECTED     15268    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     18350    
unix  3      [ ]         STREAM     CONNECTED     18297    
unix  3      [ ]         STREAM     CONNECTED     16361    /var/run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    15781    
unix  3      [ ]         STREAM     CONNECTED     18331    
unix  3      [ ]         STREAM     CONNECTED     15543    
unix  3      [ ]         STREAM     CONNECTED     18290 



lsof
command     PID USER   FD      type             DEVICE     SIZE       NODE NAME
init          1 root  cwd       DIR                8,2     4096          2 /
init          1 root  rtd       DIR                8,2     4096          2 /
init          1 root  txt       REG                8,2    43496    6121706 /sbin/init
init          1 root  mem       REG                8,2   143600    7823908 /lib64/ld-2.5.so
init          1 root  mem       REG                8,2  1722304    7823915 /lib64/libc-2.5.so
init
3、杀掉进程
kill 1234
kill -9 1234   强制关闭















具体过程演示
[root@master ~]# ps  aux
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.3  41280  3696 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd --switched-root 
root          2  0.0  0.0      0     0 ?        S    Mar19   0:00 [kthreadd]
root          3  0.0  0.0      0     0 ?        S    Mar19   0:00 [ksoftirqd/0]
root          5  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:0H]
root          6  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:0]
root          7  0.0  0.0      0     0 ?        S    Mar19   0:00 [migration/0]
root          8  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcu_bh]
root          9  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/0]
root         10  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/1]
root         11  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/2]
root         12  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/3]
root         13  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/4]
root         14  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/5]
root         15  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/6]
root         16  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/7]
root         17  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/8]
root         18  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/9]
root         19  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/10]
root         20  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/11]
root         21  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/12]
root         22  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/13]
root         23  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/14]
root         24  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/15]
root         25  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/16]
root         26  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/17]
root         27  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/18]
root         28  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/19]
root         29  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/20]
root         30  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/21]
root         31  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/22]
root         32  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/23]
root         33  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/24]
root         34  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/25]
root         35  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/26]
root         36  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/27]
root         37  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/28]
root         38  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/29]
root         39  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/30]
root         40  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/31]
root         41  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/32]
root         42  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/33]
root         43  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/34]
root         44  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/35]
root         45  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/36]
root         46  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/37]
root         47  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/38]
root         48  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/39]
root         49  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/40]
root         50  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/41]
root         51  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/42]
root         52  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/43]
root         53  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/44]
root         54  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/45]
root         55  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/46]
root         56  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/47]
root         57  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/48]
root         58  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/49]
root         59  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/50]
root         60  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/51]
root         61  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/52]
root         62  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/53]
root         63  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/54]
root         64  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/55]
root         65  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/56]
root         66  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/57]
root         67  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/58]
root         68  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/59]
root         69  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/60]
root         70  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/61]
root         71  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/62]
root         72  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/63]
root         73  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/64]
root         74  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/65]
root         75  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/66]
root         76  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/67]
root         77  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/68]
root         78  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/69]
root         79  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/70]
root         80  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/71]
root         81  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/72]
root         82  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/73]
root         83  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/74]
root         84  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/75]
root         85  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/76]
root         86  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/77]
root         87  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/78]
root         88  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/79]
root         89  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/80]
root         90  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/81]
root         91  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/82]
root         92  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/83]
root         93  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/84]
root         94  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/85]
root         95  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/86]
root         96  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/87]
root         97  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/88]
root         98  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/89]
root         99  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/90]
root        100  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/91]
root        101  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/92]
root        102  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/93]
root        103  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/94]
root        104  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/95]
root        105  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/96]
root        106  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/97]
root        107  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/98]
root        108  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/99]
root        109  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/100]
root        110  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/101]
root        111  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/102]
root        112  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/103]
root        113  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/104]
root        114  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/105]
root        115  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/106]
root        116  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/107]
root        117  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/108]
root        118  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/109]
root        119  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/110]
root        120  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/111]
root        121  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/112]
root        122  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/113]
root        123  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/114]
root        124  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/115]
root        125  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/116]
root        126  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/117]
root        127  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/118]
root        128  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/119]
root        129  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/120]
root        130  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/121]
root        131  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/122]
root        132  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/123]
root        133  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/124]
root        134  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/125]
root        135  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/126]
root        136  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/127]
root        137  0.0  0.0      0     0 ?        R    Mar19   0:00 [rcu_sched]
root        138  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/0]
root        139  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/1]
root        140  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/2]
root        141  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/3]
root        142  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/4]
root        143  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/5]
root        144  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/6]
root        145  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/7]
root        146  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/8]
root        147  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/9]
root        148  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/10]
root        149  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/11]
root        150  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/12]
root        151  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/13]
root        152  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/14]
root        153  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/15]
root        154  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/16]
root        155  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/17]
root        156  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/18]
root        157  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/19]
root        158  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/20]
root        159  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/21]
root        160  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/22]
root        161  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/23]
root        162  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/24]
root        163  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/25]
root        164  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/26]
root        165  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/27]
root        166  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/28]
root        167  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/29]
root        168  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/30]
root        169  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/31]
root        170  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/32]
root        171  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/33]
root        172  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/34]
root        173  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/35]
root        174  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/36]
root        175  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/37]
root        176  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/38]
root        177  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/39]
root        178  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/40]
root        179  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/41]
root        180  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/42]
root        181  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/43]
root        182  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/44]
root        183  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/45]
root        184  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/46]
root        185  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/47]
root        186  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/48]
root        187  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/49]
root        188  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/50]
root        189  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/51]
root        190  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/52]
root        191  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/53]
root        192  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/54]
root        193  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/55]
root        194  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/56]
root        195  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/57]
root        196  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/58]
root        197  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/59]
root        198  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/60]
root        199  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/61]
root        200  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/62]
root        201  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/63]
root        202  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/64]
root        203  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/65]
root        204  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/66]
root        205  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/67]
root        206  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/68]
root        207  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/69]
root        208  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/70]
root        209  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/71]
root        210  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/72]
root        211  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/73]
root        212  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/74]
root        213  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/75]
root        214  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/76]
root        215  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/77]
root        216  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/78]
root        217  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/79]
root        218  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/80]
root        219  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/81]
root        220  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/82]
root        221  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/83]
root        222  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/84]
root        223  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/85]
root        224  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/86]
root        225  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/87]
root        226  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/88]
root        227  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/89]
root        228  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/90]
root        229  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/91]
root        230  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/92]
root        231  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/93]
root        232  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/94]
root        233  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/95]
root        234  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/96]
root        235  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/97]
root        236  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/98]
root        237  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/99]
root        238  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/100]
root        239  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/101]
root        240  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/102]
root        241  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/103]
root        242  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/104]
root        243  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/105]
root        244  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/106]
root        245  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/107]
root        246  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/108]
root        247  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/109]
root        248  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/110]
root        249  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/111]
root        250  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/112]
root        251  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/113]
root        252  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/114]
root        253  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/115]
root        254  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/116]
root        255  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/117]
root        256  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/118]
root        257  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/119]
root        258  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/120]
root        259  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/121]
root        260  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/122]
root        261  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/123]
root        262  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/124]
root        263  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/125]
root        264  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/126]
root        265  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/127]
root        266  0.0  0.0      0     0 ?        S    Mar19   0:00 [watchdog/0]
root        267  0.0  0.0      0     0 ?        S<   Mar19   0:00 [khelper]
root        268  0.0  0.0      0     0 ?        S    Mar19   0:00 [kdevtmpfs]
root        269  0.0  0.0      0     0 ?        S<   Mar19   0:00 [netns]
root        270  0.0  0.0      0     0 ?        S<   Mar19   0:00 [writeback]
root        271  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kintegrityd]
root        272  0.0  0.0      0     0 ?        S<   Mar19   0:00 [bioset]
root        273  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kblockd]
root        274  0.0  0.0      0     0 ?        S    Mar19   0:00 [khubd]
root        275  0.0  0.0      0     0 ?        S<   Mar19   0:00 [md]
root        278  0.0  0.0      0     0 ?        S    Mar19   0:00 [khungtaskd]
root        279  0.0  0.0      0     0 ?        S    Mar19   0:00 [kswapd0]
root        280  0.0  0.0      0     0 ?        SN   Mar19   0:00 [ksmd]
root        281  0.0  0.0      0     0 ?        SN   Mar19   0:00 [khugepaged]
root        282  0.0  0.0      0     0 ?        S    Mar19   0:00 [fsnotify_mark]
root        283  0.0  0.0      0     0 ?        S<   Mar19   0:00 [crypto]
root        292  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kthrotld]
root        294  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kmpath_rdacd]
root        295  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kpsmoused]
root        315  0.0  0.0      0     0 ?        S<   Mar19   0:00 [deferwq]
root        350  0.0  0.0      0     0 ?        S    Mar19   0:00 [kauditd]
root        475  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ata_sff]
root        476  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:2]
root        478  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt_poll_0]
root        479  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt/0]
root        496  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_0]
root        497  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_0]
root        498  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_1]
root        500  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_1]
root        502  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_2]
root        503  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_2]
root        505  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ttm_swap]
root        524  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfsalloc]
root        525  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs_mru_cache]
root        526  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda2]
root        527  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda2]
root        528  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda2]
root        529  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda2]
root        530  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:1H]
root        531  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda2]
root        610  0.0  0.3  37076  3428 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-journald
root        631  0.0  0.0      0     0 ?        S<   Mar19   0:00 [rpciod]
root        637  0.0  0.2  43320  2192 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-udevd
root        670  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda3]
root        672  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda3]
root        678  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda3]
root        680  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda1]
root        681  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda3]
root        685  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda3]
root        686  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda1]
root        688  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda1]
root        690  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda1]
root        692  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda1]
root        740  0.0  0.1  48996  1608 ?        S<sl Mar19   0:00 /sbin/auditd -n
root        751  0.0  0.0  21372   420 ?        Ss   Mar19   0:00 /usr/sbin/rpc.idmapd
root        766  0.0  0.4 228220  4284 ?        Ssl  Mar19   0:00 /usr/sbin/rsyslogd -n
root        768  0.0  0.7 444624  8020 ?        Ssl  Mar19   0:00 /usr/sbin/NetworkManager --no-daemon
root        769  0.0  1.6 567640 16440 ?        Ssl  Mar19   0:03 /usr/bin/python -Es /usr/sbin/tuned -l -P
root        770  0.0  0.1 114692  1156 ?        Ss   Mar19   0:00 /usr/bin/rsync --daemon --no-detach
dbus        773  0.0  0.1  24392  1656 ?        Ss   Mar19   0:00 /bin/dbus-daemon --system --address=syste
root        775  0.0  0.1 195044  1880 ?        Ssl  Mar19   0:00 /usr/sbin/gssproxy -D
rpc         777  0.0  0.1  69096  1432 ?        Ss   Mar19   0:00 /sbin/rpcbind -w
root        787  0.0  0.1  26300  1712 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-logind
root        792  0.0  0.1 124104  1568 ?        Ss   Mar19   0:00 /usr/sbin/crond -n
root        794  0.0  0.0 110004   840 tty1     Ss+  Mar19   0:00 /sbin/agetty --noclear tty1 linux
polkitd     801  0.0  1.0 531432 10972 ?        Ssl  Mar19   0:00 /usr/lib/polkit-1/polkitd --no-debug
root       1006  0.0  0.3  80332  3564 ?        Ss   Mar19   0:00 /usr/sbin/sshd -D
rpcuser    1009  0.0  0.1  42352  1756 ?        Ss   Mar19   0:00 /usr/sbin/rpc.statd
root       1011  0.0  0.0  42528   952 ?        Ss   Mar19   0:00 /usr/sbin/rpc.mountd
root       1016  0.0  0.3 433200  3544 ?        Ssl  Mar19   0:00 /usr/sbin/automount --systemd-service --d
root       1028  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4]
root       1033  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4_callbacks]
root       1037  0.0  0.0      0     0 ?        S    Mar19   0:00 [lockd]
root       1049  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1053  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1057  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1062  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1066  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1070  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1074  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1078  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1241  0.0  0.2  88912  2152 ?        Ss   Mar19   0:00 /usr/libexec/postfix/master -w
postfix    1248  0.0  0.3  89084  3908 ?        S    Mar19   0:00 qmgr -l -t unix -u
root       2155  0.0  1.5 112496 15812 ?        S    Mar19   0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-
root       2180  0.0  0.5 143668  5624 ?        Ss   Mar19   0:00 sshd: root@pts/0,pts/1
root       2182  0.0  0.2 115352  2080 pts/0    Ss   Mar19   0:00 -bash
postfix    3610  0.0  0.3  89016  3880 ?        S    00:22   0:00 pickup -l -t unix -u
root       3845  0.0  0.0      0     0 ?        S    01:18   0:00 [kworker/0:2]
root       3863  0.0  0.0      0     0 ?        S    01:20   0:00 [kworker/0:3]
root       3885  0.0  0.1 115352  1988 pts/1    Ss+  01:23   0:00 -bash
root       3927  0.0  0.0      0     0 ?        R    01:25   0:00 [kworker/0:0]
root       3934  0.0  0.1 141504  1648 pts/0    R+   01:28   0:00 ps aux
[root@master ~]# kill 3610
[root@master ~]# ps  aux
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.3  41280  3696 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd --switched-root 
root          2  0.0  0.0      0     0 ?        S    Mar19   0:00 [kthreadd]
root          3  0.0  0.0      0     0 ?        S    Mar19   0:00 [ksoftirqd/0]
root          5  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:0H]
root          6  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:0]
root          7  0.0  0.0      0     0 ?        S    Mar19   0:00 [migration/0]
root          8  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcu_bh]
root          9  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/0]
root         10  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/1]
root         11  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/2]
root         12  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/3]
root         13  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/4]
root         14  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/5]
root         15  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/6]
root         16  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/7]
root         17  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/8]
root         18  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/9]
root         19  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/10]
root         20  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/11]
root         21  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/12]
root         22  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/13]
root         23  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/14]
root         24  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/15]
root         25  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/16]
root         26  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/17]
root         27  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/18]
root         28  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/19]
root         29  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/20]
root         30  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/21]
root         31  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/22]
root         32  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/23]
root         33  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/24]
root         34  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/25]
root         35  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/26]
root         36  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/27]
root         37  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/28]
root         38  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/29]
root         39  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/30]
root         40  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/31]
root         41  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/32]
root         42  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/33]
root         43  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/34]
root         44  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/35]
root         45  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/36]
root         46  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/37]
root         47  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/38]
root         48  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/39]
root         49  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/40]
root         50  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/41]
root         51  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/42]
root         52  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/43]
root         53  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/44]
root         54  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/45]
root         55  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/46]
root         56  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/47]
root         57  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/48]
root         58  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/49]
root         59  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/50]
root         60  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/51]
root         61  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/52]
root         62  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/53]
root         63  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/54]
root         64  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/55]
root         65  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/56]
root         66  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/57]
root         67  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/58]
root         68  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/59]
root         69  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/60]
root         70  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/61]
root         71  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/62]
root         72  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/63]
root         73  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/64]
root         74  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/65]
root         75  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/66]
root         76  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/67]
root         77  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/68]
root         78  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/69]
root         79  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/70]
root         80  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/71]
root         81  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/72]
root         82  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/73]
root         83  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/74]
root         84  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/75]
root         85  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/76]
root         86  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/77]
root         87  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/78]
root         88  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/79]
root         89  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/80]
root         90  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/81]
root         91  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/82]
root         92  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/83]
root         93  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/84]
root         94  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/85]
root         95  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/86]
root         96  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/87]
root         97  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/88]
root         98  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/89]
root         99  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/90]
root        100  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/91]
root        101  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/92]
root        102  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/93]
root        103  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/94]
root        104  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/95]
root        105  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/96]
root        106  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/97]
root        107  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/98]
root        108  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/99]
root        109  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/100]
root        110  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/101]
root        111  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/102]
root        112  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/103]
root        113  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/104]
root        114  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/105]
root        115  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/106]
root        116  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/107]
root        117  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/108]
root        118  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/109]
root        119  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/110]
root        120  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/111]
root        121  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/112]
root        122  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/113]
root        123  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/114]
root        124  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/115]
root        125  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/116]
root        126  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/117]
root        127  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/118]
root        128  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/119]
root        129  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/120]
root        130  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/121]
root        131  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/122]
root        132  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/123]
root        133  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/124]
root        134  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/125]
root        135  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/126]
root        136  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/127]
root        137  0.0  0.0      0     0 ?        R    Mar19   0:00 [rcu_sched]
root        138  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/0]
root        139  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/1]
root        140  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/2]
root        141  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/3]
root        142  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/4]
root        143  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/5]
root        144  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/6]
root        145  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/7]
root        146  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/8]
root        147  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/9]
root        148  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/10]
root        149  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/11]
root        150  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/12]
root        151  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/13]
root        152  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/14]
root        153  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/15]
root        154  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/16]
root        155  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/17]
root        156  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/18]
root        157  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/19]
root        158  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/20]
root        159  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/21]
root        160  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/22]
root        161  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/23]
root        162  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/24]
root        163  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/25]
root        164  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/26]
root        165  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/27]
root        166  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/28]
root        167  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/29]
root        168  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/30]
root        169  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/31]
root        170  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/32]
root        171  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/33]
root        172  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/34]
root        173  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/35]
root        174  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/36]
root        175  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/37]
root        176  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/38]
root        177  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/39]
root        178  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/40]
root        179  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/41]
root        180  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/42]
root        181  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/43]
root        182  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/44]
root        183  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/45]
root        184  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/46]
root        185  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/47]
root        186  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/48]
root        187  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/49]
root        188  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/50]
root        189  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/51]
root        190  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/52]
root        191  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/53]
root        192  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/54]
root        193  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/55]
root        194  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/56]
root        195  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/57]
root        196  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/58]
root        197  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/59]
root        198  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/60]
root        199  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/61]
root        200  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/62]
root        201  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/63]
root        202  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/64]
root        203  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/65]
root        204  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/66]
root        205  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/67]
root        206  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/68]
root        207  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/69]
root        208  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/70]
root        209  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/71]
root        210  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/72]
root        211  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/73]
root        212  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/74]
root        213  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/75]
root        214  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/76]
root        215  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/77]
root        216  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/78]
root        217  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/79]
root        218  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/80]
root        219  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/81]
root        220  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/82]
root        221  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/83]
root        222  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/84]
root        223  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/85]
root        224  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/86]
root        225  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/87]
root        226  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/88]
root        227  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/89]
root        228  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/90]
root        229  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/91]
root        230  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/92]
root        231  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/93]
root        232  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/94]
root        233  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/95]
root        234  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/96]
root        235  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/97]
root        236  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/98]
root        237  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/99]
root        238  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/100]
root        239  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/101]
root        240  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/102]
root        241  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/103]
root        242  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/104]
root        243  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/105]
root        244  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/106]
root        245  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/107]
root        246  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/108]
root        247  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/109]
root        248  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/110]
root        249  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/111]
root        250  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/112]
root        251  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/113]
root        252  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/114]
root        253  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/115]
root        254  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/116]
root        255  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/117]
root        256  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/118]
root        257  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/119]
root        258  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/120]
root        259  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/121]
root        260  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/122]
root        261  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/123]
root        262  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/124]
root        263  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/125]
root        264  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/126]
root        265  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/127]
root        266  0.0  0.0      0     0 ?        S    Mar19   0:00 [watchdog/0]
root        267  0.0  0.0      0     0 ?        S<   Mar19   0:00 [khelper]
root        268  0.0  0.0      0     0 ?        S    Mar19   0:00 [kdevtmpfs]
root        269  0.0  0.0      0     0 ?        S<   Mar19   0:00 [netns]
root        270  0.0  0.0      0     0 ?        S<   Mar19   0:00 [writeback]
root        271  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kintegrityd]
root        272  0.0  0.0      0     0 ?        S<   Mar19   0:00 [bioset]
root        273  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kblockd]
root        274  0.0  0.0      0     0 ?        S    Mar19   0:00 [khubd]
root        275  0.0  0.0      0     0 ?        S<   Mar19   0:00 [md]
root        278  0.0  0.0      0     0 ?        S    Mar19   0:00 [khungtaskd]
root        279  0.0  0.0      0     0 ?        S    Mar19   0:00 [kswapd0]
root        280  0.0  0.0      0     0 ?        SN   Mar19   0:00 [ksmd]
root        281  0.0  0.0      0     0 ?        SN   Mar19   0:00 [khugepaged]
root        282  0.0  0.0      0     0 ?        S    Mar19   0:00 [fsnotify_mark]
root        283  0.0  0.0      0     0 ?        S<   Mar19   0:00 [crypto]
root        292  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kthrotld]
root        294  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kmpath_rdacd]
root        295  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kpsmoused]
root        315  0.0  0.0      0     0 ?        S<   Mar19   0:00 [deferwq]
root        350  0.0  0.0      0     0 ?        S    Mar19   0:00 [kauditd]
root        475  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ata_sff]
root        476  0.0  0.0      0     0 ?        S    Mar19   0:00 [kworker/u256:2]
root        478  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt_poll_0]
root        479  0.0  0.0      0     0 ?        S<   Mar19   0:00 [mpt/0]
root        496  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_0]
root        497  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_0]
root        498  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_1]
root        500  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_1]
root        502  0.0  0.0      0     0 ?        S    Mar19   0:00 [scsi_eh_2]
root        503  0.0  0.0      0     0 ?        S<   Mar19   0:00 [scsi_tmf_2]
root        505  0.0  0.0      0     0 ?        S<   Mar19   0:00 [ttm_swap]
root        524  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfsalloc]
root        525  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs_mru_cache]
root        526  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda2]
root        527  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda2]
root        528  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda2]
root        529  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda2]
root        530  0.0  0.0      0     0 ?        S<   Mar19   0:00 [kworker/0:1H]
root        531  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda2]
root        610  0.0  0.3  37076  3432 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-journald
root        631  0.0  0.0      0     0 ?        S<   Mar19   0:00 [rpciod]
root        637  0.0  0.2  43320  2192 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-udevd
root        670  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda3]
root        672  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda3]
root        678  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda3]
root        680  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-buf/sda1]
root        681  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda3]
root        685  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda3]
root        686  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-data/sda1]
root        688  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-conv/sda1]
root        690  0.0  0.0      0     0 ?        S<   Mar19   0:00 [xfs-cil/sda1]
root        692  0.0  0.0      0     0 ?        S    Mar19   0:00 [xfsaild/sda1]
root        740  0.0  0.1  48996  1608 ?        S<sl Mar19   0:00 /sbin/auditd -n
root        751  0.0  0.0  21372   420 ?        Ss   Mar19   0:00 /usr/sbin/rpc.idmapd
root        766  0.0  0.4 228220  4284 ?        Ssl  Mar19   0:00 /usr/sbin/rsyslogd -n
root        768  0.0  0.7 444624  8020 ?        Ssl  Mar19   0:00 /usr/sbin/NetworkManager --no-daemon
root        769  0.0  1.6 567640 16440 ?        Ssl  Mar19   0:03 /usr/bin/python -Es /usr/sbin/tuned -l -P
root        770  0.0  0.1 114692  1156 ?        Ss   Mar19   0:00 /usr/bin/rsync --daemon --no-detach
dbus        773  0.0  0.1  24392  1656 ?        Ss   Mar19   0:00 /bin/dbus-daemon --system --address=syste
root        775  0.0  0.1 195044  1880 ?        Ssl  Mar19   0:00 /usr/sbin/gssproxy -D
rpc         777  0.0  0.1  69096  1432 ?        Ss   Mar19   0:00 /sbin/rpcbind -w
root        787  0.0  0.1  26300  1712 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd-logind
root        792  0.0  0.1 124104  1568 ?        Ss   Mar19   0:00 /usr/sbin/crond -n
root        794  0.0  0.0 110004   840 tty1     Ss+  Mar19   0:00 /sbin/agetty --noclear tty1 linux
polkitd     801  0.0  1.0 531432 10972 ?        Ssl  Mar19   0:00 /usr/lib/polkit-1/polkitd --no-debug
root       1006  0.0  0.3  80332  3564 ?        Ss   Mar19   0:00 /usr/sbin/sshd -D
rpcuser    1009  0.0  0.1  42352  1756 ?        Ss   Mar19   0:00 /usr/sbin/rpc.statd
root       1011  0.0  0.0  42528   952 ?        Ss   Mar19   0:00 /usr/sbin/rpc.mountd
root       1016  0.0  0.3 433200  3544 ?        Ssl  Mar19   0:00 /usr/sbin/automount --systemd-service --d
root       1028  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4]
root       1033  0.0  0.0      0     0 ?        S<   Mar19   0:00 [nfsd4_callbacks]
root       1037  0.0  0.0      0     0 ?        S    Mar19   0:00 [lockd]
root       1049  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1053  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1057  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1062  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1066  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1070  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1074  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1078  0.0  0.0      0     0 ?        S    Mar19   0:00 [nfsd]
root       1241  0.0  0.2  88912  2152 ?        Ss   Mar19   0:00 /usr/libexec/postfix/master -w
postfix    1248  0.0  0.3  89084  3908 ?        S    Mar19   0:00 qmgr -l -t unix -u
root       2155  0.0  1.5 112496 15812 ?        S    Mar19   0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-
root       2180  0.0  0.5 143668  5624 ?        Ss   Mar19   0:00 sshd: root@pts/0,pts/1
root       2182  0.0  0.2 115352  2080 pts/0    Ss   Mar19   0:00 -bash
root       3845  0.0  0.0      0     0 ?        R    01:18   0:00 [kworker/0:2]
root       3863  0.0  0.0      0     0 ?        S    01:20   0:00 [kworker/0:3]
root       3885  0.0  0.1 115352  1988 pts/1    Ss+  01:23   0:00 -bash
root       3927  0.0  0.0      0     0 ?        S    01:25   0:00 [kworker/0:0]
root       3936  0.0  0.0      0     0 ?        S    01:28   0:00 [kworker/0:1]
root       3937  0.0  0.1 141504  1648 pts/0    R+   01:28   0:00 ps aux
4、启动/停止服务
启动

systemctl start 服务名
systemctl enable 服务名

重启启动
systemctl restart 服务名


停止
systemctl stop 服务名

systemctl disable 服务名
5、查看日志
tail -f  文件名     --可实时看到日志更新
less 
more
cat
head -n  几行  文件名
vi/vim
nano
grep  --过滤你需要查看的关键字日志文件
6、查看端口:(如查看某个端口是否被占用)

  

netstat -tulpn |grep 22
ss -tulpn |grep 22
ps aux |grep 22



具体过程演示
[root@master ~]# netstat -tulpn |grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1006/sshd           
tcp6       0      0 :::22                   :::*                    LISTEN      1006/sshd           
[root@master ~]# ss -tulpn |grep 22
tcp    LISTEN     0      128                    *:22                    *:*      users:(("sshd",1006,3))
tcp    LISTEN     0      128                   :::22                   :::*      users:(("sshd",1006,4))
[root@master ~]# ps aux |grep 22
root          1  0.0  0.3  41280  3696 ?        Ss   Mar19   0:00 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root         22  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/13]
root         31  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/22]
root        122  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/113]
root        131  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuob/122]
root        160  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/22]
root        220  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/82]
root        221  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/83]
root        222  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/84]
root        223  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/85]
root        224  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/86]
root        225  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/87]
root        226  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/88]
root        227  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/89]
root        228  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/90]
root        229  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/91]
root        260  0.0  0.0      0     0 ?        S    Mar19   0:00 [rcuos/122]
root        766  0.0  0.4 228220  4284 ?        Ssl  Mar19   0:00 /usr/sbin/rsyslogd -n
root       3979  0.0  0.0 112640   960 pts/0    R+   01:37   0:00 grep --color=auto 22
7、查找文件

  7.1、查找大小超过xx的文件:
  7.2、通过文件名:

通过大小查找

find /data -type f -size +1M 

文件名
find /data -name "*.txt"





具体过程演示
[root@master ~]# find /data -type f -size +1M
[root@master ~]# find /data -name "*.txt"
/data/1.txt
/data/2.txt
/data/3.txt
/data/4.txt
/data/5.txt
/data/6.txt
/data/7.txt
/data/8.txt
/data/9.txt
/data/10.txt
/data/11.txt
/data/12.txt
/data/13.txt
/data/14.txt
/data/15.txt
/data/16.txt
/data/17.txt
/data/18.txt
/data/19.txt
/data/20.txt
/data/nwq1.txt
/data/nwq2.txt