Yesterday a 20 line shell script caught a race condition in one of software I work on. Our best engineers looked at the problem, a vendor case was filed, and there was thoughts of automatically restarted the application to fix the issue at hand.
In the end, a 20 line shell script to strace for file operations continuously provided the needed visibility into the issue at hand.
Update: The shell script.
The shell script itself, though trivial, is owned by the company I work for, but the basic concept was as follows:
#!/bin/bash










don't forget to vote if you find something useful!!
43 weeks 3 days ago
44 weeks 23 hours ago
47 weeks 3 hours ago
49 weeks 4 days ago
49 weeks 4 days ago
49 weeks 5 days ago
49 weeks 5 days ago
1 year 1 week ago
1 year 3 weeks ago
1 year 3 weeks ago