Skip to primary content
Skip to secondary content

ForDoDone

Tales from the Command Line…

ForDoDone

Main menu

  • Home
  • About

Daily Archives: April 24, 2015

summing proc interrupts (testing irqbalance)

Posted on April 24, 2015 by ForDoDone
Reply

We can sum the interrupts by CPU to see how the balance is or if IRQBALANCE_BANNED_CPUS is working

# awk '{if(NR>1){for (i=2; i<=9; i++){ a[i]+=$i;}}} END {for (i in a){ j=i-2; printf "CPU"j" "; print a[i];}}' /proc/interrupts 
CPU0 173547874
CPU1 17912
CPU2 17845
CPU3 17081
CPU4 17110
CPU5 21396188
CPU6 27354442
CPU7 17073
Posted in Linux | Leave a reply
Twitter
Visit Us
Follow Me
Tweet
Instagram
RSS

Recent Posts

  • nginx map simple example
  • gracefully stop php laravel sqs worker in Docker on ECS Fargate
  • awslogs agent running inside Fargate container
  • Connect to MongoDB Atlas Replica Set via SSH Tunnels
  • list contents of all docker volumes

Tags

  • /dev/null
  • apache
  • awk
  • Bash
  • bc
  • column
  • curl
  • cut
  • dd
  • docker
  • docker-compose
  • esxcli
  • eval
  • find
  • forloop
  • git
  • grep
  • mail
  • mount
  • mysql
  • nagios
  • NFS
  • nmap
  • openssl
  • paste
  • ping
  • postfix
  • route
  • RPi
  • rsync
  • sed
  • seq
  • sort
  • ssh
  • ssh-keygen
  • tail
  • tar
  • touch
  • tr
  • uniq
  • unzip
  • vim-cmd
  • wget
  • while
  • zgrep

Categories

  • AWS
  • Bash
  • Continuous Delivery
  • Debian
  • Docker
  • General
  • Linux
  • Miscellaneous
  • MongoDB
  • MySQL
  • NetApp
  • Networking
  • One Liners
  • Puppet
  • Scripts
  • SSL
  • Troubleshooting
  • Ubuntu
  • VMWare
  • Vyatta
  • Windows
April 2015
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Mar   May »

Archives

  • October 2019
  • February 2019
  • January 2019
  • March 2018
  • December 2017
  • November 2017
  • September 2017
  • August 2017
  • June 2017
  • April 2017
  • December 2016
  • September 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
Proudly powered by WordPress