From the course: Linux Performance Tuning
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
SystemTap and Berkeley Packet Filter - Linux Tutorial
From the course: Linux Performance Tuning
SystemTap and Berkeley Packet Filter
- [Kevin] The command for SystemTap is stap. SystemTap are scripts in the SystemTap language, and they interact with the kernel to get information or change some things. SystemTap's been around for a while, and there's quite a few examples, and they could be kind of handy, so there's actually some stap utilities that you can run to get some good kernel information. You want to install, on most distros, the systemtap-client package. And then, that puts a lot of these examples, which are actually useful utilities as well as examples that you could use to make your new own SystemTap programs. So look in /usr/share/systemtap/examples. So let's look at using SystemTap. So that should be available for your distro. Just install the packages and get that to work with just an ordinary distro. It's a little bit of work to get the stuff installed. You typically got to install the kernel headers to develop with version of the kernel package, maybe the debug info of the kernel package. But once…