code logs -> 2019 -> Thu, 14 Mar 2019< code.20190313.log - code.20190315.log >
--- Log opened Thu Mar 14 00:00:06 2019
00:00 Callidus [Callidus@Nightstar-pc7srk.cable.rogers.com] has quit [Connection closed]
00:02 Callidus [Callidus@Nightstar-pc7srk.cable.rogers.com] has joined #code
00:22 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
00:22 mode/#code [+o Syloq] by ChanServ
00:24 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
00:24 mode/#code [+o PinkFreud] by ChanServ
00:26 Callidus [Callidus@Nightstar-pc7srk.cable.rogers.com] has quit [[NS] Quit: have fun!]
00:26 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Connection reset by peer]
00:28 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
00:28 mode/#code [+o Alek] by ChanServ
00:40 Derakon[AFK] is now known as Derakon
00:43 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: brb]
00:44 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
00:44 mode/#code [+o Alek] by ChanServ
00:44 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: ]
00:47 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
00:47 mode/#code [+o Alek] by ChanServ
00:57 Kindamoody is now known as Kindamoody[zZz]
00:59 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: ]
01:00 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
01:00 mode/#code [+o Alek] by ChanServ
01:02 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: ]
01:12 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
01:12 mode/#code [+o Alek] by ChanServ
01:12 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: ]
01:18 celmin|sleep is now known as celticminstrel
02:20 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
02:20 mode/#code [+o Alek] by ChanServ
03:49 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
03:49 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
03:59 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
04:05 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
04:17 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
04:19 Derakon is now known as Derakon[AFK]
04:19 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
04:19 mode/#code [+o Alek] by ChanServ
05:00 celticminstrel is now known as celmin|sleep
05:03 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has quit [[NS] Quit: Leaving]
06:28 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
07:35 Netsplit Deepthought.Nightstar.Net <-> Golgafrincham.Nightstar.Net quits: @PinkFreud, @Syloq
07:36 Netsplit Deepthought.Nightstar.Net <-> Golgafrincham.Nightstar.Net quits: @[R], @Tamber, @gnolam, @Reiver, @crystalclaw, @jeroud, @celmin|sleep, @ToxicFrog, Mahal, @Derakon[AFK], (+9 more, use /NETSPLIT to show all of them)
07:37 NSGuest39836 [sid25146@Nightstar-h2b233.irccloud.com] has quit [Operation timed out]
07:37 ErikMesoy [Bruker@Nightstar-hq72t5.customer.cdi.no] has quit [Ping timeout: 121 seconds]
07:38 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Mar 14 07:40:19 2019
--- Log opened Thu Mar 14 07:47:33 2019
07:47 TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code
07:47 Irssi: #code: Total of 29 nicks [22 ops, 0 halfops, 0 voices, 7 normal]
07:47 mode/#code [+o TheWatcher] by ChanServ
07:47 Irssi: Join to #code was synced in 18 secs
09:02 Kindamoody|autojoin is now known as Kindamoody
09:19 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
09:36 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has joined #code
09:44 Kindamoody is now known as Kindamoody|out
10:51 NSGuest58518 is now known as Kizor
12:53 celmin|sleep is now known as celmin|away
13:27
<@abudhabi>
I have an SSH session open from another device as well as this one. I want to terminate it. How do I do that?
13:30
<@TheWatcher>
Use `pstree -p` to work out which sshd process corresponds to the other connection, and then kill that. That's the way I usually do it, anyway
13:32
<@abudhabi>
That's a bit difficult on a shared machine. Way loads of those.
13:32
<@TheWatcher>
alternatively, if you know the IP address the other session is connected from, `netstat -pn | grep "ip.of.other.connection"` will tell you
13:33
<@TheWatcher>
(it'll have something like 123.123.123.123:12345 ESTABLISHED <pid>/sshd: <user>)
13:33
<@abudhabi>
Hmm. I actually do know that.
13:34
<@abudhabi>
TheWatcher: It says "ESTABLISHED -".
13:34
<@abudhabi>
Does that mean it was terminated?
13:35
<&ToxicFrog>
The - means it couldn't figure out what program is using it
13:35
<&ToxicFrog>
ESTABLISHED means the connection is still open
13:35
<@abudhabi>
OK.
13:36
<&ToxicFrog>
(if it were terminated it would be in some variant of CLOSE, FIN_WAIT, TIME_WAIT, or LAST_ACK)
13:37
<&ToxicFrog>
And in fact mine opens with "(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all)"
13:37
<@TheWatcher>
Oh, yeah, I forgot. netstat -pm will only show you process names when you're root, won't it? >.<
13:37
<@TheWatcher>
heh
13:38
<&ToxicFrog>
TheWatcher: it shows you some process names when you aren't root, but not all of them
13:39
<@TheWatcher>
Well, there's possibly `pstree -pu` and look for the sshd processes owned by you, other than the one that's a parent of the one running pstree
13:40
<@abudhabi>
OK, I used pgrep to get all my processes and then played russian roulette with the sshds.
13:40
<@abudhabi>
Thanks for the help, guys.
13:53 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @Alek, @Reiver
13:54 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: Emmy, @gnolam, @ToxicFrog, @[R], @Kindamoody|out, @jeroud, @macdjord, @Derakon[AFK], @Tamber, @Attilla
13:54 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @iospace
--- Log closed Thu Mar 14 13:54:55 2019
--- Log opened Thu Mar 14 14:01:13 2019
14:01 TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code
14:01 Irssi: #code: Total of 31 nicks [22 ops, 0 halfops, 0 voices, 9 normal]
14:01 mode/#code [+o TheWatcher] by ChanServ
14:01 Irssi: Join to #code was synced in 15 secs
14:22 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:22 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:38 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
16:07 Kindamoody|out is now known as Kindamoody
16:08 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
16:19 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
16:56
<&[R]>
abudhabi: utmpdump < /var/log/wtmp | fgrep '['$USER
16:56
<&[R]>
Second column is PIDs of the shell
18:54 NSGuest39836 is now known as Pi
18:54 mode/#code [+o Pi] by ChanServ
18:55 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has joined #code
19:29 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has joined #code
19:34 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has quit [Connection closed]
19:34 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has joined #code
20:47 Derakon[AFK] is now known as Derakon
22:47 Degi [Degi@Nightstar-2hb3el.dyn.telefonica.de] has quit [Connection reset by peer]
23:25 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:32 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has quit [Connection reset by peer]
23:39 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
23:39 mode/#code [+o himi] by ChanServ
23:47 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has joined #code
23:58 celmin|away is now known as celticminstrel
--- Log closed Fri Mar 15 00:00:07 2019
code logs -> 2019 -> Thu, 14 Mar 2019< code.20190313.log - code.20190315.log >

[ Latest log file ]