SAPCONTROL Command Funtions for SAP HANA

You can use the “sapcontrol” command for various operations and informations on SAP HANA systems with assigned FUNCTION switches.

You can find some commonly used functions for “sapcontrol” program.

To get “process list and status” information for your SAP HANA system then you can use the function “GetProcessList”

SAPCONTROL Command Funtions for SAP HANA

To get “parameter” information for your SAP HANA system then you can use the function “ParameterValue <parameter name>”

SAPCONTROL Command Funtions for SAP HANA

To get “developer trace” information for your SAP HANA system then you can use the function “ListDeveloperTraces”

SAPCONTROL Command Funtions for SAP HANA

To get “version” information for your SAP HANA system then you can use the function “GetVersionInfo”

SAPCONTROL Command Funtions for SAP HANA

Also you can find all functions list for the command “sapcontrol” below ;

GetAlerts
GetEnvironment
GetVersionInfo
GetQueueStatistic
GetProcessList
GetInstanceProperties
ListDeveloperTraces
ReadDeveloperTrace <filename> <filesize>
ListLogFiles
ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
AnalyseLogFiles [<severity 0..2> [<maxentries>
[<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:SS>]]]
ConfigureLogFileList set|add|remove [<filename1> <filename2>... <filenameN>]
GetLogFileList
CreateSnapshot [<description> [<datcol_param> [<analyse_severity -1..2>
[<analyse_maxentries> [<analyse_starttime YYYY MM DD HH:MM:SS>
<analyse_endtime YYYY MM DD HH:MM:SS> [maxentries
[<filename1> ... <filenameN>]]]]]]]
ReadSnapshot <filename> [<local filename>]
ListSnapshots
DeleteSnapshots <filename1> [<filename2>... <filenameN>]
GetAccessPointList
GetProcessParameter <processtype> [pid]
SetProcessParameter <processtype> <pid> <parameter> <value1>
[<value2> ... <valueN>]
OSExecute <command> <async> <timeout> <protocolfile>
SendSignal <pid> <signal>
GetCallstack <pid>
GetSystemInstanceList [<timeout sec>]
StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <level>
[<waittimeout sec> [runlevel]]]
StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <level>
[<waittimeout sec> [<softtimeout sec>]]]
RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <level>
[<waittimeout sec> [<softtimeout sec> [runlevel]]]]
AccessCheck <function>
GetSecNetworkId <service_ip> <service_port> [<version> [<challenge>]]
GetNetworkId <service_ip> <service_port> [<version>]
RequestLogonFile <user>
HACheckConfig
HACheckFailoverConfig
HAGetFailoverConfig
HAFailoverToNode <node>
ABAPReadSyslog
ABAPReadRawSyslog
ABAPGetWPTable
ABAPGetSystemWPTable [<activeonly>]
J2EEControlProcess <processname> <function>
J2EEControlCluster <processname> <function> [<hostname> <instance number>]
J2EEEnableDbgSession <client> [<processname> <debugflags>]
J2EEDisableDbgSession <debugkey>
J2EEGetProcessList
J2EEGetProcessList2
J2EEGetThreadList
J2EEGetThreadList2
J2EEGetThreadCallStack [<threadindex>]
J2EEGetThreadTaskStack [<threadindex>]
J2EEGetSessionList
J2EEGetCacheStatistic
J2EEGetCacheStatistic2
J2EEGetApplicationAliasList
J2EEGetComponentList
J2EEControlComponents <process name> <operation> <componenttype>
<componentname1>,…,<componentnameN>
J2EEGetWebSessionList
J2EEGetWebSessionList2
J2EEGetEJBSessionList
J2EEGetRemoteObjectList
J2EEGetVMGCHistory
J2EEGetVMGCHistory2
J2EEGetVMHeapInfo
J2EEGetClusterMsgList
J2EEGetSharedTableInfo
ICMGetThreadList
ICMGetConnectionList
ICMGetProxyConnectionList
ICMGetCacheEntries
WebDispGetServerList
EnqGetStatistic
EnqGetLockTable
StartWait <timeout sec> <delay sec> [runlevel]
StopWait <timeout sec> <delay sec>
WaitforStarted <timeout sec> <delay sec>
WaitforStopped <timeout sec> <delay sec>
RestartServiceWait <timeout sec> <delay sec>
WaitforServiceStarted <timeout sec> <delay sec>
CheckHostAgent

Leave a Reply


nine × = 81

Blogroll