Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Chris Mingay on October 30, 2003, 02:05:20 PM
-
Hi,
Anyone know if it is possible to summarise squid usage, grouped by user dept? I currently run SARG which is great, but limited to user/ip. Is it possible to pass the user name to a script that returns the relative dept?
Thanks!
-Chris
-
worked out how to return the relative dept,
/sbin/e-smith/db accounts getprop user Dept
replacing user with the users name.
-
totally solved, ignore :)
-
Care to share?
A howto would be nice (c;
elSpike out.
-
Hiya,
ya see, when I said totally solved, I was kinda jumping the gun. ;) I had found the awk command I needed to get the value returned from a shell command, system(), however, what I failed to notice is the fact the system() command only works properly in the BEGIN section of an awk script.
I don't suppose you, or anyone else has had experience with this?
Thanks
-Chris