Home > View, Vmware > VMware View Usage statistics

VMware View Usage statistics

My boss kept asking me for usage stats for our View installation. I looked at Stratusphere UX, which looks to be a great product, but at  $15,600 for 400 licenses, is out of our budget at this time. What to do, what to do?  Write my own, of course!

While I’m not saying that my homegrown app will come close to the functionality of Stratusphere, it does a decent job of tracking usage and see what apps are used and for how long. One other tidbit that comes up from the data is a list of applications that users leave open when they logoff or disconnect.

It is written in visual studio 2008 .net and uses Process.GetProcesses to enumerate any process that has a title set. This is stored in an array and a timer then checks every so often to see if the process is still running. If not, the stop time is recorded in the array. Once the user logsout, the app then calls some stored procs on a database server to dump all of the data.

The data has the machine name, userid of the person, date/time stamp for login, date/time stamp for logout, then in a different table it has all of the applications that the user ran along with date/time stamp for start and stop of the app.

With this data I can then use excel to analyze what’s going on, how long users are staying connected (55 mins on average) which applications they are running and for how long (IE, then excel then word are the most used). Then based on login/logout DTS I can plot usage by day and time. So in the graph you can see that usage ramps up just after 8 am and then winds down again just afer 8 pm. Not the best program I’ve ever written but it sure has been handy to show the higher-ups some graphs and pictures to help justify View. Having the data for application usage helps too in that we can better leverage licensing (I know that SPSS was only used 20 times during the data gathering period and can track it back to specific users) NOTE: this was run on one small pool, hence the max concurrent of just over 100 users

While not a direct relacement for something like Stratusphere, I think that others can use in-house developed apps to get much of the same data in their own environments.

Up next: I will be re-writing the app to include connection broker URL, client IP and OS to help differentiate locally connected users and those connecting through a security gateway from off-site

Categories: View, Vmware
  1. June 1, 2011 at 7:23 am

    Excellent work!
    Can’t wait for the next version.
    Have you ever considered making your app available online?


    • June 1, 2011 at 12:34 pm

      Thanks Didier. I’ve thought about it, but not too much.. right now the DB connection is hard-coded as are the table names. I guess I could make the source code public under GNU or something

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: