Linux Commands for SAP Basis

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

pseaf|grep
dw

Process overview

pseaf|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




1 Response

  1. Raghuchowdary says:

    This is a good analysis and nice commands and Basis also be good thanks for admin..

Leave a Reply

Your email address will not be published. Required fields are marked *