Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find_planinfo.sql Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • How to change hostname in Linux Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • myfile Oracle
  • refre.sql Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Find nth max and min. Oracle
  • move_arch_files.ksh Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Oracle Connections expire_time and firewall Oracle
  • cold backup scripts to copy locally Linux/Unix
  • Query to Generate aggregate on every 30 mins. 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

  • Kernel Parameters for Solaris Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • tar and untar a dolder with all its subfolder. 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • VIvek Encryption Package and Its Usage Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Clean up Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • good linux notes Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • plan10g.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme