VMware vSphere

 View Only
  • 1.  how to exit 'watch' command?

    Posted Feb 11, 2020 07:15 PM

    I ran the command watch ntpq -p localhost in the ESXi 5.1 direct console user interface and now I can't figure out how to make it stop and exit.

    Ctrl+C and every imaginable such key sequence does nothing. So, that's it. I just want to exit the command.



  • 2.  RE: how to exit 'watch' command?
    Best Answer

    Posted Feb 11, 2020 07:23 PM

    Open a second putty session and run ps.

    Find the PID used by watch.

    Then run kill PID



  • 3.  RE: how to exit 'watch' command?

    Posted Feb 11, 2020 08:37 PM

    Not what I was looking for, but it worked; so, I'm marking it correct though surely there is a way to exit commands. I've done it before, I just can't for the life of me remember what I did.