log-parser

command
v0.0.0-...-6a8d71f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

README

Sysbox-fs Log Parser

Simple program to parse FUSE transactions per sys-container in sysbox-fs logs.

Requires that sysbox-fs debug logging be enabled and that Sysbox uid-shifting be enabled (i.e., the script uses the uid(gid) to differentiate between system containers).

Build

go build

Usage

  • Run sysbox with uid-shifting, and sysbox-fs with debug logging enabled.

  • Parse the sysbox-fs log with:

./log-parser /var/log/sysbox-fs.log
  • This creates several files in the current directory, each showing FUSE transactions received by sysbox-fs from each sys container.

  • FYI: the parsing can take several seconds.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL