I am not sure if this is the correct section to post.

Does anyone know a command line tool that you can run on a SLES \ OES server to query who is logged onto a computer that is registered as a workstation object in edirectory ( I have the MAC address).

I want to be able to set up a script to monitor around 150 machines in a cycle (every 5 minutes depending on the resource usage) and get who is logged in at the given time.

I have tools in windows but I want to get this up and running on our OES server.

Any thoughts, clues or vague ideas would be greatly appreciated. Not specifically looking for definite answers so any thoughts would be good.