nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to find Total nuber files/size in a server?

This is a discussion on How to find Total nuber files/size in a server? within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hi every One !!! This is my first question in this forum. Can you Pls give me a command How ...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2008, 09:30 AM
Junior Member
User
 
Join Date: Oct 2008
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mahi is on a distinguished road
Question How to find Total nuber files/size in a server?

Hi every One !!!
This is my first question in this forum. Can you Pls give me a command How to find Total number files/size in a server?
Reply With Quote
  #2 (permalink)  
Old 02-10-2008, 11:48 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Use find and wc command:
Code:
find . -type f  | wc -l
Use du command to summarize disk usage of each FILE:
Code:
du
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Script to Display Image size, Res, and Compression TiredOrangeCat Shell scripting 4 12-02-2007 11:04 PM
Linux find and delete files cbzee Linux software 4 20-12-2006 12:01 PM
How to increase the vmalloc size? warren Linux software 1 11-09-2006 12:59 PM
moving files based on size kavi Shell scripting 2 11-11-2005 05:17 PM
find out info. reg. files for each user in the system ganes Solaris/OpenSolaris 6 20-09-2005 06:49 PM


All times are GMT +5.5. The time now is 02:32 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38