Advertisement
Guest User

timeit.sh

a guest
Jun 17th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. env time -f "Full Command:              %C\
  3.          \\nMemory (kb):               %M\
  4.          \\n# SWAP  (freq):            %W\
  5.          \\n# Waits (freq):            %w\
  6.          \\nCPU (percent):             %P\
  7.          \\nTime (seconds):            %e\
  8.          \\nTime (hh:mm:ss.ms):        %E\
  9.          \\nSystem CPU Time (seconds): %S\
  10.          \\nUser CPU Time (seconds):   %U" "$@"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement