Feature #69
Stats
| Status: | Closed | Start: | 01/29/2010 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | - | |||
Description
- nbr d'utilisateurs internes/externes
- nbr de fichiers triés par taille (tranche de valeur)
- nbr de fichiers partagés/nbr de fichiers non partagés/ idem taille
- nbr de fichiers signés/chiffrés
- estimation du débit généré : volume upload/download
History
Updated by Stéfanie Duprey 177 days ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Updated by Sebastien Bahloul 165 days ago
Can you get some samples about the way to use these features ?
Updated by Stéfanie Duprey 165 days ago
- Status changed from Feedback to Closed
The jmx bean is launched when LinShare starts. It gets its data in the database.
You can use this stats bean via the JConsole :
- start LinShare if it's not done
- start the jconsole (the command is jconsole)
- select your LinShare running process
- tab MBeans, LinshareJMXBeans, LinshareStatistics
- you have a first set of precalculated values, as TodaysUploadVolume (upload volume of the day in bytes), NbUsers (users number, internal+guests), NbFiles (number of files in users spaces), NbSharedFiles (number of shared files)...
- then you have some methods which allow you to personalize your statistics; the ones which require String input needs date in dd/mm/yyyy format (minimum date and maximum date to compute the value), the one which require integer input needs some file size in bytes indication ; e.g. the number of files of size between 100B and 1kB.