|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Total number of files in a FS
Hello people, On HP-UX B.11.11 U 9000/800 How can I have in aprox. the total number of files in a specific FS? Is the number of used inodes a rough estimation of my total number of files? Code:
Server1 /Data:df -i . /Data (/dev/vg_Data/lvol1 ) : 18292960 total i-nodes 15800945 free i-nodes 2492015 used i-nodes 13 % i-nodes used If not please suggest alternatives. Thank you in advance. |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
By files you mean you want only regular files? Code:
ant:/home $ df -i .
/home (/dev/vg00/lvol5 ) : 34112 total i-nodes
23857 free i-nodes
10255 used i-nodes
30 % i-nodes used
ant:/home $ du -a|wc -l
10253
ant:/home $ find . -type f -print|wc -l
9358Last case is only a count of regular files.. |
| The Following User Says Thank You to vbe For This Useful Post: | ||
drbiloukos (07-16-2012) | ||
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Regular files I need.
|
|
#4
|
||||
|
||||
|
So my find command is what you need... look at my comparison above...
|
| The Following User Says Thank You to vbe For This Useful Post: | ||
drbiloukos (07-16-2012) | ||
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Write the total number of rows in multiple files into another file | malaya kumar | UNIX for Dummies Questions & Answers | 4 | 03-30-2012 04:46 AM |
| Command for total number of files (and size) across subdirectories? | Beun | UNIX for Dummies Questions & Answers | 9 | 09-01-2011 11:17 AM |
| perl script on how to count the total number of lines of all the files under a directory | adityam | Shell Programming and Scripting | 5 | 07-07-2010 04:36 AM |
| total number of files which have "aaa" in files whose names are File*_bbb* | sudheshnaiyer | UNIX for Dummies Questions & Answers | 1 | 08-16-2007 02:34 PM |
| grep running total/ final total across multiple files | MrAd | UNIX for Dummies Questions & Answers | 5 | 05-08-2007 01:03 PM |
|
|