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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...