Linux Commands for SAP Basis

Below are the most commonly used Linux commands for SAP Basis consultants. These OS Level commands can be useful during the various daily activities for SAP Basis consultants.

Command Description
dpmon or dpmon pf=[Instance profile path] ABAP Dispatcher queue monitor
jcmon pf=[instance profile path] Java Server monitoring
PS Running work process
ps –eaf|grep dw Process overview
ps –eaf|grep ora To check oracle service is running
ps –eaf | grep dw | kill -9 Kill work process
msmon pf=profile path name=sid To check the message server status
gwmon pf=profile path nr=num To check the gateway status
Ps –eaf | grep lsnrctl Listener status
Rslgview pf =-r –ft | pg System logs
Disp + work –v To check the version of r3 kernel
R3trans –d ,tnsping Checking the connection with database
Df –k File system monitor
Du –k Display all directories and size of current directory
Sqlplus ―/as sysdba SQL prompt and database connection
Saplicence -get To get hardware key
saplicense -install to install license
sappfpar all pf=profile path display all profile parameters
sappfpar check path=profile path checks the required space for memory
memlimits to check the available space for heap and swap memory
telnet Remote system login
telnet [ipaddress][dispatcherportnum] to check the remote sap system is up and running
ftp file transfer protocol
rcp remote copy of files
Start/stop sap Start / stop Sap instance
ping check destination host reachable
niping check connection between server and a client by transferring packets
systeminfo check the configuration of system
Ps –aef Processes status
lsps -a Swap space
topas Memory
Cdpro To checking the profiles at path SAPMNT/[SID]/profile
Cdexe To check the Kernel folder
find . -name filename -print for checking the file in the present directory
gunzip to unzip file
tar –xvzf file name to run the zip folder of file content
Related Post