Hi Alessandro,
You may use system table M_CONNECTIONS (select * from M_CONNECTIONS) to get connection details, also filter with CONNECTION_STATUS column for current connections.
Refer below documentation for more details (Page 504.):
http://help.sap.com/hana/SAP_HANA_SQL_and_System_Views_Reference_en.pdf
Thanks,
Razal