Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neko-neko/utmpdump
utmp file dumper, written in golang. Output to json or tsv or csv.
https://github.com/neko-neko/utmpdump
golang utmp
Last synced: 3 months ago
JSON representation
utmp file dumper, written in golang. Output to json or tsv or csv.
- Host: GitHub
- URL: https://github.com/neko-neko/utmpdump
- Owner: neko-neko
- License: mit
- Created: 2017-04-03T12:59:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T19:01:02.000Z (about 1 year ago)
- Last Synced: 2024-10-14T22:13:06.934Z (4 months ago)
- Topics: golang, utmp
- Language: Go
- Size: 8.79 KB
- Stars: 23
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/neko-neko/utmpdump.svg?style=svg)](https://circleci.com/gh/neko-neko/utmpdump)
# utmpdump
utmpdump is output utmp format file to json or tsv or csv.## Installation
**[Download latest binary](https://github.com/neko-neko/utmpdump/releases/latest)**Multi-platform support
- Windows
- Mac OS X
- Linux 32,64bitOr get the library
```
$ go get github.com/neko-neko/utmpdump
```
Or clone the repository and run
```
$ go install github.com/neko-neko/utmpdump
```## Usage
```
Usage of utmpdump: utmpdump [options]
-f, --file load a specific file instead of utmp
-t, --until display the lines until the specified time
-s, --since display the lines since the specified time
-o, --output display the lines at specific format. Default format is json.
```### Example
```
$ utmpdump -f /var/log/wtmp
```## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Credits
neko-neko## Contributors
[stapelberg](https://github.com/stapelberg)## License
MIT