![]() Similarly to iosnoop, it runs in real-time, displaying rows of events as they happen. The second one, fs_usage, gives a more in-depth information, showing if the information was read or written from/to a disk or sent or received over the network. If you want to monitor a particular volume or a filesystem, specify it with the “ -m” switch: sudo iosnoop -v -a -m / ![]() The “ -v” adds a timestamp to each line and the “ -a” prints additional information such as device major and minor numbers, as well as program arguments for the process. ![]() To run it, type the following in your Terminal window: sudo iosnoop -v -a Think of it as the tcpdump command for your disk operations. ![]() The first one, iosnoop, monitors the disk I/O displaying the information line by line as it happens in real-time. If you ever need to check what program is accessing your disk, use these three programs: iosnoop, fs_usage and iotop.Īll require the sudo password, as they tap deep into your kernel to get the information. MacOS X comes with great command line programs for debugging and troubleshooting various issues with your system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |