The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 06:50 AM
Inodes nitin09 Linux 3 05-02-2008 07:12 AM
grep running total/ final total across multiple files MrAd UNIX for Dummies Questions & Answers 5 05-08-2007 01:03 PM
inodes gfhgfnhhn UNIX for Dummies Questions & Answers 3 10-12-2006 02:12 AM
INodes... boris888 Filesystems, Disks and Memory 3 05-09-2002 10:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2008
pharos467 pharos467 is offline
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
  #2 (permalink)  
Old 07-17-2008
shamrock shamrock is offline Forum Advisor  
Registered User
  
 

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

Code:
df -i
  #3 (permalink)  
Old 07-17-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
df -i also works on HP-UX and RedHats CentOS
  #4 (permalink)  
Old 07-17-2008
pharos467 pharos467 is offline
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.
  #5 (permalink)  
Old 07-17-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
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
  #6 (permalink)  
Old 07-18-2008
jhtrice's Avatar
jhtrice jhtrice is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 69
That's a UFS specific option. Look at man df_ufs.
Sponsored Links
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0