#!/bin/bash
set -e
set -x
#reset
log=/tmp
ip=172.16.65.168
#env HEAPCHECK=normal PPROF_PATH=/usr/local/sbin/pprof \
gdb --ex "handle SIGPIPE nostop noprint" --ex run --args \
./xxx_smb \
-master_server=$ip -client_ip=$ip -cluster_uuid=a1e96909-2935-438f-b6a9-cd08af8e29f8 \
--master_server_port=8888 -port=445 \
-minloglevel=0 -alsologtostderr -logbufsecs=0 -fs="debug" -enable_cifs_guest=false \
$1
#-vmodule=nfsd_v2_impl=1
set +e
set +x
exit 0
阅读(640) | 评论(0) | 转发(0) |