Vertica Script to Monitor and Manage running Sessions
This is i think the script i most use in my day to day activities.
I use it to monitor the sessions that are running on my server and also to keep an eye on what is going on. You will require elevated rights to run this script.
The script will generate an output as the one below.
it will provide you with details of the running sessions such as Request, session_id and more others, but the most important for me the close_session output as this allows me kill what ever session i need.
Be careful with this script and make sure before running it in production you test it in dev and get used to its output.