How? Do you just want to know how much power your computer draws from the socket? Or what each individual component in the computer draws at any given moment? The first is easy, just buy a watt-meter and go through that (put it in the socket, put your computer in on the other side). As for the other, that's a whole different ballgame without a simple solution. You could get a multimeter with multiple inputs, but those are expensive.