Splunk Search

pstack以外の代替手段について

cweiliou_splunk
Splunk Employee
Splunk Employee

フォワーダーの splunkd プロセスが異常に CPU を使用している問題で、Splunk サポートに調査を依頼するため、pstack サンプルを採集しょうとしましたが、どうも pstack は Ubuntu 環境ではうまく動作しないようで、pstack と同等な情報を採集できる他のコマンドはありますでしょうか。

0 Karma
1 Solution

cweiliou_splunk
Splunk Employee
Splunk Employee

eustack は同等な情報を採集できます。
以下の手順で eustack をインストールし、スクリプトを実行する前に を実際の splunkd のプロセス ID に入れ替えて、サンプルを採集してみてください。

$ sudo su splunk
$ sudo apt install -y elfutils
$ mkdir /tmp/eustack/
$ for i in $(seq 1 600); do sudo eu-stack -p <PID> > /tmp/eustack/stack.<PID>.$i.$(date -u +%Y%m%d-%H%M%S-%N); sleep 0.1; done

View solution in original post

cweiliou_splunk
Splunk Employee
Splunk Employee

eustack は同等な情報を採集できます。
以下の手順で eustack をインストールし、スクリプトを実行する前に を実際の splunkd のプロセス ID に入れ替えて、サンプルを採集してみてください。

$ sudo su splunk
$ sudo apt install -y elfutils
$ mkdir /tmp/eustack/
$ for i in $(seq 1 600); do sudo eu-stack -p <PID> > /tmp/eustack/stack.<PID>.$i.$(date -u +%Y%m%d-%H%M%S-%N); sleep 0.1; done
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...