mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
add last and lastb tests
This commit is contained in:
1
tests/fixtures/centos-7.7/last-w.json
vendored
Normal file
1
tests/fixtures/centos-7.7/last-w.json
vendored
Normal file
File diff suppressed because one or more lines are too long
69
tests/fixtures/centos-7.7/last-w.out
vendored
Normal file
69
tests/fixtures/centos-7.7/last-w.out
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
kbrazil ttyS0 Fri Feb 28 13:49 still logged in
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Feb 28 12:56 - 14:54 (01:58)
|
||||
kbrazil ttyS0 Thu Feb 27 16:01 - crash (20:54)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Thu Feb 27 15:51 - 14:54 (23:02)
|
||||
kbrazil ttyS0 Thu Feb 27 10:50 - crash (05:01)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Wed Feb 26 20:05 - 14:54 (1+18:49)
|
||||
kbrazil ttyS0 Thu Feb 20 14:42 - crash (6+05:23)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Thu Feb 20 14:41 - 14:54 (8+00:12)
|
||||
kbrazil ttyS0 Mon Feb 17 17:48 - crash (2+20:52)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Mon Feb 17 17:48 - 14:54 (10+21:06)
|
||||
kbrazil ttyS0 Thu Feb 13 16:44 - crash (4+01:03)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Thu Feb 13 16:44 - 14:54 (14+22:10)
|
||||
kbrazil ttyS0 Wed Feb 5 14:23 - crash (8+02:20)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Wed Feb 5 11:43 - 14:54 (23+03:11)
|
||||
kbrazil ttyS0 Tue Feb 4 14:28 - crash (21:15)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Tue Feb 4 01:28 - 14:54 (24+13:26)
|
||||
kbrazil ttyS0 Mon Jan 13 17:28 - crash (21+07:59)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Mon Jan 13 16:16 - 14:54 (45+22:38)
|
||||
kbrazil ttyS0 Mon Dec 16 11:15 - crash (28+05:01)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Mon Dec 16 11:14 - 14:54 (74+03:40)
|
||||
kbrazil ttyS0 Wed Dec 4 21:41 - crash (11+13:33)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Wed Dec 4 21:40 - 14:54 (85+17:13)
|
||||
kbrazil pts/1 Sat Nov 16 14:40 - 14:40 (00:00)
|
||||
kbrazil pts/1 Sat Nov 16 14:39 - 14:39 (00:00)
|
||||
kbrazil pts/0 localhost Tue Nov 12 07:19 - crash (22+14:21)
|
||||
kbrazil ttyS0 Tue Nov 12 07:18 - crash (22+14:22)
|
||||
kbrazil pts/0 localhost Sun Nov 10 08:21 - 15:22 (1+07:01)
|
||||
kbrazil ttyS0 Sat Nov 9 10:34 - 07:16 (2+20:42)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Sat Nov 9 10:34 - 14:54 (111+04:20)
|
||||
kbrazil tty1 Fri Nov 8 07:49 - crash (1+02:45)
|
||||
kbrazil pts/0 192.168.71.1 Fri Nov 8 06:29 - crash (1+04:04)
|
||||
kbrazil ttyS0 Fri Nov 8 06:24 - crash (1+04:09)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Nov 8 06:14 - 14:54 (112+08:40)
|
||||
kbrazil tty1 Sun Nov 3 12:20 - crash (4+17:54)
|
||||
kbrazil ttyS0 Sun Nov 3 11:04 - 11:05 (00:01)
|
||||
kbrazil pts/0 192.168.71.1 Sat Nov 2 19:26 - crash (5+11:47)
|
||||
kbrazil ttyS0 Fri Nov 1 15:14 - 11:03 (1+20:49)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Nov 1 15:13 - 14:54 (119+00:41)
|
||||
kbrazil ttyS0 Fri Nov 1 11:16 - 11:36 (00:20)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Nov 1 06:00 - 11:36 (05:36)
|
||||
kbrazil ttyS0 Tue Oct 29 18:17 - crash (2+11:43)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Tue Oct 29 18:16 - 11:36 (2+17:19)
|
||||
kbrazil pts/0 192.168.71.1 Sat Oct 26 09:53 - 15:13 (05:19)
|
||||
kbrazil ttyS0 Fri Oct 25 18:22 - crash (3+23:54)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Oct 25 18:21 - 11:36 (6+17:14)
|
||||
kbrazil ttyS0 Fri Oct 25 17:14 - 18:21 (01:06)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Oct 25 17:13 - 11:36 (6+18:22)
|
||||
kbrazil ttyS0 Fri Oct 25 15:43 - 17:13 (01:29)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Fri Oct 25 13:29 - 17:13 (03:44)
|
||||
kbrazil ttyS0 Mon Oct 21 13:19 - 19:22 (2+06:03)
|
||||
reboot system boot 3.10.0-1062.1.2.el7.x86_64 Mon Oct 21 13:17 - 19:22 (2+06:05)
|
||||
kbrazil ttyS0 Wed Oct 16 03:23 - crash (5+09:54)
|
||||
kbrazil ttyS0 Tue Oct 15 16:49 - 03:23 (10:34)
|
||||
kbrazil ttyS0 Tue Oct 15 10:39 - 16:48 (06:09)
|
||||
reboot system boot 3.10.0-957.27.2.el7.x86_64 Tue Oct 15 10:39 - 19:22 (8+08:43)
|
||||
kbrazil ttyS0 Thu Aug 15 16:05 - 16:05 (00:00)
|
||||
reboot system boot 3.10.0-957.27.2.el7.x86_64 Thu Aug 15 16:05 - 16:05 (00:00)
|
||||
reboot system boot 3.10.0-957.27.2.el7.x86_64 Thu Aug 15 16:00 - 16:05 (00:05)
|
||||
kbrazil ttyS0 Thu Aug 15 14:25 - crash (01:35)
|
||||
reboot system boot 3.10.0-957.27.2.el7.x86_64 Thu Aug 15 14:24 - 16:05 (01:41)
|
||||
kbrazil ttyS0 Thu Aug 15 11:58 - crash (02:25)
|
||||
reboot system boot 3.10.0-957.el7.x86_64 Thu Aug 15 11:58 - 16:05 (04:07)
|
||||
kbrazil ttyS0 Thu Aug 15 11:57 - 11:57 (00:00)
|
||||
reboot system boot 3.10.0-957.el7.x86_64 Thu Aug 15 11:57 - 16:05 (04:08)
|
||||
kbrazil pts/0 192.168.71.1 Thu Aug 15 10:58 - 11:56 (00:58)
|
||||
root tty1 Thu Aug 15 10:57 - 11:56 (00:59)
|
||||
reboot system boot 3.10.0-957.el7.x86_64 Thu Aug 15 10:57 - 11:56 (00:59)
|
||||
|
||||
wtmp begins Thu Aug 15 10:57:06 2019
|
1
tests/fixtures/centos-7.7/last.json
vendored
Normal file
1
tests/fixtures/centos-7.7/last.json
vendored
Normal file
File diff suppressed because one or more lines are too long
69
tests/fixtures/centos-7.7/last.out
vendored
Normal file
69
tests/fixtures/centos-7.7/last.out
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
kbrazil ttyS0 Fri Feb 28 13:49 still logged in
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Feb 28 12:56 - 14:52 (01:56)
|
||||
kbrazil ttyS0 Thu Feb 27 16:01 - crash (20:54)
|
||||
reboot system boot 3.10.0-1062.1.2. Thu Feb 27 15:51 - 14:52 (23:01)
|
||||
kbrazil ttyS0 Thu Feb 27 10:50 - crash (05:01)
|
||||
reboot system boot 3.10.0-1062.1.2. Wed Feb 26 20:05 - 14:52 (1+18:47)
|
||||
kbrazil ttyS0 Thu Feb 20 14:42 - crash (6+05:23)
|
||||
reboot system boot 3.10.0-1062.1.2. Thu Feb 20 14:41 - 14:52 (8+00:11)
|
||||
kbrazil ttyS0 Mon Feb 17 17:48 - crash (2+20:52)
|
||||
reboot system boot 3.10.0-1062.1.2. Mon Feb 17 17:48 - 14:52 (10+21:04)
|
||||
kbrazil ttyS0 Thu Feb 13 16:44 - crash (4+01:03)
|
||||
reboot system boot 3.10.0-1062.1.2. Thu Feb 13 16:44 - 14:52 (14+22:08)
|
||||
kbrazil ttyS0 Wed Feb 5 14:23 - crash (8+02:20)
|
||||
reboot system boot 3.10.0-1062.1.2. Wed Feb 5 11:43 - 14:52 (23+03:09)
|
||||
kbrazil ttyS0 Tue Feb 4 14:28 - crash (21:15)
|
||||
reboot system boot 3.10.0-1062.1.2. Tue Feb 4 01:28 - 14:52 (24+13:24)
|
||||
kbrazil ttyS0 Mon Jan 13 17:28 - crash (21+07:59)
|
||||
reboot system boot 3.10.0-1062.1.2. Mon Jan 13 16:16 - 14:52 (45+22:36)
|
||||
kbrazil ttyS0 Mon Dec 16 11:15 - crash (28+05:01)
|
||||
reboot system boot 3.10.0-1062.1.2. Mon Dec 16 11:14 - 14:52 (74+03:38)
|
||||
kbrazil ttyS0 Wed Dec 4 21:41 - crash (11+13:33)
|
||||
reboot system boot 3.10.0-1062.1.2. Wed Dec 4 21:40 - 14:52 (85+17:12)
|
||||
kbrazil pts/1 Sat Nov 16 14:40 - 14:40 (00:00)
|
||||
kbrazil pts/1 Sat Nov 16 14:39 - 14:39 (00:00)
|
||||
kbrazil pts/0 localhost Tue Nov 12 07:19 - crash (22+14:21)
|
||||
kbrazil ttyS0 Tue Nov 12 07:18 - crash (22+14:22)
|
||||
kbrazil pts/0 localhost Sun Nov 10 08:21 - 15:22 (1+07:01)
|
||||
kbrazil ttyS0 Sat Nov 9 10:34 - 07:16 (2+20:42)
|
||||
reboot system boot 3.10.0-1062.1.2. Sat Nov 9 10:34 - 14:52 (111+04:18)
|
||||
kbrazil tty1 Fri Nov 8 07:49 - crash (1+02:45)
|
||||
kbrazil pts/0 192.168.71.1 Fri Nov 8 06:29 - crash (1+04:04)
|
||||
kbrazil ttyS0 Fri Nov 8 06:24 - crash (1+04:09)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Nov 8 06:14 - 14:52 (112+08:38)
|
||||
kbrazil tty1 Sun Nov 3 12:20 - crash (4+17:54)
|
||||
kbrazil ttyS0 Sun Nov 3 11:04 - 11:05 (00:01)
|
||||
kbrazil pts/0 192.168.71.1 Sat Nov 2 19:26 - crash (5+11:47)
|
||||
kbrazil ttyS0 Fri Nov 1 15:14 - 11:03 (1+20:49)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Nov 1 15:13 - 14:52 (119+00:39)
|
||||
kbrazil ttyS0 Fri Nov 1 11:16 - 11:36 (00:20)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Nov 1 06:00 - 11:36 (05:36)
|
||||
kbrazil ttyS0 Tue Oct 29 18:17 - crash (2+11:43)
|
||||
reboot system boot 3.10.0-1062.1.2. Tue Oct 29 18:16 - 11:36 (2+17:19)
|
||||
kbrazil pts/0 192.168.71.1 Sat Oct 26 09:53 - 15:13 (05:19)
|
||||
kbrazil ttyS0 Fri Oct 25 18:22 - crash (3+23:54)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Oct 25 18:21 - 11:36 (6+17:14)
|
||||
kbrazil ttyS0 Fri Oct 25 17:14 - 18:21 (01:06)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Oct 25 17:13 - 11:36 (6+18:22)
|
||||
kbrazil ttyS0 Fri Oct 25 15:43 - 17:13 (01:29)
|
||||
reboot system boot 3.10.0-1062.1.2. Fri Oct 25 13:29 - 17:13 (03:44)
|
||||
kbrazil ttyS0 Mon Oct 21 13:19 - 19:22 (2+06:03)
|
||||
reboot system boot 3.10.0-1062.1.2. Mon Oct 21 13:17 - 19:22 (2+06:05)
|
||||
kbrazil ttyS0 Wed Oct 16 03:23 - crash (5+09:54)
|
||||
kbrazil ttyS0 Tue Oct 15 16:49 - 03:23 (10:34)
|
||||
kbrazil ttyS0 Tue Oct 15 10:39 - 16:48 (06:09)
|
||||
reboot system boot 3.10.0-957.27.2. Tue Oct 15 10:39 - 19:22 (8+08:43)
|
||||
kbrazil ttyS0 Thu Aug 15 16:05 - 16:05 (00:00)
|
||||
reboot system boot 3.10.0-957.27.2. Thu Aug 15 16:05 - 16:05 (00:00)
|
||||
reboot system boot 3.10.0-957.27.2. Thu Aug 15 16:00 - 16:05 (00:05)
|
||||
kbrazil ttyS0 Thu Aug 15 14:25 - crash (01:35)
|
||||
reboot system boot 3.10.0-957.27.2. Thu Aug 15 14:24 - 16:05 (01:41)
|
||||
kbrazil ttyS0 Thu Aug 15 11:58 - crash (02:25)
|
||||
reboot system boot 3.10.0-957.el7.x Thu Aug 15 11:58 - 16:05 (04:07)
|
||||
kbrazil ttyS0 Thu Aug 15 11:57 - 11:57 (00:00)
|
||||
reboot system boot 3.10.0-957.el7.x Thu Aug 15 11:57 - 16:05 (04:08)
|
||||
kbrazil pts/0 192.168.71.1 Thu Aug 15 10:58 - 11:56 (00:58)
|
||||
root tty1 Thu Aug 15 10:57 - 11:56 (00:59)
|
||||
reboot system boot 3.10.0-957.el7.x Thu Aug 15 10:57 - 11:56 (00:59)
|
||||
|
||||
wtmp begins Thu Aug 15 10:57:06 2019
|
1
tests/fixtures/centos-7.7/lastb.json
vendored
Normal file
1
tests/fixtures/centos-7.7/lastb.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
[{"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 28 13:49", "logout": "13:49", "duration": "00:00"}, {"user": "kbrazil", "tty": "ssh:notty", "hostname": "192.168.71.1", "login": "Thu Feb 27 10:13", "logout": "10:13", "duration": "00:00"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 20 14:41", "logout": "14:41", "duration": "00:00"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Mon Feb 17 17:48", "logout": "17:48", "duration": "00:00"}]
|
6
tests/fixtures/centos-7.7/lastb.out
vendored
Normal file
6
tests/fixtures/centos-7.7/lastb.out
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
kbrazil ttyS0 Fri Feb 28 13:49 - 13:49 (00:00)
|
||||
kbrazil ssh:notty 192.168.71.1 Thu Feb 27 10:13 - 10:13 (00:00)
|
||||
kbrazil ttyS0 Thu Feb 20 14:41 - 14:41 (00:00)
|
||||
kbrazil ttyS0 Mon Feb 17 17:48 - 17:48 (00:00)
|
||||
|
||||
btmp begins Mon Feb 17 17:48:53 2020
|
4
tests/fixtures/create_fixtures.sh
vendored
4
tests/fixtures/create_fixtures.sh
vendored
@ -94,3 +94,7 @@ blkid /dev/sda2 > blkid-sda2.out
|
||||
sudo blkid -ip /dev/sda2 /dev/sda1 > blkid-ip-multi.out
|
||||
sudo blkid -o udev -ip /dev/sr0 > blkid-ip-udev.out
|
||||
sudo blkid -o udev -ip /dev/sda2 /dev/sda1 > blkid-ip-udev-multi.out
|
||||
|
||||
last > last.out
|
||||
last -w | cat > last-w.out
|
||||
sudo lastb > lastb.out
|
||||
|
1
tests/fixtures/osx-10.14.6/last.json
vendored
Normal file
1
tests/fixtures/osx-10.14.6/last.json
vendored
Normal file
File diff suppressed because one or more lines are too long
383
tests/fixtures/osx-10.14.6/last.out
vendored
Normal file
383
tests/fixtures/osx-10.14.6/last.out
vendored
Normal file
@ -0,0 +1,383 @@
|
||||
kbrazil ttys002 Fri Feb 28 14:45 still logged in
|
||||
kbrazil ttys003 Fri Feb 28 08:59 still logged in
|
||||
kbrazil ttys002 Thu Feb 27 14:31 - 14:31 (00:00)
|
||||
kbrazil ttys003 Thu Feb 27 10:38 - 10:38 (00:00)
|
||||
kbrazil ttys003 Thu Feb 27 10:18 - 10:18 (00:00)
|
||||
kbrazil ttys002 Fri Feb 21 08:47 - 08:47 (00:00)
|
||||
kbrazil ttys002 Thu Feb 20 14:53 - 14:53 (00:00)
|
||||
kbrazil ttys000 Thu Feb 13 16:44 - 16:44 (00:00)
|
||||
kbrazil ttys001 Tue Feb 11 21:25 still logged in
|
||||
kbrazil ttys000 Mon Feb 10 15:54 - 15:54 (00:00)
|
||||
kbrazil ttys000 Mon Feb 10 08:52 - 08:52 (00:00)
|
||||
kbrazil ttys001 Fri Feb 7 23:32 - 23:32 (00:00)
|
||||
kbrazil ttys000 Fri Feb 7 23:32 - 23:32 (00:00)
|
||||
kbrazil console Fri Feb 7 23:32 still logged in
|
||||
reboot ~ Fri Feb 7 23:31
|
||||
shutdown ~ Fri Feb 7 23:26
|
||||
root console Fri Feb 7 23:25 - shutdown (00:00)
|
||||
kbrazil ttys002 Fri Feb 7 11:19 - 11:19 (00:00)
|
||||
kbrazil ttys001 Fri Feb 7 11:19 - 11:19 (00:00)
|
||||
kbrazil console Fri Feb 7 07:51 - 23:25 (15:34)
|
||||
reboot ~ Fri Feb 7 07:51
|
||||
shutdown ~ Fri Feb 7 07:50
|
||||
kbrazil ttys000 Wed Feb 5 11:42 - 11:42 (00:00)
|
||||
kbrazil ttys001 Tue Feb 4 14:23 - 14:23 (00:00)
|
||||
kbrazil ttys000 Mon Feb 3 15:22 - 15:22 (00:00)
|
||||
kbrazil ttys000 Mon Feb 3 08:58 - 08:58 (00:00)
|
||||
kbrazil ttys001 Wed Jan 29 11:10 - 11:10 (00:00)
|
||||
kbrazil ttys000 Tue Jan 28 09:00 - 09:00 (00:00)
|
||||
kbrazil ttys000 Mon Jan 27 17:15 - 17:15 (00:00)
|
||||
kbrazil ttys000 Sun Jan 26 19:13 - 19:13 (00:00)
|
||||
kbrazil ttys000 Fri Jan 24 14:03 - 14:03 (00:00)
|
||||
kbrazil ttys000 Wed Jan 22 09:17 - 09:17 (00:00)
|
||||
kbrazil ttys000 Tue Jan 21 11:56 - 11:56 (00:00)
|
||||
kbrazil ttys000 Fri Jan 17 12:49 - 12:49 (00:00)
|
||||
kbrazil ttys000 Fri Jan 17 11:32 - 11:32 (00:00)
|
||||
kbrazil ttys000 Thu Jan 16 14:51 - 14:51 (00:00)
|
||||
kbrazil ttys000 Wed Jan 15 17:45 - 17:45 (00:00)
|
||||
kbrazil ttys000 Tue Jan 14 13:30 - 13:30 (00:00)
|
||||
kbrazil ttys000 Tue Jan 14 13:17 - 13:17 (00:00)
|
||||
kbrazil ttys004 Tue Jan 14 11:55 - 11:55 (00:00)
|
||||
kbrazil ttys002 Mon Jan 13 17:27 - 17:27 (00:00)
|
||||
kbrazil ttys000 Mon Jan 13 16:11 - 16:11 (00:00)
|
||||
kbrazil ttys000 Mon Jan 13 13:51 - 13:51 (00:00)
|
||||
kbrazil ttys000 Fri Jan 10 13:21 - 13:21 (00:00)
|
||||
kbrazil ttys000 Thu Jan 9 12:38 - 12:38 (00:00)
|
||||
kbrazil ttys000 Wed Jan 8 06:08 - 06:08 (00:00)
|
||||
kbrazil ttys000 Tue Jan 7 14:22 - 14:22 (00:00)
|
||||
kbrazil ttys000 Tue Jan 7 08:57 - 08:57 (00:00)
|
||||
kbrazil ttys002 Fri Jan 3 13:24 - 13:24 (00:00)
|
||||
kbrazil ttys000 Thu Jan 2 14:05 - 14:05 (00:00)
|
||||
kbrazil ttys000 Thu Jan 2 10:07 - 10:07 (00:00)
|
||||
kbrazil ttys004 Mon Dec 16 14:17 - 14:17 (00:00)
|
||||
kbrazil ttys002 Mon Dec 16 11:14 - 11:14 (00:00)
|
||||
kbrazil ttys000 Thu Dec 12 12:10 - 12:10 (00:00)
|
||||
kbrazil console Thu Dec 12 12:10 - 07:50 (56+19:39)
|
||||
reboot ~ Thu Dec 12 12:09
|
||||
shutdown ~ Thu Dec 12 12:09
|
||||
kbrazil ttys000 Thu Dec 12 00:15 - 00:15 (00:00)
|
||||
kbrazil console Thu Dec 12 00:15 - 12:09 (11:54)
|
||||
reboot ~ Thu Dec 12 00:14
|
||||
shutdown ~ Thu Dec 12 00:08
|
||||
root console Thu Dec 12 00:08 - shutdown (00:00)
|
||||
kbrazil ttys000 Wed Dec 11 16:17 - 16:17 (00:00)
|
||||
kbrazil ttys000 Wed Dec 11 16:16 - 16:16 (00:00)
|
||||
kbrazil ttys000 Fri Dec 6 10:41 - 10:41 (00:00)
|
||||
kbrazil ttys003 Fri Dec 6 07:32 - 07:32 (00:00)
|
||||
kbrazil ttys003 Mon Dec 2 23:44 - 23:44 (00:00)
|
||||
kbrazil ttys002 Mon Dec 2 23:39 - 23:39 (00:00)
|
||||
kbrazil ttys000 Mon Dec 2 23:07 - 23:07 (00:00)
|
||||
kbrazil ttys002 Mon Dec 2 16:23 - 16:23 (00:00)
|
||||
kbrazil ttys001 Mon Dec 2 16:22 - 16:22 (00:00)
|
||||
kbrazil ttys000 Mon Dec 2 15:50 - 15:50 (00:00)
|
||||
kbrazil ttys000 Mon Dec 2 13:50 - 13:50 (00:00)
|
||||
kbrazil ttys000 Mon Dec 2 12:47 - 12:47 (00:00)
|
||||
kbrazil ttys000 Mon Dec 2 12:06 - 12:06 (00:00)
|
||||
kbrazil ttys004 Wed Nov 27 09:19 - 09:19 (00:00)
|
||||
kbrazil ttys005 Mon Nov 25 08:08 - 08:08 (00:00)
|
||||
kbrazil ttys004 Thu Nov 21 17:23 - 17:23 (00:00)
|
||||
kbrazil ttys002 Thu Nov 21 10:28 - 10:28 (00:00)
|
||||
kbrazil ttys002 Wed Nov 20 09:35 - 09:35 (00:00)
|
||||
kbrazil ttys003 Mon Nov 11 12:49 - 12:49 (00:00)
|
||||
kbrazil ttys002 Sun Nov 10 13:52 - 13:52 (00:00)
|
||||
kbrazil ttys000 Sat Nov 9 10:34 - 10:34 (00:00)
|
||||
kbrazil ttys001 Fri Nov 8 15:37 - 15:37 (00:00)
|
||||
kbrazil ttys000 Fri Nov 8 14:01 - 14:01 (00:00)
|
||||
kbrazil ttys002 Fri Nov 8 10:57 - 10:57 (00:00)
|
||||
kbrazil ttys002 Fri Nov 8 06:29 - 06:29 (00:00)
|
||||
kbrazil ttys000 Fri Nov 8 06:22 - 06:22 (00:00)
|
||||
kbrazil ttys001 Thu Nov 7 19:00 - 19:00 (00:00)
|
||||
kbrazil ttys000 Wed Nov 6 15:19 - 15:19 (00:00)
|
||||
kbrazil ttys005 Mon Nov 4 07:54 - 07:54 (00:00)
|
||||
kbrazil ttys003 Fri Nov 1 15:13 - 15:13 (00:00)
|
||||
kbrazil ttys001 Fri Nov 1 15:13 - 15:13 (00:00)
|
||||
kbrazil ttys001 Fri Nov 1 11:55 - 11:55 (00:00)
|
||||
kbrazil ttys001 Fri Nov 1 11:16 - 11:16 (00:00)
|
||||
kbrazil ttys001 Fri Nov 1 06:31 - 06:31 (00:00)
|
||||
kbrazil ttys001 Thu Oct 31 14:13 - 14:13 (00:00)
|
||||
kbrazil ttys001 Thu Oct 31 11:57 - 11:57 (00:00)
|
||||
kbrazil console Thu Oct 31 09:37 - 00:08 (41+15:30)
|
||||
reboot ~ Thu Oct 31 09:37
|
||||
shutdown ~ Thu Oct 31 09:30
|
||||
root console Thu Oct 31 09:30 - shutdown (00:00)
|
||||
kbrazil ttys006 Thu Oct 31 07:35 - 07:35 (00:00)
|
||||
kbrazil ttys004 Wed Oct 30 13:25 - 13:25 (00:00)
|
||||
kbrazil ttys000 Tue Oct 29 18:16 - 18:16 (00:00)
|
||||
kbrazil ttys004 Tue Oct 29 08:04 - 08:04 (00:00)
|
||||
kbrazil ttys002 Mon Oct 28 21:58 - 21:58 (00:00)
|
||||
kbrazil ttys001 Mon Oct 28 21:58 - 21:58 (00:00)
|
||||
kbrazil ttys000 Mon Oct 28 21:58 - 21:58 (00:00)
|
||||
kbrazil console Mon Oct 28 21:58 - 09:30 (2+11:31)
|
||||
reboot ~ Mon Oct 28 21:57
|
||||
shutdown ~ Mon Oct 28 21:57
|
||||
kbrazil ttys007 Mon Oct 28 12:13 - 12:13 (00:00)
|
||||
kbrazil ttys006 Thu Oct 24 15:57 - 15:57 (00:00)
|
||||
kbrazil ttys006 Tue Oct 22 17:06 - 17:06 (00:00)
|
||||
kbrazil ttys002 Mon Oct 21 12:08 - 12:08 (00:00)
|
||||
kbrazil ttys001 Mon Oct 21 12:08 - 12:08 (00:00)
|
||||
kbrazil ttys000 Mon Oct 21 12:08 - 12:08 (00:00)
|
||||
kbrazil console Mon Oct 21 12:04 - 21:57 (7+09:52)
|
||||
reboot ~ Mon Oct 21 12:03
|
||||
shutdown ~ Mon Oct 21 12:00
|
||||
root console Mon Oct 21 11:59 - shutdown (00:00)
|
||||
kbrazil ttys000 Thu Oct 17 17:08 - 17:08 (00:00)
|
||||
kbrazil ttys004 Tue Oct 15 11:36 - 11:36 (00:00)
|
||||
kbrazil ttys003 Tue Oct 15 11:10 - 11:10 (00:00)
|
||||
kbrazil ttys002 Fri Oct 4 15:07 - 15:07 (00:00)
|
||||
kbrazil ttys001 Thu Oct 3 11:45 - 11:45 (00:00)
|
||||
kbrazil ttys001 Thu Oct 3 07:33 - 07:33 (00:00)
|
||||
kbrazil ttys001 Wed Oct 2 17:03 - 17:03 (00:00)
|
||||
kbrazil ttys001 Wed Oct 2 15:39 - 15:39 (00:00)
|
||||
kbrazil ttys001 Wed Oct 2 14:18 - 14:18 (00:00)
|
||||
kbrazil console Wed Oct 2 12:47 - 11:59 (18+23:12)
|
||||
reboot ~ Wed Oct 2 12:47
|
||||
shutdown ~ Wed Oct 2 12:46
|
||||
kbrazil ttys002 Wed Oct 2 12:15 - 12:15 (00:00)
|
||||
kbrazil ttys001 Wed Oct 2 12:06 - 12:06 (00:00)
|
||||
kbrazil ttys001 Wed Oct 2 11:54 - 11:54 (00:00)
|
||||
kbrazil ttys003 Mon Sep 30 16:29 - 16:29 (00:00)
|
||||
kbrazil ttys002 Fri Sep 27 15:55 - 15:55 (00:00)
|
||||
kbrazil ttys001 Fri Sep 27 15:51 - 15:51 (00:00)
|
||||
kbrazil console Fri Sep 27 15:18 - 12:46 (4+21:28)
|
||||
reboot ~ Fri Sep 27 15:17
|
||||
shutdown ~ Fri Sep 27 15:15
|
||||
kbrazil ttys001 Fri Sep 27 06:44 - 06:44 (00:00)
|
||||
kbrazil ttys001 Thu Sep 26 15:22 - 15:22 (00:00)
|
||||
kbrazil ttys001 Wed Sep 25 15:09 - 15:09 (00:00)
|
||||
kbrazil ttys001 Wed Sep 25 08:16 - 08:16 (00:00)
|
||||
kbrazil ttys001 Tue Sep 24 16:42 - 16:42 (00:00)
|
||||
kbrazil ttys001 Tue Sep 24 14:20 - 14:20 (00:00)
|
||||
kbrazil ttys001 Tue Sep 24 10:03 - 10:03 (00:00)
|
||||
kbrazil ttys003 Wed Sep 18 12:17 - 12:17 (00:00)
|
||||
kbrazil ttys002 Wed Sep 18 12:14 - 12:14 (00:00)
|
||||
kbrazil ttys001 Wed Sep 18 12:09 - 12:09 (00:00)
|
||||
kbrazil ttys001 Wed Sep 18 12:09 - 12:09 (00:00)
|
||||
kbrazil ttys004 Wed Sep 18 11:25 - 11:25 (00:00)
|
||||
kbrazil ttys002 Wed Sep 18 11:13 - 11:13 (00:00)
|
||||
kbrazil ttys001 Tue Sep 17 16:31 - 16:31 (00:00)
|
||||
kbrazil ttys002 Tue Sep 17 15:53 - 15:53 (00:00)
|
||||
kbrazil ttys001 Tue Sep 17 14:41 - 14:41 (00:00)
|
||||
kbrazil ttys001 Tue Sep 17 14:34 - 14:34 (00:00)
|
||||
kbrazil console Tue Sep 17 13:54 - 15:15 (10+01:20)
|
||||
reboot ~ Tue Sep 17 13:54
|
||||
shutdown ~ Tue Sep 17 13:53
|
||||
kbrazil ttys001 Tue Sep 17 07:03 - 07:03 (00:00)
|
||||
kbrazil ttys001 Mon Sep 16 08:50 - 08:50 (00:00)
|
||||
kbrazil ttys001 Fri Sep 13 02:36 - 02:36 (00:00)
|
||||
kbrazil ttys001 Fri Sep 13 02:10 - 02:10 (00:00)
|
||||
kbrazil ttys001 Thu Sep 12 05:15 - 05:15 (00:00)
|
||||
kbrazil ttys001 Tue Sep 10 04:42 - 04:42 (00:00)
|
||||
kbrazil ttys002 Fri Sep 6 10:15 - 10:15 (00:00)
|
||||
kbrazil ttys001 Fri Sep 6 09:20 - 09:20 (00:00)
|
||||
kbrazil ttys002 Wed Sep 4 14:19 - 14:19 (00:00)
|
||||
kbrazil ttys001 Wed Sep 4 13:54 - 13:54 (00:00)
|
||||
kbrazil ttys001 Wed Sep 4 09:10 - 09:10 (00:00)
|
||||
kbrazil ttys001 Tue Sep 3 14:59 - 14:59 (00:00)
|
||||
kbrazil ttys001 Tue Sep 3 10:56 - 10:56 (00:00)
|
||||
kbrazil ttys001 Tue Sep 3 08:32 - 08:32 (00:00)
|
||||
kbrazil ttys002 Thu Aug 29 17:21 - 17:21 (00:00)
|
||||
kbrazil ttys001 Thu Aug 29 17:13 - 17:13 (00:00)
|
||||
kbrazil ttys001 Thu Aug 29 14:48 - 14:48 (00:00)
|
||||
kbrazil ttys003 Thu Aug 29 14:36 - 14:36 (00:00)
|
||||
kbrazil ttys002 Thu Aug 29 14:35 - 14:35 (00:00)
|
||||
kbrazil ttys001 Thu Aug 29 14:28 - 14:28 (00:00)
|
||||
kbrazil ttys003 Thu Aug 29 12:47 - 12:47 (00:00)
|
||||
kbrazil ttys003 Thu Aug 29 09:47 - 09:47 (00:00)
|
||||
kbrazil ttys002 Thu Aug 29 09:41 - 09:41 (00:00)
|
||||
kbrazil ttys001 Thu Aug 29 09:32 - 09:32 (00:00)
|
||||
kbrazil ttys001 Thu Aug 29 09:30 - 09:30 (00:00)
|
||||
kbrazil ttys001 Wed Aug 28 14:29 - 14:29 (00:00)
|
||||
kbrazil console Tue Aug 27 21:22 - 13:53 (20+16:31)
|
||||
reboot ~ Tue Aug 27 21:21
|
||||
shutdown ~ Tue Aug 27 21:17
|
||||
root console Tue Aug 27 21:17 - shutdown (00:00)
|
||||
kbrazil ttys002 Mon Aug 26 15:09 - 15:09 (00:00)
|
||||
kbrazil ttys002 Mon Aug 26 07:54 - 07:54 (00:00)
|
||||
kbrazil ttys002 Fri Aug 23 16:22 - 16:22 (00:00)
|
||||
kbrazil ttys001 Fri Aug 23 15:21 - 15:21 (00:00)
|
||||
kbrazil ttys000 Fri Aug 23 15:19 - 15:19 (00:00)
|
||||
kbrazil ttys000 Fri Aug 23 06:46 - 06:46 (00:00)
|
||||
kbrazil ttys000 Thu Aug 22 17:48 - 17:48 (00:00)
|
||||
kbrazil ttys003 Thu Aug 22 14:21 - 14:21 (00:00)
|
||||
kbrazil ttys002 Thu Aug 22 14:21 - 14:21 (00:00)
|
||||
kbrazil ttys001 Thu Aug 22 14:21 - 14:21 (00:00)
|
||||
kbrazil ttys000 Thu Aug 22 14:21 - 14:21 (00:00)
|
||||
kbrazil console Thu Aug 22 14:20 - 21:17 (5+06:56)
|
||||
reboot ~ Thu Aug 22 14:20
|
||||
shutdown ~ Thu Aug 22 14:17
|
||||
kbrazil ttys004 Wed Aug 21 15:24 - 15:24 (00:00)
|
||||
kbrazil ttys000 Tue Aug 20 19:52 - 19:52 (00:00)
|
||||
kbrazil ttys003 Tue Aug 20 16:32 - 16:32 (00:00)
|
||||
kbrazil ttys003 Mon Aug 19 17:51 - 17:51 (00:00)
|
||||
kbrazil ttys002 Mon Aug 19 14:42 - 14:42 (00:00)
|
||||
kbrazil ttys000 Mon Aug 19 14:02 - 14:02 (00:00)
|
||||
kbrazil ttys002 Sat Aug 17 10:02 - 10:02 (00:00)
|
||||
kbrazil ttys000 Fri Aug 16 18:20 - 18:20 (00:00)
|
||||
kbrazil ttys000 Fri Aug 16 06:46 - 06:46 (00:00)
|
||||
kbrazil ttys003 Thu Aug 15 17:07 - 17:07 (00:00)
|
||||
kbrazil ttys000 Thu Aug 15 17:00 - 17:00 (00:00)
|
||||
kbrazil ttys003 Thu Aug 15 16:01 - 16:01 (00:00)
|
||||
kbrazil ttys000 Thu Aug 15 15:55 - 15:55 (00:00)
|
||||
kbrazil ttys005 Thu Aug 15 14:48 - 14:48 (00:00)
|
||||
kbrazil ttys005 Thu Aug 15 14:45 - 14:45 (00:00)
|
||||
kbrazil ttys003 Thu Aug 15 14:35 - 14:35 (00:00)
|
||||
kbrazil ttys000 Thu Aug 15 14:24 - 14:24 (00:00)
|
||||
kbrazil ttys005 Thu Aug 15 10:57 - 10:57 (00:00)
|
||||
kbrazil ttys003 Thu Aug 15 10:48 - 10:48 (00:00)
|
||||
kbrazil ttys002 Thu Aug 15 10:43 - 10:43 (00:00)
|
||||
kbrazil ttys000 Thu Aug 15 10:39 - 10:39 (00:00)
|
||||
kbrazil console Thu Aug 15 10:39 - 14:17 (7+03:37)
|
||||
reboot ~ Thu Aug 15 10:39
|
||||
shutdown ~ Thu Aug 15 10:38
|
||||
kbrazil ttys000 Thu Aug 15 08:56 - 08:56 (00:00)
|
||||
kbrazil ttys004 Thu Aug 15 08:09 - 08:09 (00:00)
|
||||
kbrazil ttys002 Thu Aug 15 08:08 - 08:08 (00:00)
|
||||
kbrazil ttys000 Wed Aug 14 18:12 - 18:12 (00:00)
|
||||
kbrazil ttys000 Wed Aug 14 15:08 - 15:08 (00:00)
|
||||
kbrazil ttys004 Wed Aug 14 09:11 - 09:11 (00:00)
|
||||
kbrazil ttys002 Wed Aug 14 09:03 - 09:03 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 14:47 - 14:47 (00:00)
|
||||
kbrazil ttys001 Tue Aug 13 11:14 - 11:14 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 11:14 - 11:14 (00:00)
|
||||
kbrazil ttys001 Tue Aug 13 10:54 - 10:54 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 10:43 - 10:43 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 10:29 - 10:29 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 09:27 - 09:27 (00:00)
|
||||
kbrazil ttys000 Tue Aug 13 05:40 - 05:40 (00:00)
|
||||
kbrazil ttys000 Mon Aug 12 14:11 - 14:11 (00:00)
|
||||
kbrazil ttys002 Mon Aug 12 13:54 - 13:54 (00:00)
|
||||
kbrazil ttys001 Mon Aug 12 13:54 - 13:54 (00:00)
|
||||
kbrazil ttys000 Mon Aug 12 13:54 - 13:54 (00:00)
|
||||
kbrazil console Mon Aug 12 13:54 - 10:38 (2+20:44)
|
||||
reboot ~ Mon Aug 12 13:53
|
||||
shutdown ~ Mon Aug 12 13:52
|
||||
kbrazil ttys002 Mon Aug 12 13:37 - 13:37 (00:00)
|
||||
kbrazil ttys004 Thu Aug 8 09:15 - 09:15 (00:00)
|
||||
kbrazil ttys003 Thu Aug 8 09:14 - 09:14 (00:00)
|
||||
kbrazil ttys002 Thu Aug 8 09:03 - 09:03 (00:00)
|
||||
kbrazil ttys002 Thu Aug 8 07:17 - 07:17 (00:00)
|
||||
kbrazil ttys000 Mon Aug 5 10:57 - 10:57 (00:00)
|
||||
kbrazil ttys000 Mon Aug 5 08:34 - 08:34 (00:00)
|
||||
kbrazil console Mon Aug 5 08:29 - 13:52 (7+05:23)
|
||||
reboot ~ Mon Aug 5 08:28
|
||||
shutdown ~ Mon Aug 5 08:25
|
||||
root console Mon Aug 5 08:24 - shutdown (00:01)
|
||||
kbrazil ttys002 Sat Aug 3 07:20 - 07:20 (00:00)
|
||||
kbrazil ttys001 Sat Aug 3 06:54 - 06:54 (00:00)
|
||||
kbrazil ttys005 Fri Aug 2 10:21 - 10:21 (00:00)
|
||||
kbrazil ttys004 Fri Aug 2 10:21 - 10:21 (00:00)
|
||||
kbrazil ttys003 Fri Aug 2 10:21 - 10:21 (00:00)
|
||||
kbrazil ttys002 Fri Aug 2 10:21 - 10:21 (00:00)
|
||||
kbrazil ttys001 Fri Aug 2 10:21 - 10:21 (00:00)
|
||||
kbrazil console Fri Aug 2 07:00 - 08:24 (3+01:23)
|
||||
reboot ~ Fri Aug 2 07:00
|
||||
shutdown ~ Fri Aug 2 06:59
|
||||
kbrazil console Fri Aug 2 06:06 - 06:59 (00:53)
|
||||
reboot ~ Fri Aug 2 06:06
|
||||
shutdown ~ Fri Aug 2 06:05
|
||||
kbrazil ttys010 Wed Jul 31 08:44 - 08:44 (00:00)
|
||||
kbrazil ttys010 Tue Jul 30 14:48 - 14:48 (00:00)
|
||||
kbrazil ttys008 Tue Jul 30 08:23 - 08:23 (00:00)
|
||||
kbrazil ttys006 Tue Jul 30 07:24 - 07:24 (00:00)
|
||||
kbrazil ttys006 Mon Jul 29 13:32 - 13:32 (00:00)
|
||||
kbrazil ttys003 Mon Jul 29 12:50 - 12:50 (00:00)
|
||||
kbrazil ttys003 Mon Jul 29 12:46 - 12:46 (00:00)
|
||||
kbrazil ttys001 Sun Jul 28 14:12 - 14:12 (00:00)
|
||||
kbrazil console Sun Jul 28 14:07 - 06:04 (4+15:57)
|
||||
reboot ~ Sun Jul 28 14:07
|
||||
shutdown ~ Sun Jul 28 14:06
|
||||
kbrazil ttys002 Sun Jul 28 13:17 - 13:17 (00:00)
|
||||
kbrazil ttys000 Sun Jul 28 13:17 - 13:17 (00:00)
|
||||
kbrazil ttys002 Sun Jul 28 13:16 - 13:16 (00:00)
|
||||
kbrazil ttys001 Sun Jul 28 13:16 - 13:16 (00:00)
|
||||
kbrazil ttys000 Sun Jul 28 13:16 - 13:16 (00:00)
|
||||
kbrazil console Sun Jul 28 13:16 - 14:06 (00:50)
|
||||
reboot ~ Sun Jul 28 13:16
|
||||
shutdown ~ Sun Jul 28 13:15
|
||||
kbrazil ttys003 Sun Jul 28 13:12 - 13:12 (00:00)
|
||||
kbrazil ttys001 Sun Jul 28 13:10 - 13:10 (00:00)
|
||||
kbrazil ttys005 Sun Jul 28 12:38 - 12:38 (00:00)
|
||||
kbrazil ttys005 Sun Jul 28 12:01 - 12:01 (00:00)
|
||||
kbrazil ttys005 Sun Jul 28 08:17 - 08:17 (00:00)
|
||||
kbrazil ttys005 Sat Jul 27 18:36 - 18:36 (00:00)
|
||||
kbrazil ttys003 Sat Jul 27 18:25 - 18:25 (00:00)
|
||||
kbrazil ttys001 Sat Jul 27 18:19 - 18:19 (00:00)
|
||||
kbrazil ttys002 Fri Jul 26 10:58 - 10:58 (00:00)
|
||||
kbrazil ttys002 Fri Jul 26 08:16 - 08:16 (00:00)
|
||||
kbrazil console Thu Jul 25 18:38 - 13:15 (2+18:36)
|
||||
reboot ~ Thu Jul 25 18:38
|
||||
shutdown ~ Thu Jul 25 18:37
|
||||
kbrazil ttys004 Thu Jul 25 10:57 - 10:57 (00:00)
|
||||
kbrazil ttys004 Thu Jul 25 08:33 - 08:33 (00:00)
|
||||
kbrazil ttys002 Wed Jul 24 14:39 - 14:39 (00:00)
|
||||
kbrazil ttys005 Wed Jul 24 12:13 - 12:13 (00:00)
|
||||
kbrazil ttys004 Wed Jul 24 10:51 - 10:51 (00:00)
|
||||
kbrazil ttys002 Wed Jul 24 10:17 - 10:17 (00:00)
|
||||
kbrazil ttys000 Wed Jul 24 02:54 - 02:54 (00:00)
|
||||
kbrazil console Tue Jul 23 20:16 - 18:37 (1+22:21)
|
||||
reboot ~ Tue Jul 23 20:15
|
||||
shutdown ~ Tue Jul 23 20:09
|
||||
root console Tue Jul 23 20:07 - shutdown (00:01)
|
||||
kbrazil ttys001 Tue Jul 23 07:03 - 07:03 (00:00)
|
||||
kbrazil ttys007 Tue Jul 16 14:57 - 14:57 (00:00)
|
||||
kbrazil ttys007 Mon Jul 15 14:45 - 14:45 (00:00)
|
||||
kbrazil ttys005 Mon Jul 15 14:38 - 14:38 (00:00)
|
||||
kbrazil ttys004 Mon Jul 15 12:12 - 12:12 (00:00)
|
||||
kbrazil ttys002 Fri Jul 12 15:42 - 15:42 (00:00)
|
||||
kbrazil ttys000 Fri Jul 12 14:40 - 14:40 (00:00)
|
||||
kbrazil ttys000 Fri Jul 12 08:45 - 08:45 (00:00)
|
||||
kbrazil ttys000 Thu Jul 11 14:42 - 14:42 (00:00)
|
||||
kbrazil ttys000 Thu Jul 11 12:03 - 12:03 (00:00)
|
||||
kbrazil ttys000 Thu Jul 11 11:41 - 11:41 (00:00)
|
||||
kbrazil console Thu Jul 11 11:41 - 20:07 (12+08:25)
|
||||
reboot ~ Thu Jul 11 11:41
|
||||
shutdown ~ Thu Jul 11 11:41
|
||||
kbrazil ttys001 Thu Jul 11 11:38 - 11:38 (00:00)
|
||||
kbrazil ttys002 Thu Jul 11 10:32 - 10:32 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 08:24 - 08:24 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 08:17 - 08:17 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 08:09 - 08:09 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 08:07 - 08:07 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 08:03 - 08:03 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 07:57 - 07:57 (00:00)
|
||||
kbrazil ttys001 Thu Jul 11 07:52 - 07:52 (00:00)
|
||||
kbrazil ttys001 Wed Jul 10 17:35 - 17:35 (00:00)
|
||||
kbrazil ttys003 Wed Jul 10 16:58 - 16:58 (00:00)
|
||||
kbrazil ttys002 Wed Jul 10 16:39 - 16:39 (00:00)
|
||||
kbrazil ttys001 Wed Jul 10 07:51 - 07:51 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:30 - 22:30 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:14 - 22:14 (00:00)
|
||||
kbrazil ttys001 Tue Jul 9 22:14 - 22:14 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:14 - 22:14 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:12 - 22:12 (00:00)
|
||||
kbrazil ttys003 Tue Jul 9 22:11 - 22:11 (00:00)
|
||||
kbrazil ttys002 Tue Jul 9 22:11 - 22:11 (00:00)
|
||||
kbrazil ttys001 Tue Jul 9 22:11 - 22:11 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:11 - 22:11 (00:00)
|
||||
kbrazil ttys001 Tue Jul 9 22:10 - 22:10 (00:00)
|
||||
kbrazil ttys000 Tue Jul 9 22:04 - 22:04 (00:00)
|
||||
kbrazil console Tue Jul 9 08:29 - 11:41 (2+03:11)
|
||||
reboot ~ Tue Jul 9 08:29
|
||||
shutdown ~ Tue Jul 9 08:27
|
||||
kbrazil console Mon Jul 8 18:07 - 08:27 (14:20)
|
||||
reboot ~ Mon Jul 8 18:07
|
||||
shutdown ~ Mon Jul 8 18:06
|
||||
kbrazil console Mon Jul 8 17:47 - 18:06 (00:18)
|
||||
reboot ~ Mon Jul 8 17:47
|
||||
shutdown ~ Mon Jul 8 17:47
|
||||
kbrazil console Tue Jul 2 11:49 - 17:47 (6+05:58)
|
||||
reboot ~ Tue Jul 2 11:48
|
||||
shutdown ~ Tue Jul 2 11:44
|
||||
kbrazil console Tue Jul 2 10:44 - 11:44 (00:59)
|
||||
reboot ~ Tue Jul 2 10:43
|
||||
shutdown ~ Tue Jul 2 10:00
|
||||
kbrazil console Tue Jul 2 09:52 - 10:00 (00:08)
|
||||
reboot ~ Tue Jul 2 09:50
|
||||
shutdown ~ Tue Jul 2 09:37
|
||||
kbrazil console Tue Jul 2 08:56 - 09:37 (00:40)
|
||||
_mbsetupuser console Tue Jul 2 08:52 - 08:57 (00:05)
|
||||
root console Tue Jul 2 08:52 - 08:52 (00:00)
|
||||
reboot ~ Tue Jul 2 08:51
|
||||
reboot ~ Fri Jun 21 15:54
|
||||
|
||||
wtmp begins Fri Jun 21 15:54
|
1
tests/fixtures/ubuntu-18.04/last-w.json
vendored
Normal file
1
tests/fixtures/ubuntu-18.04/last-w.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
[{"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 28 23:03", "logout": "still logged in"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generic", "login": "Fri Feb 28 23:03", "logout": "running"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 28 14:56", "logout": "down", "duration": "06:51"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generic", "login": "Fri Feb 28 14:55", "logout": "21:47", "duration": "06:52"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 27 23:50", "logout": "down", "duration": "00:10"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generic", "login": "Thu Feb 27 23:49", "logout": "00:00", "duration": "00:11"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 27 18:07", "logout": "down", "duration": "00:04"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generic", "login": "Thu Feb 27 18:07", "logout": "18:12", "duration": "00:04"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Tue Feb 18 02:50", "logout": "down", "duration": "1+13:58"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generic", "login": "Tue Feb 18 02:50", "logout": "16:48", "duration": "1+13:58"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 14 02:06", "logout": "01:48", "duration": "3+23:41"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generic", "login": "Fri Feb 14 02:06", "logout": "01:48", "duration": "3+23:41"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 6 01:05", "logout": "down", "duration": "1+14:43"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generic", "login": "Thu Feb 6 01:04", "logout": "15:48", "duration": "1+14:43"}]
|
16
tests/fixtures/ubuntu-18.04/last-w.out
vendored
Normal file
16
tests/fixtures/ubuntu-18.04/last-w.out
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
kbrazil ttyS0 Fri Feb 28 23:03 still logged in
|
||||
reboot system boot 4.15.0-88-generic Fri Feb 28 23:03 still running
|
||||
kbrazil ttyS0 Fri Feb 28 14:56 - down (06:51)
|
||||
reboot system boot 4.15.0-88-generic Fri Feb 28 14:55 - 21:47 (06:52)
|
||||
kbrazil ttyS0 Thu Feb 27 23:50 - down (00:10)
|
||||
reboot system boot 4.15.0-88-generic Thu Feb 27 23:49 - 00:00 (00:11)
|
||||
kbrazil ttyS0 Thu Feb 27 18:07 - down (00:04)
|
||||
reboot system boot 4.15.0-76-generic Thu Feb 27 18:07 - 18:12 (00:04)
|
||||
kbrazil ttyS0 Tue Feb 18 02:50 - down (1+13:58)
|
||||
reboot system boot 4.15.0-76-generic Tue Feb 18 02:50 - 16:48 (1+13:58)
|
||||
kbrazil ttyS0 Fri Feb 14 02:06 - 01:48 (3+23:41)
|
||||
reboot system boot 4.15.0-76-generic Fri Feb 14 02:06 - 01:48 (3+23:41)
|
||||
kbrazil ttyS0 Thu Feb 6 01:05 - down (1+14:43)
|
||||
reboot system boot 4.15.0-76-generic Thu Feb 6 01:04 - 15:48 (1+14:43)
|
||||
|
||||
wtmp begins Wed Feb 5 22:22:55 2020
|
1
tests/fixtures/ubuntu-18.04/last.json
vendored
Normal file
1
tests/fixtures/ubuntu-18.04/last.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
[{"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 28 23:03", "logout": "still logged in"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generi", "login": "Fri Feb 28 23:03", "logout": "running"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 28 14:56", "logout": "down", "duration": "06:51"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generi", "login": "Fri Feb 28 14:55", "logout": "21:47", "duration": "06:52"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 27 23:50", "logout": "down", "duration": "00:10"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-88-generi", "login": "Thu Feb 27 23:49", "logout": "00:00", "duration": "00:11"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 27 18:07", "logout": "down", "duration": "00:04"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generi", "login": "Thu Feb 27 18:07", "logout": "18:12", "duration": "00:04"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Tue Feb 18 02:50", "logout": "down", "duration": "1+13:58"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generi", "login": "Tue Feb 18 02:50", "logout": "16:48", "duration": "1+13:58"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 14 02:06", "logout": "01:48", "duration": "3+23:41"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generi", "login": "Fri Feb 14 02:06", "logout": "01:48", "duration": "3+23:41"}, {"user": "kbrazil", "tty": "ttyS0", "hostname": null, "login": "Thu Feb 6 01:05", "logout": "down", "duration": "1+14:43"}, {"user": "reboot", "tty": "system boot", "hostname": "4.15.0-76-generi", "login": "Thu Feb 6 01:04", "logout": "15:48", "duration": "1+14:43"}]
|
16
tests/fixtures/ubuntu-18.04/last.out
vendored
Normal file
16
tests/fixtures/ubuntu-18.04/last.out
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
kbrazil ttyS0 Fri Feb 28 23:03 still logged in
|
||||
reboot system boot 4.15.0-88-generi Fri Feb 28 23:03 still running
|
||||
kbrazil ttyS0 Fri Feb 28 14:56 - down (06:51)
|
||||
reboot system boot 4.15.0-88-generi Fri Feb 28 14:55 - 21:47 (06:52)
|
||||
kbrazil ttyS0 Thu Feb 27 23:50 - down (00:10)
|
||||
reboot system boot 4.15.0-88-generi Thu Feb 27 23:49 - 00:00 (00:11)
|
||||
kbrazil ttyS0 Thu Feb 27 18:07 - down (00:04)
|
||||
reboot system boot 4.15.0-76-generi Thu Feb 27 18:07 - 18:12 (00:04)
|
||||
kbrazil ttyS0 Tue Feb 18 02:50 - down (1+13:58)
|
||||
reboot system boot 4.15.0-76-generi Tue Feb 18 02:50 - 16:48 (1+13:58)
|
||||
kbrazil ttyS0 Fri Feb 14 02:06 - 01:48 (3+23:41)
|
||||
reboot system boot 4.15.0-76-generi Fri Feb 14 02:06 - 01:48 (3+23:41)
|
||||
kbrazil ttyS0 Thu Feb 6 01:05 - down (1+14:43)
|
||||
reboot system boot 4.15.0-76-generi Thu Feb 6 01:04 - 15:48 (1+14:43)
|
||||
|
||||
wtmp begins Wed Feb 5 22:22:55 2020
|
1
tests/fixtures/ubuntu-18.04/lastb.json
vendored
Normal file
1
tests/fixtures/ubuntu-18.04/lastb.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
[{"user": "UNKNOWN", "tty": "ttyS0", "hostname": null, "login": "Fri Feb 14 02:06", "logout": "02:06", "duration": "00:00"}]
|
3
tests/fixtures/ubuntu-18.04/lastb.out
vendored
Normal file
3
tests/fixtures/ubuntu-18.04/lastb.out
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
UNKNOWN ttyS0 Fri Feb 14 02:06 - 02:06 (00:00)
|
||||
|
||||
btmp begins Fri Feb 14 02:06:41 2020
|
100
tests/test_last.py
Normal file
100
tests/test_last.py
Normal file
@ -0,0 +1,100 @@
|
||||
import os
|
||||
import json
|
||||
import unittest
|
||||
import jc.parsers.last
|
||||
|
||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
# input
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last.out'), 'r') as f:
|
||||
self.centos_7_7_last = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/last.out'), 'r') as f:
|
||||
self.ubuntu_18_4_last = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/last.out'), 'r') as f:
|
||||
self.osx_10_14_6_last = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lastb.out'), 'r') as f:
|
||||
self.centos_7_7_lastb = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lastb.out'), 'r') as f:
|
||||
self.ubuntu_18_4_lastb = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last-w.out'), 'r') as f:
|
||||
self.centos_7_7_last_w = f.read()
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/last-w.out'), 'r') as f:
|
||||
self.ubuntu_18_4_last_w = f.read()
|
||||
|
||||
# output
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last.json'), 'r') as f:
|
||||
self.centos_7_7_last_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/last.json'), 'r') as f:
|
||||
self.ubuntu_18_4_last_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/last.json'), 'r') as f:
|
||||
self.osx_10_14_6_last_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/lastb.json'), 'r') as f:
|
||||
self.centos_7_7_lastb_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/lastb.json'), 'r') as f:
|
||||
self.ubuntu_18_4_lastb_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last-w.json'), 'r') as f:
|
||||
self.centos_7_7_last_w_json = json.loads(f.read())
|
||||
|
||||
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/last-w.json'), 'r') as f:
|
||||
self.ubuntu_18_4_last_w_json = json.loads(f.read())
|
||||
|
||||
def test_last_centos_7_7(self):
|
||||
"""
|
||||
Test plain 'last' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.centos_7_7_last, quiet=True), self.centos_7_7_last_json)
|
||||
|
||||
def test_last_ubuntu_18_4(self):
|
||||
"""
|
||||
Test plain 'last' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.ubuntu_18_4_last, quiet=True), self.ubuntu_18_4_last_json)
|
||||
|
||||
def test_last_osx_10_14_6(self):
|
||||
"""
|
||||
Test plain 'last' on OSX 10.14.6
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.osx_10_14_6_last, quiet=True), self.osx_10_14_6_last_json)
|
||||
|
||||
def test_lastb_centos_7_7(self):
|
||||
"""
|
||||
Test plain 'lastb' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.centos_7_7_lastb, quiet=True), self.centos_7_7_lastb_json)
|
||||
|
||||
def test_lastb_ubuntu_18_4(self):
|
||||
"""
|
||||
Test plain 'lastb' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.ubuntu_18_4_lastb, quiet=True), self.ubuntu_18_4_lastb_json)
|
||||
|
||||
def test_last_w_centos_7_7(self):
|
||||
"""
|
||||
Test 'last -w' on Centos 7.7
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.centos_7_7_last_w, quiet=True), self.centos_7_7_last_w_json)
|
||||
|
||||
def test_last_w_ubuntu_18_4(self):
|
||||
"""
|
||||
Test 'last -w' on Ubuntu 18.4
|
||||
"""
|
||||
self.assertEqual(jc.parsers.last.parse(self.ubuntu_18_4_last_w, quiet=True), self.ubuntu_18_4_last_w_json)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Reference in New Issue
Block a user