Skip to content

tclahr/statx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

statx

This program uses the statx system call to return file status (extended) in the body file format. The code was based on the example provided in the Linux kernel test-statx.c.

Body file format

MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime

🔧 Building

make ARCH

🚀 How to use it

./statx FILE

Example

./statx /etc        
0|/etc|269|drwxr-xr-x|0|0|3242|1696957845|1696940645|1696940645|1678364047

📜 License

The statx project uses the Apache License Version 2.0 software license.

About

This program uses the statx system call to return file status (extended) in the body file format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published