Article ID: 1902, created on Jun 4, 2007, last review on May 11, 2014

  • Applies to:
  • Virtuozzo containers for Windows 4.0
  • Virtuozzo for Windows 3.5.1 SP1

Resolution

Sometimes when a VE reaches its maximum number of terminal connections, it’s necessary to log off one or more terminal sessions from the Virtuozzo node. You can use the following commands to do this:
vzctl exec VEID query session


This command outputs information on open sessions:
SESSIONNAME       USERNAME        ID      STATE       TYPE DEVICE
                  Administrator   0        Disc       rdpwd 
rdp-tcp                           65536    Listen     rdpwd
console                           4        Conn       wdcon
rdp-tcp#5         Administrator   3        Active     rdpwd


Check the ID of the session you want to log off, and use the following command:

logoff SESSIONID

1348db476c8a5844ffbef8d503db9c15 28d0f7cc091e3b9304fa556c03f9a940 965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF