Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iozone: Include graphing scripts #15938

Merged
merged 1 commit into from
Jun 4, 2016
Merged

iozone: Include graphing scripts #15938

merged 1 commit into from
Jun 4, 2016

Conversation

Baughn
Copy link
Contributor

@Baughn Baughn commented Jun 2, 2016

Motivation for this change

Being able to graph the disk performance is nice.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

install docs/iozone.1 $out/share/man/man1/
install docs/Iozone_ps.gz $out/share/doc/
install -s src/current/{iozone,fileop,pit_server} $out/bin/
install src/current/gengnuplot.sh $out/libexec/
# The graphing scripts need some fixups.
echo '#!/bin/sh' > $out/libexec/Generate_Graphs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't help myself but suggest that this is more succinctly stated as sed "1i#! $shell" src/current/Generate_Graphs >$out/libexec/Generate_Graphs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done~

@joachifm
Copy link
Contributor

joachifm commented Jun 4, 2016

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants