Normally in order to kill user session, I'll use the following command in Linux OS.
sudo pkill -9 -u username
Unfortunately, -u is an invalid option in Core.
tc@box:~$ pkill -9 -u userabc
-9: invalid option -- 'u'
Busytc v1.24.2 (2016-05-16 13:46:43 UTC) multi-call binary.
Usage: pkill [-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]
Send a signal to process(es) selected by regex PATTERN
-l List all signals
-f Match against entire command line
-n Signal the newest process only
-o Signal the oldest process only
-v Negate the match
-x Match whole name (not substring)
-s Match session ID (0 for current)
-P Match parent process ID
Then, I use -x instead of -u, but it doesn't work too. The user's session is still there. Please advise.