Quote:
Originally Posted by
UBEE
My OS is Solaris and I'm not aware of the NFS thing. Could you share some sample code.We are planning to generate the reports on mount level who are TOP users.
It is difficult for us to share sample code when your requirements are so nebulous.
The title of your thread is "
Top 10 Users in mount level" but the text in your first post says "
I need to pull Top 15 users in every mount". Are you looking for 10 users or 15 users?
What makes a user a
Top user? Is it the number of files in a file hierarchy rooted in a mount point owned by a user? Is it the number of blocks allocated to the files in a file hierarchy rooted in a mount point owned by a user? Is it the sum of the sizes of the files in a file hierarchy in directories owned by the user in a directory that is a mount point? Is it the number of blocks that have been read from files in the file hierarchy rooted in a mount point by processes run by that user? If you're looking at a mount point containing some huge Oracle database files, is Oracle a Top user or are you looking for the Top user to be the database administrator for those Oracle database files? Are you just trying to find out which users invoke the
mount utility the most times? ... ... ...
Depending on what you are trying to do, any one or more of the above might be valid questions. And, the way you get an answer to each of those questions is very different from the way you get an answer to most of the other questions in that list.
Please help us help you! Explain more about what you're trying to do.