BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-29-2007, 04:33 PM   #1 (permalink)
Thumbs Must Hurt
 
Brendan42's Avatar
 
Join Date: Mar 2006
Location: London
Model: 8900
Carrier: If I had a choice, a man-bag like Jack on Day-6.
Posts: 165
Post Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Getting "Available Memory" on BES Manager

Please Login to Remove!

Hi All.
Running BES 4.1 with Exchange. I need to be able to see what memory each of the handheld devices have, using BES Manager. I know you can select a device and go to the Device (read-only) section, but I need to export this value for all our devices. Really not happy to try and do it manually for 800 devices. Anybody know if it can be done via SNMP, BESalert, anything at all...
Thanks in advance.
__________________
___________________________________________
Better to light a candle than to curse the darkness.
Offline  
Old 08-29-2007, 05:04 PM   #2 (permalink)
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You mean the available memory of each device or the capacity memory of each device out of the box?
Offline  
Old 08-29-2007, 05:33 PM   #3 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm guessing capacity ... If you install the BESUserAdminService (you can get it here: https://www.blackberry.com/BRK/entryPoint.do) ... you can execute a BESUserAdminClient command to get the stats ...

something like: BESUserAdminClient -p PWDYOUSET -stats -users -b BESSERVERNAME
Offline  
Old 08-29-2007, 05:40 PM   #4 (permalink)
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why not just do an export from the BES manager and it will give you user's PIN, model, memory, IMEI, etc. All the info necessary to creating a report.
Offline  
Old 08-29-2007, 05:46 PM   #5 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

... because I'm a dooMAS and like doing it that way. Yeah, that'd be about a billion and a half times easier ... I always forget what you can and cannot export out.
Offline  
Old 08-29-2007, 05:59 PM   #6 (permalink)
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

LOL, each person has their own way of doing things and what works for them to make their lives easier & As long as you get the things you need done
Offline  
Old 08-29-2007, 06:23 PM   #7 (permalink)
Thumbs Must Hurt
 
Brendan42's Avatar
 
Join Date: Mar 2006
Location: London
Model: 8900
Carrier: If I had a choice, a man-bag like Jack on Day-6.
Posts: 165
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks hdawg and amukhey for the replies.
I need to get the current Available memory (after apps etc.), not the memory installed on the device. Our esteemed leaders want to roll an application out to the devices but we would like to be sure it's not going to cause problems with low memory (probably just looking for an excuse to upgrade)

Hdawg, you seem to be the most active member on these forums, haven't been on a thread yet that didn't have the monkey
__________________
___________________________________________
Better to light a candle than to curse the darkness.
Offline  
Old 08-29-2007, 09:02 PM   #8 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've just been a bit addicted the past few months. I spent a LOOOOONG time lurking and then finally decided to start contributing. Funny thing, I read / post here for selfish reasons really; it keeps me thinking and helps me do my job better. Half the questions I see here I'd never see in my job purely because of what I focus on... plus the banter back and forth is fun

Now that I went off on a tangent ... I know of know way to get the amount of free memory from a device other than Options > Status. Even the User Admin service will only give you what apps are on ... I'll ping our PAM and see if / where that might be on a feature request list.

Last edited by hdawg : 08-29-2007 at 09:03 PM.
Offline  
Old 08-29-2007, 10:00 PM   #9 (permalink)
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Post Thanks: 0
Thanked 1 Time in 1 Post
Default

It can be found in the database under the SyncDeviceMgmt table. You would need to parse it as follows:

UserConfigId: unique value for each user
TableId: For our purposes, this would be equal to 5 for the device status statistics
Data: Available Memory can be found between the <t3></t3> tags, listed in bytes (divide by 1024 and round to get KB free)

UserConfigId can be tied back to the UserConfig table and Id value to find the DisplayName.

The Data above is defined as follows:
t2: Signal
t3: Available Memory / File Free (device)
t4: Battery Level / Battery (device)
t5: Uptime (in seconds; divide by 86400 and work out the remainder)

Hope that helps. Will be a pain in the butt to tabulate otherwise. Also, this data is only reported every few hours (standard synchronization of HandheldAgent information, I believe), so it may not be completely accurate.

RIM's standard exported data has only ever included information that is stored directly in the database as a standard value. When the Manager/Handheld Config Tool has been required to do the math and parsing around the stored data, it has not been included in the exports. Hope that may explain it a bit. If you have a good programmer (PHP, ASP, scripting) who knows how to interact with an MSSQL database, then you should be able to pull this data and parse it correctly.
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.

Last edited by jibi : 08-29-2007 at 10:03 PM.
Offline  
Old 08-29-2007, 10:11 PM   #10 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you!
Offline  
Old 08-30-2007, 05:14 AM   #11 (permalink)
Thumbs Must Hurt
 
Brendan42's Avatar
 
Join Date: Mar 2006
Location: London
Model: 8900
Carrier: If I had a choice, a man-bag like Jack on Day-6.
Posts: 165
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks

Thanks all for your help, will try the database now.
__________________
___________________________________________
Better to light a candle than to curse the darkness.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.