Look at the cpuinfo proc file to get information about the kind of CPUs present on your system.
- [Narrator] So let's do a MORE on PROC CPUINFO.…Alright so I was just an ordinary user there…and we see information here including all kinds of flags…about what that CPU can do,…and we see it's an Intel i7 at 3.10 Ghz.…That's a PROC file so more doesn't know how big it is…so that's why it says 0%, and I can page through this.…So one thing we could do is we could GREP the word processor…and PROC CPUINFO.…
And we find out we have four.…So sometimes that's kind of handy.…Now let's try the command LSHW.…We got some sort of message up there…and then it says output may be incomplete or inaccurate,…you should run this program as super-user.…And I'm not wearing my big 'S' shirt but…I'm going to try this again, SUDO LSHW.…And there we get the list and let's try that again,…piped into MORE.…
We get all kinds of information.…Instead of more, if we pipe it into WORDCOUNT minus L…to count the number of lines of output,…I got 427 lines of output so there's quite a bit of stuff…you can get from LSHW.…And from what package does that command come,…
- Timing techniques
- Packages for performance
- Identifying and optimizing CPU bottlenecks
- Finding memory bottlenecks
- Diagnosing disk bottlenecks
Skill Level Intermediate
Learning Linux Shell Scriptingwith Sarath Lakshman8h 19m Intermediate
1. Performance Overview
2. CPU Bottlenecks
3. Memory Bottlenecks
4. Disk Bottlenecks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.