Previous page

Next page

Locate page in Contents

Print this page

get_ugid_quota

Summary:

Linux Gets second-level disk quota.

Request specification:

Name

Min/Max

Type

Description

get_ugid_quota

1..1

 

 

{

 

 

 

eid

1..1

eid_type

Server ID.

id

0..[]

int

User or group ID to get the quota for.

type

1..1

int

Specifies whether the id element contains a user ID or a group ID:

0 -- User.

1 -- Group.

}

 

 

 

Returns:

Name

Min/Max

Type

Description

ugid_quota

1..1

ugid_quota_info

The requested second-level quota info.

Description:

Virtuozzo supports two levels of disk quotas that can be set for a Container: first-level quotas and second-level quotas.

First-level quotas enable system administrator to limit the amount of disk space and the number of inodes that an individual Container can use. First-level quotas are enabled in Virtuozzo by default but can be turned on or off for an individual Container through Container configuration.

Second-level quotas allow to limit the amount of disk space and the number of inodes that an individual user or a group in a Container is allowed to use.

Example:

Getting second-level disk quota for the user "root" in the specified Container.

Input:

<packet version="4.0.0" id="2">

<target>vzaenvm</target>

<data>

<vzaenvm>

<get_ugid_quota>

<eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</eid>

<id>0</id>

<type>0</type>

</get_ugid_quota>

</vzaenvm>

</data>

</packet>

Please send us your feedback on this help page