Skip to main content

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

Hi friend! Now I'm came with new Article for commands which are related to Linux server. 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.
  • sapcontrol -nr <nn> -function GetProcessList
  • ps -ef | grep <SID> | grep sapstartsrv
  • tail -100 <file_name>
  • fuser <port>/tcp
  • fuser -k <port>/tcp
  • netstat -anp| grep <port>
  • netstat -ntlp
  • ls -la | grep <file_name/dir>
  • cat <file> | less
  • cat <file> | grep <file>
  • env | grep <parameter>
  • du -sh <file name>
  • du -sh *
  • ip r
  • uname -a
  • lsb_release -a
  • sudo su -
  • cdpro
  • cat /etc/Suse-release
  • cat /etc/os-release
  • rpm -qa
  • /usr/sap/<SID>/SYS/exe/run/sappfpar check pf=/usr/sap/<SID>/SYS/profile/<SID>_D<nn>_host nr=<nn> name=<SID> | more ---> with <SID>adm
  • tp cleanbuffer <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL  ---> with <SID>adm user.

Related Articles:

 

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"

Comments

Post a Comment

Popular posts from this blog

New Hidden Instagram Features: Auto-Scroll, Playback Speed, Closed Captions (CC) & Full-Screen Mode

Instagram continues to improve the way people watch and interact with short-form videos. While most users are familiar with basic Instagram Reels controls, the platform is introducing and testing several useful playback features that many people may not have noticed yet. These features make watching Reels more convenient, flexible, and enjoyable. Whether you want to watch videos without touching your screen, adjust playback speed, read captions while watching, or enjoy videos without distracting interface elements, Instagram's newer playback controls offer something useful. In this guide, we will explore four interesting Instagram features: Auto-Scroll, Playback Speed, Closed Captions (CC), and Full-Screen Mode. We will explain what each feature does, how to access it, and why you might find it useful. 1. Instagram Auto-Scroll Feature – Watch Reels Without Swiping One of the most convenient additions to Instagram Reels is the Auto-Scroll feature. Normally, when watching Insta...

Troubleshooting SAP Fiori Applications & Generic Apps Tiles loading issues

There are many ways we can troubleshoot the SAP Fiori applications, tiles issues & other Odata services problems. Some times, after completed the all Apps configurations also, the respective tiles are may not load properly.  I will guide you with the available possibilities. Tools & Options: Tcodes : /IWFND/ERROR_LOG /IWBEP/ERROR_LOG Page inspection Code tool Meta data Cache cleanup Front/Back end Cache cleanup Complete Troubleshooting guide for Fiori Apps & Tiles issues: As per the information available in the Fiori Apps Library, we will configure & active the all required apps, Right..! Once you assign the Role, respective App should be appear under the respective Catalog & Group. But some times may not load the tile or may get the error like "Can't load the groups" or "can't load the tile" when you open the App. It may happen due to some Odata services mapping issue or may be due to the wrong system ali...

SAP Basis Administrator job roles & responsibilities including Hana, S4 Fiori, Solman

Dear, you should know the all roles & tasks responsibilities as a SAP Basis Consultant. Here, I will try to give the information on daily, weekly and monthly base activities. Including S4 Hana, Fiori, Solution Manager 7.1/7.2 and on Hana Databases and other DB's. Definition of SAP Basis The SAP Basis Administrator is responsible for the management of the SAP environment. Other responsibilities like implementing, configuring and troubleshooting the sap technical environment. As well as scheduling and executing the sap transport system. The consultant is also responsible for installation, upgrade and maintenance of SAP systems. Additional Roles & Responsibilities : Additionally the consultant should able to do configuration, monitoring and tuning of the sap technical environment.  Also able to design of interfaces between the SAP and external systems, optimize & analyze the performance issues, design the architecture of the landscape. He should be able to... ...