标签:docker pre $1 shift 命令 alias 如何 trace strace
alias cstrace='cstrace(){PID=$(cpid "$1");shift;sudo strace -tt -T -f -s 200 -p "${PID}" $@};cstrace $@'
假设docker容器名叫test
cstrace test
标签:docker pre $1 shift 命令 alias 如何 trace strace
原文地址:https://www.cnblogs.com/futuretea/p/11996952.html