Skip to main content
Question

Usage information

  • June 4, 2015
  • 3 replies
  • 5 views

Forum|alt.badge.img+3

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

3 replies

Forum|alt.badge.img+4

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

Forum|alt.badge.img+4

ah.. you want 'usage' not 'usage'

oh well..

:)


acodega
Forum|alt.badge.img+15
  • Valued Contributor
  • June 4, 2015

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. : )