• Robin Burchell's avatar
    host_linux: Skip everything that isn't a normal process. · 3fc7bc1e
    Robin Burchell authored
    host_darwin does the same filtering. Not doing this gives us some rather strange
    entries that likely aren't what we want.
    
    Before:
        {"user":"reboot","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378260}
        {"user":"LOGIN","terminal":"ttyS0","host":"","started":1454378270}
        {"user":"LOGIN","terminal":"tty1","host":"","started":1454378270}
        {"user":"runlevel","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378276}
        {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513}
    
    After:
        {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513}
    3fc7bc1e
host_linux.go 9.57 KB