Unix/Linux Command That Are Helpful For SAP Basis

Below are important list of command with parameter which ware very useful in SAP Basis operation where system are sitting on Linux operating system, the commands are similar to most of the linux version systems. 



CommandDetails
dpmon or dpmon pf= <Instance profile path>ABAP Dispatcher queue monitor
jsmon pf=<instance profile path>Java Server monitoring
ps -efRunning work process
ps –eaf|grep dwsap Process overview
ps –eaf|grep oraTo check oracle service is running
kill -9 <PID>Kill work process
msmon pf=profile path name=sidTo check the message server status
gwmon pf=profile path nr=numTo check the gateway status
Ps –eaf | grep lsnrctlListener status
Rslgview pf =-r –ft | pgSystem logs
disp + work –vTo check the version of r3 kernel
R3trans –d ,tnspingChecking the connection with database
Df –hFile system monitor in human readable format
Du –kDisplay all directories and size of current directory
Sqlplus ―/as sysdbaSQL prompt and database connection
Saplicence -getTo get hardware key
saplicense -installto install license
sappfpar all pf=profile pathdisplay all profile parameters
sappfpar check path=profile pathchecks the required space for memory
memlimitsto check the available space for heap and swap memory
telnetRemote system login
telnet <ipaddress><dispatcherportnum>to check the remote sap system is up and running
ftpto check file transfer protocol
rcpremote copy of files
Start/stop sapStart / stop Sap instance
pingcheck destination host reachable
nipingcheck connection between server and a client by transferring packets
systeminfocheck the configuration of system
Ps –aefProcesses status
lsps -aSwap space
topasMemory
CdproTo checking the profiles at path SAPMNT/<SID>/profile
CdexeTo check the Kernel folder
find . -name filename -printfor checking the file in the present directory
gunzipto unzip file
tar –xvzffile name to run the zip folder of file content
lscputo check no of CPU
free -gto check RAM
topCPU utilization
scp -rp file_or_folder_name user@IP:<path destinationto copy files into different server
mv source targetto move or rename file
ls -latrto see list of file
ln -s source_file myfileTo create softlink
rm -rf file_or folderto delete file permanantly
ps -fu usernameto list of process for perticular user
glanceto check whole all wp with cpu and memory utilization

No comments: