Device Power usage monitor

Hey,

I was wondering if there is away to monitor what power usage my server/pc is using in HA? without using one of those plug things, something purely software based.