Operating System - HP-UX
1833323 Members
2863 Online
110051 Solutions
New Discussion

[help]about HP's 'quota' command[help]

 
SOLVED
Go to solution
zhangr_2
Advisor

[help]about HP's 'quota' command[help]

Hi all
I've met a problem with HP's 'quota'
in my environment,all the users' home directory are mounted from a file server.
and at the file server,every one have 2GB quota.
the problem is I can use command :
quota -v username under Solaris.and get result like this:
######################################
bash-2.05# quota -v rzhang
Disk quotas for rzhang (uid 59610):
Filesystem usage quota limit timeleft files quota limit timeleft
/disk1 1914072 26214400 26214400 11497 -1 -1
######################################
but under HP
when I type quota -v rzhang
I can't get the number,like below:

######################################
bash-2.05b$ quota -v
Disk quotas for rzhang (uid 59610):
Filesystem usage quota limit timeleft files quota limit timeleft
######################################
so do you know how to solve this kind of problem? thanks in advance.

Br Ricky with 8-)
5 REPLIES 5
Sanjay Kumar Suri
Honored Contributor

Re: [help]about HP's 'quota' command[help]

man quota has following to offer:

-v : Display the statistics whether they exceed limits or not. Note that no usage statistics exist if no quota is set.

Check:

directory/quotas: Quota statistics static storage for a file system, where directory is the root of the file system as specified to the mount command.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
zhangr_2
Advisor

Re: [help]about HP's 'quota' command[help]

so is there any way to check how many quota for user on HP-UX?
for example,I wanna to know how many quota on my home directort.what command on HP-UX should I use?

Thanks !
Sanjay Kumar Suri
Honored Contributor

Re: [help]about HP's 'quota' command[help]

Just check this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=69529

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
KapilRaj
Honored Contributor
Solution

Re: [help]about HP's 'quota' command[help]

Login as the user and just type "quota" should print the quota for him ...

I am not sure if the following is the correct option but ...

As root

quota -u ##(?) am i correct

Regds,

Kaps
Nothing is impossible
John Carr_2
Honored Contributor

Re: [help]about HP's 'quota' command[help]

Hi

for all the different options

man 5 quota

:-) John.