This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#GET A LIST OF INSTANCES | |
#/usr/sap/hostctrl/exe/saphostctrl -function Listinstances -format Script | |
#GET A LIST of databases | |
saphostctrl -nr 99 -function Listdatabases | |
# manage a db with the host agent | |
# /usr/sap/hostctrl/exe/saphostctrl -nr 99 -function StopDatabase -dbname NPL -dbtype ada -user sapadm passwd | |
#query a db with the host agent |