Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • create trigger syntax Oracle
  • Find all users who have DML privileges Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Jai Shree Ram Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Oracle Internal Good Websites 1 Oracle
  • myfile Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • MYSQL for Oracle DBA MYSQL
  • Passing from Unix to PLSQL using bind variables Linux/Unix

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

  • Small sample shell program Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • age_alert.ksh aging out alert.log Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Changing default shell Linux/Unix
  • move_arch_files.ksh 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • cache buffer chain latch Oracle
  • All Hints for Oracle Databases Oracle
  • Proc Compilation Oracle
  • Jai Shree Ram Oracle
  • Running select from V$ views from remote server Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • how to find OS block size Oracle
  • chk_space_SID.ksh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme