JMX¶
You can get statistics about the use of LinShare via a JMX bean.
The JMX bean is launched when LinShare starts.
You can for example use this stats bean via the JConsole :
- start LinShare if it's not done
- start the JConsole
$ jconsole&
- select your LinShare running process in the list

- go to the tab MBeans, open the selector LinshareJMXBeans -> LinshareStatistics

- you have a first set of precalculated values (Attributes), 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 (Operations) ; 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.