Commands for To manage the SAP ERP/S4 with Hana DB on Linux-suse/redhat servers

By | April 23, 2017

Hi friend! Now I’m came with new Article for commands related to Linux servers. Especially for, to manage SAP ERP/S4 with HANA Data base, which are exist in Linux server, whether it is SUSE or Redhat platform.

Here, I’m providing some commands and their description. For that you can use any one of the tools like Putty or Gnome or XTerm terminals (VNC) etc.

Commands & Description :

  •  startsap r3
    This will work only for <SID>adm user. Your login in to ‘root’ user, then you need switch the user to SAP user as <SID>adm. It will start all sap application servers except existing Data base.
  • HDB start or ./HDB start
    It is used to start the Hana data base. To use this command, you need to login to the users as <db_sid>adm.
  • stopsap r3
    It same like as above. But it used to stop the all sap application servers except DB.
  • HDB stop or ./HDB stop
    To stop the Hana DB.
  • df -h
    File system monitor.
  • top
    Current running processes(os level), memory , swap and cache … etc monitoring purpose.
  • free -h or free -m
    Memory consumption Analysis.
  • cat /proc/cpuinfo.
    Complete OS processes information.
  • sar 1 1000
    System Idle % statistics.
  • chmod -R <permission number>
    To provide the requuired permissions.
  • cdpro
    To jump directly into profiles directory.
  • ls -ltr or ll
    In details view & also shows the respective permissions.
  • ls
    It will show only files names.
  • pwd
    Shows current directory/path.
  • cd /
    Move back to root directory.
  • cd ..
    Oe step back of directory.
  • mkdir
    To make a new directory.
  • rm
    To remove a file.
  • rm *.*
    To remove all files at a time in the specific path.
  • more <file name>
    To know more about file or file information.
  • env
    Shows the existing environmental variables.
  • export <environment variable>
    To set the environmental variable as temporarily.
  • yast or yast2
    Linux system controll panel or All system settings.
  • vncserver
    To start the VNC as manually.
  • vncpasswd
    To set the VNC password.
  • service vnc status
    To check the VNC-services.
  • ps -aef | grep vnc
    Shows the current running VNC-processes.
  • pkill vnc
    To terminates current running all vnc-processes.
  • ps -ef|grep <PID>
    To know the status of specific work process.
  • kill -9 <PID>
    To kill the specific work process.
  • rm -rf < dir of tmp folder>
    To delete a folder.
  • iostat
    Input/output statistics.
  • java -version
    To know existing Java version.

Thank you!

“I hope it is helpful to you. If you like this Article, Hit me with Facebook Like button or/and share your buddies. If you have any queries, just drop a comment as below”

Category: SAP

Leave a Reply

Your email address will not be published.