Back to section

/ LINUX / du -sh *

Filesystem Usage Investigation

The du -sh command was used to summarise directory sizes on the SAP HANA host and identify locations contributing most to filesystem growth.

T-Code / Command
du -sh *
System
Linux — sapsystem
Objective
Identify directories consuming significant storage space and investigate potential filesystem growth risks.

Operational Scenario

As part of routine SAP Basis operational monitoring, filesystem utilization was analyzed to identify directories contributing to storage growth and support proactive capacity management within the SAP HANA environment.

Business Impact

Understanding filesystem growth patterns supports proactive capacity planning, prevents storage-related service disruptions, and contributes to SAP system stability.

/ Tools Used

PuTTYduLinux Bash

/ Step-by-Step Execution

01

Summarise directory sizes

The du -sh * command was executed to summarise the size of every top-level directory. Attention was paid to SAP HANA directories, trace files, logs and configuration folders because they typically dominate storage growth.

bash — sidadm@sap-host
$du -sh *
step-7-du-results.jpg
Operational Observation

The largest directory identified during the review belonged to the SAP HANA sapsystem host content. No abnormal storage growth or immediate capacity concerns were identified.

/ Case Study PDF

Operational Summary

Lessons Learned
  • Combine df -h (macro view) with du -sh * (micro view) to build a complete storage picture.
  • Regularly recording du output helps trend directory growth over time.
Skills Demonstrated
Storage AnalysisCapacity ManagementLinux AdministrationSAP Basis Administration