Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • S3 Basic info AWS
  • Implementing Listener Security Oracle
  • Search and replace editor command in vi Linux/Unix
  • Handling LOB data in Oracle Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • EXTPROC Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Jai Shree Ram Oracle
  • Running select from V$ views from remote server Linux/Unix
  • secure crt settings Linux/Unix
  • USE_NL and INDEX hints example Oracle
  • New OFA for 11g Oracle
  • Roles and Stored Procs II 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

  • How to sort list of files on basis of their sizes. Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • Find long Running Transaction 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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • To check whether standby is recovering properly or not?? Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Export With Query Another Example. Oracle
  • Oracle Data Direct to TAPE Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • how to find OS block size Oracle
  • Library cahe Latches and internal explaination Oracle
  • Load SPM baseline from AWR Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme