-
The sdbtop tool can view the current hot session list, the command is as follows:
sdbtop -i server1 -s 11820 -u sdbadmin -p sdbadmin
-
After entering the sdbtop statistics interface, enter s to enter the session statistics interface; enter the TAB key twice to switch to the average mode; enter D and enter the sorting column, the statistics interface will be sorted in descending order of the entered column and list hot sessions.
For example: Enter DataRead in the sorted column, and the statistics interface will dynamically display the sessions with the highest data reading of the current node.
refresh= 3 secs version 5.0 snapshotMode: GLOBAL displayMode: AVERAGE Sessions snapshotModeInput: NULL hostname: localhost filtering Number: 0 servicename: 11810 sortingWay: NULL sortingField: NULL usrName: NULL Refresh: F5, Quit: q, Help: h SessionID TID Type Name QueueSize ProcessEventCount Contexts DataRead IndexRead ------------------------------ -------- ------------------ ------------------------------ ---------- ------------------ --------------- -------------- --------------- 1 1 2252 Task DATASYNC-JOB-D 0 1 [] 2 0 2 1 2251 Task DATASYNC-JOB-D 0 1 [] 1 0
For more information, please visit the official website of Jushan Database