Community discussions

MikroTik App
 
ekkas
Long time Member
Long time Member
Topic Author
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Free tool(attached) to delete UM users/sessions

Mon Jun 14, 2010 4:19 pm

After having problem to manage a large list of short-term users, I wrote a little Windows program to delete users by viewing the last time seen, and deleting 'old' users and/or sessions.

The program is attached, if anyone might need it. Pop a comment here if you find it usefull.

Although users are deleted, it does not seem to compact the database as system/store/disks space stay more or less the same. Maybe MT can give some comment on how to compact a UM database?

Anyways, enjoy.

Ekkas
You do not have the required permissions to view the files attached to this post.
 
ekkas
Long time Member
Long time Member
Topic Author
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: Free tool(attached) to delete UM users/sessions

Mon Jun 14, 2010 9:38 pm

By doing a :
/tool/user-manager/database/rebuild
seems to help a bit, but you need enough free space available to be able to do it.

Ekkas
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26375
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Free tool(attached) to delete UM users/sessions

Tue Jun 15, 2010 10:43 am

yes, user manager needs lots of space, and you need to run that tool before you run into problems.

Who is online

Users browsing this forum: No registered users and 17 guests