Tracker
From FarmShare
(Difference between revisions)
Line 18: | Line 18: | ||
Jane at the Software Licensing office uses this log to track usage. We have the logs available here: https://www/services/pubsw/tracker-stats/ | Jane at the Software Licensing office uses this log to track usage. We have the logs available here: https://www/services/pubsw/tracker-stats/ | ||
+ | |||
+ | Here's a way to make the tracker log more readable: | ||
+ | cat tracker/current | tai64nlocal | grep sas | perl -MRegexp::Common -pe 's/($RE{net}{IPv4})/`dig +short -x $1 | cut -f 1 -d '.' | tr "\n" " " `/ge' |
Revision as of 13:24, 9 December 2013
We use 'tracker', a Stanford-specific software, to track how many users use which software: http://www.eyrie.org/~eagle/software/tracker/
using tracker
Example, when I installed Stat/Transfer 11:
cd /farmshare/software/non-free/stattransfer11_64/ mv st .t%st mv stattransfer .t%stattransfer cp -ip /farmshare/user_data/chekh/chekh-from-gluster/src/tracker-1.1/tracker . ln -s tracker st ln -s tracker stattransfer
Now, do a license3:/root# tail -f /var/log/tracker/current and you'll see entries show up when you run st or stattransfer:
@400000004f98536f170f2ce4 chekh@171.67.216.88 stattransfer
Jane at the Software Licensing office uses this log to track usage. We have the logs available here: https://www/services/pubsw/tracker-stats/
Here's a way to make the tracker log more readable:
cat tracker/current | tai64nlocal | grep sas | perl -MRegexp::Common -pe 's/($RE{net}{IPv4})/`dig +short -x $1 | cut -f 1 -d '.' | tr "\n" " " `/ge'