Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Paste command syntax Linux/Unix
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Good notes on Oracle Events Oracle
  • Getting started with notebook Python/PySpark
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • send attachment from unix-shell script Linux/Unix
  • Rollback force for distributed transactions Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Histogram Overview Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL

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

  • handling filenname with space Linux/Unix
  • Removing first line Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Small sample shell program Linux/Unix
  • Running select from V$ views from remote server 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • UTL_FILE test program Oracle
  • All Hints for Oracle Databases Oracle
  • SAN Linux/Unix
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Sample WW22 listener.ora Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme