Logging out various other users from the command line

Sometimes when there are way too many users visited it can create my computer system to come to be really slow-moving and also laggy as a result of reduced quantity of readily available RAM. I would love to have the ability to promptly log out the various other users from the command line as opposed to by hand switching over right into each customer and also logging them out.

Is this feasible?

0
2019-12-02 02:58:57
Source Share
Answers: 1

this is one solution

who -u

that offer you the PID

Then you can eliminate the customer session.

kill "pid"
0
2019-12-03 04:31:46
Source