01-05-2012
Print summary or the total disk usage of conf file
hey i want to print the summary or the total disk usage of the configuration files that are in the /etc directory printed in human-readable format.
i think i got somewhere right as am using wc *.conf commands but i am unsure how to use to put it in human-readable format with the wc command.
hope someone can help
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am trying to create a command string that makes use of the du or df utilities to show block count in kilobytes (1024 bytes) instead of multiples of 512 bytes, any suggestions? Thanks..... (3 Replies)
Discussion started by: klannon
3 Replies
2. HP-UX
I want to record one application's(like oracle etc...) CPU usage summary.
I can filter by "ps". But how to sum?
Thanks (1 Reply)
Discussion started by: jiarong.lu
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
4. Shell Programming and Scripting
Hi,
I'm posting my question here as I fele that what I am about to try to do must have been done already, and I don't want to re-invent the wheel.
I have recently become responsible for monitoring disk space usage for a large file system.
I would like to geenrate reports that will summise... (8 Replies)
Discussion started by: littleIdiot
8 Replies
5. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
6. Shell Programming and Scripting
Hi,
When running top on linux redhat machine , i see that i have 16gb of memory
in my machine and about 14.5gb of memory are in use:
Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers
Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached
How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies
7. Shell Programming and Scripting
Hi all i got a script up but i cant add up the summary report.. keep having synax error . mind helping me to take a look and tell me what went wrong..
i know is a bit long but i hope someone can hep me with it. thanks
the error message come up when i try to run the sumary report..
i guess... (16 Replies)
Discussion started by: xiaojesus
16 Replies
8. UNIX for Advanced & Expert Users
Hi..
What is the command to check total disk usage for specific directory in MG/GB/Byte ?
As example i want to check disk usage for directory pproc ?
Please help me..
Thank you,
Baharin (3 Replies)
Discussion started by: bh_hensem
3 Replies
9. UNIX for Dummies Questions & Answers
How to determine the total percentage cpu usage of a server having 4 cpu cores(quad core)? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
10. Solaris
hi, i am using solaris server. I want to find the total CPU usage on a server. Top command will give that result, but here that command is not working. So anyone can help me to find the total CPU usage. (2 Replies)
Discussion started by: Arasu123
2 Replies
LEARN ABOUT NETBSD
quotadump
REPQUOTA(8) BSD System Manager's Manual REPQUOTA(8)
NAME
repquota -- summarize quotas for a file system
SYNOPSIS
repquota [-ghuv] file-system ...
repquota [-ghuv] -a
repquota -x [-gu] file-system
quotadump [-gu] file-system
DESCRIPTION
repquota prints a summary of the disk usage and quotas for the specified file systems.
Available options:
-a Print the quotas of all the mounted file systems.
-g Print only group quotas (the default is to print both group and user quotas if they exist).
-h Numbers are displayed in a human readable format.
-u Print only user quotas (the default is to print both group and user quotas if they exist).
-v Print a header line before printing each file system quotas. Print all exiting quotas, including those whose current usage is 0.
-x Export file system quota data in a tabular dump format suitable for quotarestore(8). A single file system should be specified.
If invoked as quotadump the behavior is the same as repquota -x.
For each user or group, the current number files and amount of space (in kilobytes, unless the -h flag is used) is printed, along with any
quotas created with edquota(8).
Only the super-user may use this command.
SEE ALSO
quota(1), libquota(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), quotarestore(8)
HISTORY
The repquota command appeared in 4.2BSD.
BSD
May 12, 2012 BSD