Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • TRUNCATE table and disabling referential constraints. Oracle
  • cur_sql.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • This is from Temi Oracle
  • Jai Shree Ram Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • handling filenname with space Linux/Unix
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • To Find Orphan OS processes. Linux/Unix
  • The most important Tuning Notes Oracle
  • online_bkup.sql Oracle
  • Oracle Identifiers Oracle
  • How to set Processes Parameter 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

  • rm_backup_arch_file.ksh Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • process id based files and processes Linux/Unix
  • Jai Shree Ram Linux/Unix
  • rm_backup_arch_file.ksh 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

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Parallel DML Oracle
  • SYSOPER Mystery Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Multiple listeners Oracle
  • SAN Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme