Updating startup time logic to use perl
We only need to call `uname` once.