Hi Lazlow!
I know that it's a feature of Hardware(Mainboard supporting this feature)and the machines i mentioned support WOL.
I have found perl package that can be used to send Magic Packet (ARP Protocol)to wake up a machine supporting Wol:
http://gsd.di.uminho.pt/jpo/software/wakeonlan/
Further this script (through Cron jobs) is going to power down the machine if there is not user process running since last 2 hours:
"bash -c "for uid in \`ps -eo uid --no-heading\`; do [[ $uid -ge 500 ]] && /sbin/shutdown -c && exit ; done || /sbin/shutdown -h +120""
I have to test some scenarios on it, like if a user is connected through SSHD or VNC but not working then what to do ...?
I would like to have some inputs on this...
Another task we have under consideration is that if we can use Hibernation in Linux to bring up the machine in minimum time and machines don't need to shutdown completely.
Thanks & Regards,
Parveen Khera