DLPX-75405 nfs_threads script should flush output and include timestamps #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
The
/usr/bin/nfs_thread
s script on the Delphix engine does not currently flush its output so redirecting it to a file results in an empty file. It is useful for Support to be able to capture this output when troubleshooting NFS issues.To be able to match up the output with other estat data, it would also be useful to have it include timestamps on each line.
Solution:
The following improvements were added to nfs_threads script
Testing
ab-pre-push:
http://selfservice.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-orchestrator-pre-push/5276/
Manually tested on
dcol1
Manually tested to confirm that flush works (can now tail output from nohup output file)