Forum Discussion
Bob_Z_148422
Nimbostratus
Dec 28, 2016LTM VE: task using high CPU
Every now and then a task stats running at high CPU and causes a lag in normal transactions.
I see that five processes are created very frequently and I assume they are for a request going throu...
Dec 28, 2016
Hey Bob!
Try running this:
watch -n1 "ps aux | awk '{if(\$3 > 10){ print \$0 }}' >> /var/tmp/psstat.log"
What it does is to once per second capture the CPU usage of processes using more than 10% CPU (increase the limit if you see fit) and logs it into
/var/tmp/psstat.log
Then you can sort it by running:
cat /var/tmp/psstat.log | sort -rk 3,3
If you can paste the rows containing the mysterious process we might be able to figure it out.
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects