{"id":16308804,"url":"https://github.com/dgl/perl-sys-trace","last_synced_at":"2025-04-13T03:15:06.595Z","repository":{"id":66387434,"uuid":"743982","full_name":"dgl/perl-Sys-Trace","owner":"dgl","description":"Perl interface to system call tracing interfaces (strace, ktrace)","archived":false,"fork":false,"pushed_at":"2018-09-04T05:21:54.000Z","size":107,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T03:14:56.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgl.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-06-28T00:23:02.000Z","updated_at":"2025-03-18T09:26:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1da3c6d-d8ba-4cea-bcff-72ed99fb1c78","html_url":"https://github.com/dgl/perl-Sys-Trace","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fperl-Sys-Trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fperl-Sys-Trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fperl-Sys-Trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fperl-Sys-Trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgl","download_url":"https://codeload.github.com/dgl/perl-Sys-Trace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657919,"owners_count":21140846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T21:18:47.216Z","updated_at":"2025-04-13T03:15:06.590Z","avatar_url":"https://github.com/dgl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Sys::Trace - Interface to system call tracing interfaces\n\nSYNOPSIS\n      use Sys::Trace;\n\n      my $trace = Sys::Trace-\u003enew(exec =\u003e [qw(ls foo)]);\n\n      $trace-\u003estart; # Returns a PID which you can watch\n      $trace-\u003ewait;  # Alternatively call this to wait on the PID\n\n      my $result = $trace-\u003eresults; # Returns a Sys::Trace::Results object\n\n      use Cwd;\n      print $result-\u003efiles(getcwd . \"/\"); # Should show an attempt to look at \"foo\"\n                                          # in the current directory (i.e. \"ls\n                                          # foo\", above)\n\nDESCRIPTION\n    Provides a way to programmatically run or trace a program and see the\n    system calls it makes.\n\n    This can be useful during testing as a way to ensure a particular file\n    is actually opened, or another hard to test interaction actually occurs.\n\n    Currently supported tracing mechanisms are strace and ktrace.\n\nMETHODS\n  new(%args)\n    Keys in %args can be:\n\n    *   exec: Program and arguments to execute\n\n    *   pid: PID of program to trace\n\n    Only one of exec or pid must be provided.\n\n  start\n    Start running the trace.\n\n  wait\n    Wait for the trace to finish\n\n  results\n    Return a Sys::Trace::Results object populated with the results of the\n    trace.\n\nBUGS\n    This does what I wanted, it is probably woefully incomplete in places.\n\n    See \u003chttp://github.com/dgl/perl-Sys-Trace\u003e.\n\nLICENSE\n    This program is free software. It comes without any warranty, to the\n    extent permitted by applicable law. You can redistribute it and/or\n    modify it under the terms of the Do What The Fuck You Want To Public\n    License, Version 2, as published by Sam Hocevar. See\n    http://sam.zoy.org/wtfpl/COPYING or Software::License::WTFPL_2 for more\n    details.\n\nAUTHOR\n    David Leadbeater \u003cdgl@dgl.cx\u003e, 2010\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgl%2Fperl-sys-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgl%2Fperl-sys-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgl%2Fperl-sys-trace/lists"}