SAP ASE includes various utilities to gather information:
showserver – shows the SAP ASE servers and Backup Servers that are currently running on the local machine in UNIX platforms.
sybdiag – collects comprehensive SAP ASE configuration and environment data to help SAP Product Support diagnose server issues.
wdllvers – provides information about the SAP ASE-related DLLs (dynamic link libraries) that are loaded into memory in Windows.