# ps aux | grep ovs-vswitchd root 75975 200 0.3 135321916 222240 ? S<Lsl Jan04 2957:13 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach root 2101431 0.0 0.0 13136 1004 pts/1 S+ 08:34 0:00 grep --color=auto ovs-vswitchd # ls /var/run/openvswitch/ br-ex.mgmt br-int.snoop data.mgmt ovs-vswitchd.75975.ctl br-ex.snoop br-smgt.mgmt data.snoop ovs-vswitchd.pid br-floating.mgmt br-smgt.snoop db.sock br-floating.snoop br-tun.mgmt ovsdb-server.75906.ctl br-int.mgmt br-tun.snoop ovsdb-server.pid # systemctl stop openvswitch-switch # ls -l /var/run/openvswitch/ ls: cannot access '/var/run/openvswitch/': No such file or directory #
# ps aux | grep ovs-vswitchd run/openvswitch /db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file= /var/log/ openvswitch/ ovs-vswitchd. log --pidfile= /var/run/ openvswitch/ ovs-vswitchd. pid --detach openvswitch/ 75975.ctl 75906.ctl openvswitch/ openvswitch/ ': No such file or directory
root 75975 200 0.3 135321916 222240 ? S<Lsl Jan04 2957:13 ovs-vswitchd unix:/var/
root 2101431 0.0 0.0 13136 1004 pts/1 S+ 08:34 0:00 grep --color=auto ovs-vswitchd
# ls /var/run/
br-ex.mgmt br-int.snoop data.mgmt ovs-vswitchd.
br-ex.snoop br-smgt.mgmt data.snoop ovs-vswitchd.pid
br-floating.mgmt br-smgt.snoop db.sock
br-floating.snoop br-tun.mgmt ovsdb-server.
br-int.mgmt br-tun.snoop ovsdb-server.pid
# systemctl stop openvswitch-switch
# ls -l /var/run/
ls: cannot access '/var/run/
#