X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdxuser_stats.pl;fp=cmd%2Fshow%2Fdxuser_stats.pl;h=2a54477771315feafa55eaa22af75d64ade48333;hb=ca828d0e2a21d9a6540361ca4878df71f125e120;hp=0000000000000000000000000000000000000000;hpb=e67d75717f0625225632cfd12a7a2d899fb692ea;p=spider.git diff --git a/cmd/show/dxuser_stats.pl b/cmd/show/dxuser_stats.pl new file mode 100644 index 00000000..2a544777 --- /dev/null +++ b/cmd/show/dxuser_stats.pl @@ -0,0 +1,20 @@ +# +# show the state of the DXUser statistics +# +# Copyright (c) 2020 Dirk Koopman G1TLH +# +my $self = shift; + +if ($self->priv < 9) { + return (1, $self->msg('e5')); +} + +my @out; + +push @out, " New Users: $DXUser::newusers"; +push @out, " Modified Users: $DXUser::modusers"; +push @out, " Total Users: $DXUser::totusers"; +push @out, " Deleted Users: $DXUser::delusers"; +push @out, " Cached Users: $DXUser::cachedusers"; + +return (1, @out);