Linux命令备忘 1.查看进程启动时间:ps -eo pid,lstart,etime,cmd|grep sentinel2.gdb调试程序编译加g选项: g++ -o hi hi.cpp -I/usr/local/include/ -lhiredis -g[root@localhost r]# gdb hi(gdb) l(gdb) break 9(gdb) r(gdb) p conn(gdb) n(gdb) p ... Other 2023-11-13 49 点赞 0 评论 74 浏览