> On 07/10/2024 07:36 EEST Joan Moreau via dovecot <dovecot@dovecot.org> wrote:
> 
>  
> Hi
> 
> How to get (programatically, c++) the current usage of memory, under the 
> limit of vsz_limit ?
> 
> https://doc.dovecot.org/2.3/configuration_manual/service_configuration/#service-configuration-vsz-limit
> 
> Thank you

You could try https://man7.org/linux/man-pages/man2/getrusage.2.html

Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to