Queue stats after reboot

Hello.

Is there any way to keep queue stats after rebooting whole server or simple “core stop now”? I will appreciate any help!

Save the values to the AstDB with something like
Set(DB(queuename/valueName)=${theValue}))

You can read them with
${DB(queuename/valueName)}

regards,
Tom