Skip to content

Instantly share code, notes, and snippets.

@pmuller
Last active August 29, 2015 14:16
Show Gist options
  • Save pmuller/5a970a6605f9b16ebe2f to your computer and use it in GitHub Desktop.
Save pmuller/5a970a6605f9b16ebe2f to your computer and use it in GitHub Desktop.
Generate a list of facts names, ordered by their generation time
#!/bin/sh
facter --timing 2>&1 | perl -ne '/^(.*): (\d+\.\d+)ms/ && print $2 . " " . $1 . "\n"' | sort -nu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment