View utmp.py
#!/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 |