source: trunk/debathena/debathena/metrics/install-pkg @ 24043

Revision 24043, 178 bytes checked in by broder, 14 years ago (diff)
Create debathena-metrics package for gathering information on how Athena is being used. This package will start a daemon at the beginning of a login session. This daemon captures any path executed by the user over the course of their session, any packages installed by the user, and the total length of the login session. The collected information is sent to wslogger when the user is logged out.
  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3while read pkg_path; do
4    pkg="$(echo "$pkg_path" | sed -e 's#.*/##; s#_.*##')"
5    dbus-send --system edu.mit.debathena.Metrics.InstallPackage "string:$pkg"
6done
Note: See TracBrowser for help on using the repository browser.