root@Standard-PC-i440FX-PIIX-1996:/home/smoke_test# gdb
fGNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1
Copyright © 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
(gdb) shell ps -ef |grep ovs
root 22857 1 0 04:57 ? 00:00:00 ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --private-key=db:Open_vSwitch,SSL,pri
root 22888 22881 0 04:59 pts/3 00:00:00 bash -c ps -ef |grep ovs
root 22890 22888 0 04:59 pts/3 00:00:00 grep ovs
(gdb) file /usr/bin/o
oakdecode objcopy oclock on_ac_power opldecode origtargz ovs-appctl ovs-ofctl ovs-vsctl ovsdb-client ovsdb-tool
obexctl objdump od openssl orbd os-prober ovs-dpctl ovs-tcpdump ovs-vswitchd ovsdb-server
(gdb) file /usr/bin/ovs-vswitchd
Reading symbols from /usr/bin/ovs-vswitchd…sedone.
(gdb) set args unix:/var/run/openvswitch/db.sock
(gdb) r
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)