on 08-26-2010 5:04 PM
Does anyone has an idea how to check system status from Windows command line? In UNIX we use startsap check, unfortunately I didn't find an appropriate command provided by SAP.
The only idea we have is to use
tasklist /FI "Username eq SAPService<SID>" | find "disp+work"
which isn't as nice as startsap check.
you can use SAPINFO to check if instance is up:
sapinfo ashost=MySERVER sysnr=00
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In windows you can use the command
go to profile directory in command prompt and the give the following command to check the status of the instance.
sapstart check pf=START_DVEBMGS<nr>_<hostname>
that means you need to mention start profile or instance profile. So that it will say whether the instance is running or not.
If you want any other information please reply back to me.
Thanks,
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately both answers don't solve the problem:
- Where can I find sapinfo?
- Using sapstart check, the instance is getting started:
<DRIVE>:\usr\sap\<SID>\SYS\profile>sapstart check pf=START_DVEBMGS<SYSNR>_<ASHOST>
SAPSTART finished successfully on <ASHOST>_<SID>_00.
So we can't use it in backup scripts to check whether the instance was stopped successfully.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.