Skip to Content
Arista Warrior
book

Arista Warrior

by Gary A. Donahue
October 2012
Intermediate to advanced
419 pages
10h 47m
English
O'Reilly Media, Inc.
Content preview from Arista Warrior

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition

Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition

Matthew Helmke
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
Wireless Hacks

Wireless Hacks

Rob Flickenger

Publisher Resources

ISBN: 9781449358921Errata Page