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

Output as tab-separated values #51

Open
esyr opened this issue Feb 28, 2018 · 5 comments
Open

Output as tab-separated values #51

esyr opened this issue Feb 28, 2018 · 5 comments

Comments

@esyr
Copy link
Member

esyr commented Feb 28, 2018

From https://sourceforge.net/p/strace/feature-requests/4/
Author: John D. Ramsdell (@ramsdell, presumably)

The strace program generates a line of text describing each system call made by processes it is tracing. The output is designed to be human readable, but it is not easily parsed by simple scripts.
To ease the task of analyzing strace output, the strace2tsv program, which is enclosed, formats the elements that make up a system call into tab separated values. In the output, the system call name, each argument, and the system call result make up a value in a line of output. An strace line of output that describes a signal is copied to the output unchanged.
See the strace2tsv manual page for more details.

strace2tsv-1.0.tar.gz

@ramsdell
Copy link

Thank you for reviving this request. I hope people find this package useful.

@ldv-alt ldv-alt changed the title Otput as tab-separated values Output as tab-separated values Feb 28, 2018
@esyr esyr added the from/sf label Mar 28, 2018
@ioquatix
Copy link

Can we just build --json or --csv into the strace binary?

@ramsdell
Copy link

ramsdell commented Apr 2, 2019

Can we just build --json or --csv into the strace binary?

I have seen no evidence my package was merged into the strike mainline. You could hack the program I provided.

@siscia
Copy link

siscia commented Aug 7, 2019

This would be extremely helpful in a lot of situation!

@rchateauneu
Copy link

Ideally, output in RDF, in N-Triples format which is line-based, with one line per event.

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

No branches or pull requests

5 participants