![]() ![]() Let's see if prstat(1M) tells us anything. ![]() While the above is running, in another window we'll run vmstat(1M). Here is the command to import the dataset. But while it is running, memory usage always increases. Just to make this clear, the command does not always fail. My student tried with an ubuntu image, but we'll try a SmartOS image. There are currently 105 different images available. The imgadm(1M) is explained here, and in the manual page (currently, only in SmartOS). If you prefer to run it on bare metal, you can get the USB image from /Joyent_Dev/public/SmartOS/2, copy the img to a USB key, and boot your system off of the USB key. Here are good instructions for getting SmartOS running on VMware Fusion, and a link for doing the same on VirtualBox. I was able to reproduce the behavior, and if you like, you can follow along by doing the same steps on your SmartOS system you can get the latest version here. So, the question he wanted to answer was "What is using up the memory"? We'll also take a look at how the command failed (it was not because of being out of space). He was doing this on his laptop on top of VirtualBox. While teaching a combined SDC, SmartOS Internals, ZFS Internals, and DTrace course over the last 2 weeks, a student noted that he thought he was seeing a memory leak while running imgadm import dataset_uuid. ![]() ![]() (image: /content/07-blog/769-dtracing-hardware-cache-counters/ask-mr-bruning-logo.png) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |