Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV file using PySpark Python/PySpark
  • Mutating Table Error while using database trigger Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • metalink all dynamic view reference notes. Oracle
  • sqlnet.ora paramters Oracle
  • Jai Shree Ram Linux/Unix
  • plan10g.sql good Oracle
  • sql_plan9i.sql Oracle
  • Explain Plan Output 2 Oracle
  • S3 Basic info AWS
  • logminer and my_lbu Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • set_env_dba Linux/Unix
  • catall.sh 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

  • To see only files and/or folders using LS command Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • send attachment from unix-shell script Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • purge_trc.sh 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • First Entry in RAC Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • catall.sh Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • setting prompt display with .profile Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Remove duplicate rows from table Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme