Skip to content

Instantly share code, notes, and snippets.

@4n6ist
4n6ist / utmp.py
Created February 3, 2018 12:05
simple utmp parser
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# simple utmp parser
# Reference
# http://man7.org/linux/man-pages/man5/utmp.5.html
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at