2020-02-06から1日間の記事一覧

kubernetesのpod内でstraceをrunning processにアタッチしたい

問題 kubernetesのpod内で strace コマンドの -p オプションを使い、実行中のプロセスにアタッチしようとすると以下のエラーが出る。 # strace -p 1 strace: attach: ptrace(PTRACE_SEIZE, 1): Operation not permitted 原因 strace が内部的に利用している …

/* https://sunrise033.com/entry/hatena-blog-how-to-hierarchicalize-categories */