An open API service indexing awesome lists of open source software.

https://github.com/tklauser/statx

Report file status using the Linux statx(2) syscall
https://github.com/tklauser/statx

golang linux statx syscall

Last synced: 11 months ago
JSON representation

Report file status using the Linux statx(2) syscall

Awesome Lists containing this project

README

          

# statx

statx reports file status using the Linux
[statx(2)](http://man7.org/linux/man-pages/man2/statx.2.html) syscall.

The output format of statx is implemented as close as possible to the output of
[stat(1)](http://www.gnu.org/software/coreutils/stat) from GNU coreutils.

Installation
============

```
$ go install github.com/tklauser/statx@latest
```

Usage
=====

```
Usage of ./statx:
-A disable automount
-L follow symlinks
-b basic stat(2) compatible stats only
```