> Da: Daniel Aquino [mailto:[EMAIL PROTECTED] 
> 
> I'm writing a perl script to train sa.
> 
> And I'm wondering how I can get the statics that "sa-learn --dump magic"
would give me ?
> 
> Thanks!

Which statistics?

"sa-learn --dump magic" only gives some infos about the bayes db status.

See:

xxx ~ # su -s /bin/sh -c '/usr/bin/sa-learn --dump magic' - amavis
0.000          0          3          0  non-token data: bayes db version
0.000          0      42955          0  non-token data: nspam
0.000          0      24938          0  non-token data: nham
0.000          0     161062          0  non-token data: ntokens
0.000          0 1184337895          0  non-token data: oldest atime
0.000          0 1187116896          0  non-token data: newest atime
0.000          0 1187113117          0  non-token data: last journal sync
atime
0.000          0 1187102847          0  non-token data: last expiry atime
0.000          0    2764800          0  non-token data: last expire atime
delta
0.000          0       3256          0  non-token data: last expire
reduction count

Giampaolo

Reply via email to