Posted on 06-04-2015 07:42 AM
Hello,
We are currently in the process of moving to Outlook and are wondering if there is a way to extract the usage information of the applications. I know you can look at each individually but has anyone found a way to script it so you can gather all the usage information from the environment?
Thanks in advance!
-Jeff
Posted on 06-04-2015 08:15 AM
This might do some of what you need.. As ever test this outside of an EA.. cos the are extra special.. .running globally as root :)
#!/bin/sh
for ulist in `ls /Users`
do
if [ -e "/Users/$ulist/Documents/Microsoft User Data/Office 2011 Identities/Main Identity/Database" ]; then
dbchk=`du "/Users/$ulist/Documents/Microsoft User Data/Office 2011 Identities/Main Identity/Database" | awk '{print $1}'`
if [ "$dbchk" -ge 44137 ] ; then
dbdate=`stat -f "%Sm" "/Users/$ulist/Documents/Microsoft User Data/Office 2011 Identities/Main Identity/Database"`
echo "$ulist $dbchk $dbdate
" >> /var/db/OLdata
result=`cat /var/db/OLdata`
echo "<result>$result</result>"
fi
fi
done
Posted on 06-04-2015 08:18 AM
ah.. you want 'usage' not 'usage'
oh well..
:)
Posted on 06-04-2015 01:26 PM
I know some folks have discussed developing a tool to do this but nothing's available yet. So short answer no long answer possibly if you want to figure out how. : )