{"id":262243,"date":"2026-06-02T13:00:00","date_gmt":"2026-06-02T17:00:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/02\/linux-fu-taming-strace-hackaday\/"},"modified":"2026-06-02T14:15:32","modified_gmt":"2026-06-02T18:15:32","slug":"linux-fu-taming-strace-hackaday","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/02\/linux-fu-taming-strace-hackaday\/","title":{"rendered":"Linux Fu: Taming Strace | Hackaday"},"content":{"rendered":"<p><a href=\"https:\/\/hackaday.com\/2026\/06\/02\/linux-fu-taming-strace\/\">Linux Fu: Taming Strace | Hackaday<\/a><\/p>\n<p><a href=\"https:\/\/hackaday.com\/2026\/06\/02\/linux-fu-taming-strace\/\">https:\/\/hackaday.com\/2026\/06\/02\/linux-fu-taming-strace\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-02 13:00:00<\/a><\/p>\n<p>Source Domain: <a href=\"hackaday.com\">hackaday.com<\/a><\/p>\n<p>While many operating systems seem to try to prevent you from peeking under the hood, Unix and Linux positively encourage it. One great tool that we\u2019ve looked at before is strace. Using this tool, you can see details about every system call a program makes. As you might imagine, for any significant program, the output from strace can be huge.<\/p>\n<p>While I\u2019m not always a fan of GUIs, this is one of those cases where making the data easier to browse is a great idea. Enter strace-tui, a text-based GUI for strace from [Rodrigodd]. The program can parse output from strace or manage the strace execution itself, and either way, display the data in a useful way.<\/p>\n<p>I started out looking at [janestreet\u2019s] strace_ui, but the OCaml setup was throwing errors for me, so I just gave up. The strace-tui installs like many Rust programs, using cargo, and it went smoothly.<\/p>\n<h2>An Example<\/h2>\n<p>The strace-tui interface.<\/p>\n<p>The only issue I had running the tool was that I don\u2019t normally keep ~\/.cargo\/bin on my path. You can add it to your path, link the executable into your path, or solve that in any number of other ways.<\/p>\n<p>As an example, I traced a symbolic link command (ln -sf nature.txt test.link). It is easy to pick out some essential information on the top line. The command took 112 system calls, 14 of them failed (which isn\u2019t unexpected), there were no unfinished calls, no signals, and only a single PID.<\/p>\n<p>The bottom shows things you can do. Arrows or j and k, along with the usual cursor control keys like Home and Page Down scroll through the list. The right and left arrows will expand or collapse items. That will show details about the call in question, including the arguments and return values. You can consult the help for all the details.<\/p>\n<h2>Useful Tools<\/h2>\n<p>The real power, though, lies in filtering out the noise and searching for specific things. If you are looking at something you don\u2019t want to see, you can press a lowercase h to hide it, but note that it hides everything similar,&#8230;<\/p>\n<p><a href=\"https:\/\/hackaday.com\/2026\/06\/02\/linux-fu-taming-strace\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux Fu: Taming Strace | Hackaday https:\/\/hackaday.com\/2026\/06\/02\/linux-fu-taming-strace\/ Publish Date: 2026-06-02 13:00:00 Source Domain: hackaday.com While&#8230;<\/p>\n","protected":false},"author":1,"featured_media":262244,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/hackaday.com\/wp-content\/uploads\/2020\/05\/LinuxFu.jpg","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-262243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/262243"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=262243"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/262243\/revisions"}],"predecessor-version":[{"id":262245,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/262243\/revisions\/262245"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/262244"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=262243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=262243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=262243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}