The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Count total unique destination for source new_buddy Shell Programming and Scripting 5 07-10-2008 03:50 AM
Inodes nitin09 Linux 3 05-02-2008 04:12 AM
grep running total/ final total across multiple files MrAd UNIX for Dummies Questions & Answers 5 05-08-2007 10:03 AM
inodes gfhgfnhhn UNIX for Dummies Questions & Answers 3 10-11-2006 11:12 PM
INodes... boris888 Filesystems, Disks and Memory 3 05-09-2002 07:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2008
Registered User
 

Join Date: Nov 2007
Posts: 24
total count of inodes in a mount

is there Any command to get total count and number of free inodes on a mount. please help
Reply With Quote
Forum Sponsor
  #2  
Old 07-17-2008
Registered User
 

Join Date: Oct 2007
Location: USA
Posts: 568
Depends on your platform...AIX df -i will tell you the inodes used and percentage.

Code:
df -i
Reply With Quote
  #3  
Old 07-17-2008
Ikon's Avatar
Registered User
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 398
df -i also works on HP-UX and RedHats CentOS
Reply With Quote
  #4  
Old 07-17-2008
Registered User
 

Join Date: Nov 2007
Posts: 24
Sorry forgot to mention, i need command for solaris.

tried df -t and df -i but did not work.
Reply With Quote
  #5  
Old 07-17-2008
joeyg's Avatar
Moderator
 

Join Date: Dec 2007
Location: Home of world champion Boston Celtics
Posts: 982
Cool worked for me on Solaris

Code:
> cat /etc/release
                       Solaris 10 1/06 s10s_u1wos_19a SPARC
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 07 December 2005

> df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
[ACTUAL DATA REDACTED]
listed filesystems, # i nodes, # used, # free, % used, mount points
can you man df?

Funny how my manpage does not seem to show 'i' as an option, but there is an example within the manpage text:

Example 4: Using df to Display Inode Usage

The following example displays inode usage on all ufs file
systems:

example%/usr/bin/df -F ufs -o i
Reply With Quote
  #6  
Old 07-18-2008
jhtrice's Avatar
Registered User
 

Join Date: Jun 2008
Posts: 63
That's a UFS specific option. Look at man df_ufs.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0