i use an APC PowerChute. it's a modest "entry level" UPS. i think it'd keep my PC running for about a minute, thirty before its battery died. but i find it much more useful for countering the sudden drops in the san diego power grid, which are frequent (especially during the summer).
I believe that periodically pulling the PC power cord out of the wall "builds character" and shows your PC who's boss. Real men aren't afraid to simply pull the plug.
yeah, but as a real man, i am afraid of electrical arcs. that's why i usually use the master on/off switch on my PSU

actually, speaking of fun with electricity, when i was young i was moving stuff around on my bedroom entertainment unit when suddenly everything turned off. when i pulled the unit forward to check the wall outlet, i found a dime had fallen in between the outlet and the surge protector plug (which had come a little loose, and was hanging a bit forward). well, the time melted about 3mm down into the plug's prongs before the house circuit blew.
i still have that dime somewhere, along with the penny i accidentally dropped into a paper shredder. good times!
I bought a used one at a yard sale, no paperwork. Dunno if it works, power went out yesterday and when I got home, my PC was off. Shouldn't it have stayed on?
Most will only last 'minutes', not 'hours', depending on load/drain. Their intended use is more for 'brown-outs' than black.... though can be set to 'normally' shut down your computer and thus avoid dumping issues, etc.
They're only as good as the life of their batteries....which is finite...so second-hand isn't ideal.....bit like a second-hand fire-extinguisher...or air-bag....
my UPS has a USB hookup that tells my PC to shut down when the battery reaches a pre-defined limit (i have mine set to send the shutdown command when there is only 45 seconds of power remaining). also with the APC brand, you do have the ability to replace and even upgrade the battery to suit your needs, for a lot less than buying a new unit at retail prices.