Why does the same command appear on two different ports with different times?

While I was destroying some snapshots, I found this interesting / disturbing.

Why is the same destroy appearing twice, on different TTYs?

[16:11 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:18 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-19_22:15:08_frequently
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:11PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-19_22:15:08_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    33 -zsh (zsh)

What’s up with that? And why different times?

It is not always repeatable:

[16:11 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:19 cut -f 1 -w
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_03:00:10_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
[16:12 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:20 cut -f 1 -w
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_03:45:06_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
[16:12 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:20 cut -f 1 -w
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_03:45:06_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
[16:12 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:20 cut -f 1 -w
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_04:00:11_hourly
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
[16:12 r730-03 dvl ~/tmp] % w           
 4:12PM  up 4 days, 18:29, 11 users, load averages: 0.90, 1.14, 1.10
USER       TTY      FROM                                  LOGIN@  IDLE WHAT
dvl        pts/0    pro03.startpoint.vpn.unixathome.org  Mon09PM 4days -zsh (zsh)
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:20 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_04:00:11_frequently
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/3    pro02.startpoint.vpn.unixathome.org  Fri08PM 19:03 -zsh (zsh)
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_04:00:11_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
dvl        pts/6    pro02.startpoint.vpn.unixathome.org  Fri09PM 19:02 -zsh (zsh)
dvl        pts/8    pro02.startpoint.vpn.unixathome.org  Fri09PM 19:02 -zsh (zsh)
dvl        pts/10   pro02.startpoint.vpn.unixathome.org  Fri09PM 19:01 -zsh (zsh)
dvl        pts/12   pro02.startpoint.vpn.unixathome.org  Fri09PM 18:59 -zsh (zsh)
dvl        pts/14   pro02.startpoint.vpn.unixathome.org  Fri09PM 18:53 -zsh (zsh)
[16:12 r730-03 dvl ~/tmp] % w | grep air
dvl        pts/2    air01.startpoint.vpn.unixathome.org   1:04PM  2:20 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_04:15:01_frequently
dvl        pts/1    air01.startpoint.vpn.unixathome.org  Fri11PM     - w
dvl        pts/4    air01.startpoint.vpn.unixathome.org   4:12PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-20_04:15:01_frequently
dvl        pts/5    air01.startpoint.vpn.unixathome.org   1:07PM    35 -zsh (zsh)
[16:13 r730-03 dvl ~/tmp] % 

18:18

It’s repeatable, even within tmux:

[18:19 r730-03 dvl ~/tmp] % w | grep tmux
dvl        pts/4    tmux(80667).%0                        5:49PM    27 grep autosnap_2024-11 /home/dvl/tmp/now
dvl        pts/7    tmux(80667).%0                        6:19PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:00:05_frequently
[18:19 r730-03 dvl ~/tmp] % w | grep tmux
dvl        pts/4    tmux(80667).%0                        5:49PM    27 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
dvl        pts/7    tmux(80667).%0                        6:19PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
[18:19 r730-03 dvl ~/tmp] % w | grep tmux
dvl        pts/4    tmux(80667).%0                        5:49PM    27 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
dvl        pts/7    tmux(80667).%0                        6:19PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
[18:19 r730-03 dvl ~/tmp] % w | grep tmux
dvl        pts/4    tmux(80667).%0                        5:49PM    27 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
dvl        pts/7    tmux(80667).%0                        6:19PM     - sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-11-04_23:15:05_frequently
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top