Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Python class import from different folders Python/PySpark
  • Error Handling in Proc Oracle
  • create PLAN_TABLE command. Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • fkwoind.sql fkwoindex.sql Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • handling filenname with space Linux/Unix
  • Backup and Recovery Scenarios Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • Good Oracle Architecture In Short and point to point Oracle
  • TRUNCATE Privs Oracle

avail.sh ( find filesystem spae usage)

Posted on 23-Feb-2006 By Admin No Comments on avail.sh ( find filesystem spae usage)

df -k | grep -i “/EMCdb”|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/102

4/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’

df -k | grep -i “/testdb”|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/10

24/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’

df -k | grep -i “/emc3830″|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/1

024/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’

Linux/Unix, shell

Post navigation

Previous Post: Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry
Next Post: cur_sql.sql

Related Posts

  • Find long Running Transaction Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • copying/removing directory with all its subdirectory Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Implementation of key based authentications Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • SQLPLUS COPY command Precautions. Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Jai Shree Ram Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • T-SQL Vs PL/SQL Syntax SQL Server

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme