O'Reilly logo

Arista Warrior by Gary A. Donahue

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 30. Troubleshooting

There are some pretty useful diagnostic tools on Arista switches, some of which we’ve already covered, such as TCP dump. Sometimes we need to know more detail about what the switch is doing, and that’s where performance monitoring comes into play.

Performance Monitoring

A great tool on Linux systems is the top command. The top command produces output that auto-updates every few seconds (the default is three seconds on Arista switches). This command can be called from CLI with the show process top command, or from bash with the command top. Here’s a sample output from a live 7048T that’s been running for just over a month. This is a very healthy switch with nothing unusual going on. Depending on the switch platform you’re using, the processes near the top may change:

7024T#Sho proc top top - 19:46:03 up 32 days,4:14, 1 user, load average: 0.29, 0.22, 0.19 Tasks: 162 total, 2 running, 160 sleeping, 0 stopped, 0 zombie Cpu(s): 47.1%us, 2.5%sy, 0.0%ni, 50.2%id, 0.0%wa, 0.0%hi, 0.2%si, 0%st Mem: 4037980k total, 1443148k used, 2594832k free, 117576k buffers Swap: 0k total, 0k used, 0k free, 844912k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1849 root 20 0 218m 46m 22m S 43.0 1.2 19755:41 PhyBcm54980 1739 root 20 0 209m 37m 15m S 30.5 1.0 14112:41 Mdio 1916 root 20 0 270m 91m 43m S 14.9 2.3 7823:18 SandSlice 1401 root 20 0 243m 101m 62m S 3.0 2.6 1359:33 Sysdb 1403 root 20 0 229m 72m 43m S 1.3 1.8 672:25.87 Fru 1744 root 20 0 210m 37m 15m S 1.0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required