anchor.diff:  prep_tmp_dir() ->
       % this may not be a good idea
       {A, B, C} = now(),
  -    DirName = "/tmp/" ++ integer_to_list(A+B+C),
  +    DirPrefix = "/tmp/" ++ integer_to_list(A+B+C),
  +    file:make_dir(DirPrefix),
  +    DirName = DirPrefix ++ "/export/",
       file:make_dir(DirName),
       DirName.
   
  
positive.code: 
  write_to_file([], Dir) -> 
      % gathered everything, now package it;
      os:cmd("tar czf export.tgz " ++ Dir);
  
  write_to_file(Outputs, Dir) ->
      [H|T] = Outputs,
  
negative.code:     TmpDir = prep_tmp_dir(),
      CmdList = get_cmd_list(),
      Outputs = run_commands(CmdList),
      write_to_file(Outputs, TmpDir),
      cleanup_tmp_dir(TmpDir).
  
  get_cmd_list() ->
      case os:type() of 
          {unix, darwin} ->
              [
               %% the pattern here should be:
               %% {"desired_filename", "command_to_run"},
               {"iostat", "iostat 1 5"}
               %% {"fstab", "cat /etc/fstab"}
              ];
          {unix, linux}  -> 
              [
               {"iostat", "iostat 1 5"},
               {"fstab", "cat /etc/fstab"}
              ];
          _ -> [] % maybe throw an error here?
      end.
  
  run_commands(CmdList) ->
      [{Name, riaknostic_util:run_command(Cmd)} ||
  