How can I run strace forever

Updated -

The following script will create a ring of N files (N provided as an argument) with the names /tmp/cycle-strace-PID-N. PID (provided as an argument) is the the process ID of a process and N ranges from 1-N. Each file is the output of running strace over the PID for S seconds, with S provided as an argument. At the end of each run of strace a test is conducted to determine if the script should ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.