Measuring Productivity

I was chatting with a co-worker the other day and we were talking about working in an office. For knowledge workers going back to an office may have little value, but for managers they really have no way to measure if a person is being "productive" either at home or in the office, so the theory may be that if a worker can be seen not "goofing off", then they are productive. However, is that a good…