?
Solved

file ownership and usage summarie

Posted on 2003-03-23
4
Medium Priority
?
182 Views
Last Modified: 2013-12-15
Hi All.,
I am a greenhorn here.I have Linux 8(2.4.18) on my machine.
I need to output summarise the number of blocks used by a user.
Somebody told me about the UnixWare command quot but I believe that is nonexistent in Linux.
Can Somebody help me perform the same in linux.Right now I use "du -ks" to output the number of blocks.
Thank you in advance
-Paddy
0
Comment
Question by:peepz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:peepz
ID: 8191771
The required output format would be something like the mount
/dev/dsk/xxx (/lvol)
362545   root
4636     user1
345      user2
/dev/export/home (/home)
362545   root
4636     user1
345      user2
...so on for all entries the file system table
0
 
LVL 2

Expert Comment

by:NMi
ID: 8195112
You have to install quota support for the filesystem that you wish to monitor. Then you should be able to output this information using 'repquota' command. In your documents you should be able to find some QUOTA-HowTo.
0
 

Author Comment

by:peepz
ID: 8195270
I do have the quota option but the point is repquota is inadequate in the sense it doesnt provide me the complete data like quot.Also I have a legacy script which is used to the format I set above.
Alternatively do you think having a shell script which runs repquota and then outputs the same format as quot would be a solution?
Thanks for the response though
0
 
LVL 2

Accepted Solution

by:
NMi earned 180 total points
ID: 8195301
Quota package supplied with systems like RedHat is considered more than adequate for absolute majority of Linux users. Of course, if you're using some legacy scripts, you can adapt output of repquota to old standards with, say, awk script. That shouldn't be hard to implement.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question