25 septiembre 2007

Suspender o Hibernar Ubuntu desde la línea de comandos

Supender e hibernar un sistema operativo es bastante simple: no hay más que indicarlo a la hora de apagar el sistema.

La diferencia entre suspensión e hibernación debe estar clara:
  • La suspensión (estado S3) mantiene información en RAM, por lo que hay que seguir alimentándola, y el resto del sistema se apaga.
  • La hibernación (estado S4) almacena la información en el disco duro y todo el sistema se apaga.
Antes de todo debemos asegurarnos que el equipo en Linux soporta ACPI. Podemos comprobarlo ejecutando acpi_available y comprobando el estado de $?. Si es 0 estará activado, si es 1 no:

acpi_available
echo $?

Bien, ¿como se puede ejecutar la suspensión e hibernación en Ubuntu desde la línea de comandos? Pues con el comando script pmi (como root):

pmi action suspend

pmi action hibernate

23 comentarios:

Anónimo dijo...

Hola,
gracias por tu nota sobre suspension/hibernacion. Tengo sin embargo el problema de que una vez que entra en uno de esos modos el sistema, no reacciona mas y tengo que reiniciarlo. Sabes cual puede ser la causa de que ya no "despierte" mas y tenga que reiniciarlo? Gracias. O.A. Mendez

Joaquín dijo...

Hola,

Comprueba que tienes acpi activado con acpi_available.

Comprueba como puedes volver a arrancar en /proc/acpi/wakeup (PWRB y SLPB deben estar enable).

Un saludo.

Anónimo dijo...

hola. Hay un paquete en el repositorio de debian (imagino que en ubuntu tambien) que se llama hibernate que puede hacer todavia mas facil la tarea de hibernar el pc.

Anónimo dijo...

hot horny singles [url=http://loveepicentre.com/]rules of dating[/url] bbw bisexual personals black http://loveepicentre.com/ bbw bisexual personals black

Anónimo dijo...

http://healthportalonline.in/cardura/drug-class-cardura
[url=http://healthportalonline.in/cetirizine/cetirizine-tabs]marian pharmacy 2005 misr international university[/url] amsterdam drugs [url=http://healthportalonline.in/cholesterol/by-cholesterol-diet-lower]by cholesterol diet lower[/url]
drug testing for steroids http://healthportalonline.in/cardizem/cardizem-cd-canada-online-pharmacy-cardizem-cd-actos-norvasc
[url=http://healthportalonline.in/captopril/captopril-cardiac-output]florida law regarding underage drug and alchohol abuse[/url] what does generic cialis look like [url=http://healthportalonline.in/carbohydrate/carbohydrate-addict-diet-site]carbohydrate addict diet site[/url]
pictures of people using drugs http://healthportalonline.in/cephalexin/cephalexin-500-mg-for-dogs
[url=http://healthportalonline.in/caffeine/effect-of-caffeine-on-california-blackworm]danger levitra[/url] physical causes of erectile dysfunction lack of oxygen blood [url=http://healthportalonline.in/calcium/is-calcium-dangerous]is calcium dangerous[/url] drug and alchol test information [url=http://healthportalonline.in/cipro/cipro-and-sinus-infection-treatment]cipro and sinus infection treatment[/url]

Anónimo dijo...

travel aarp http://livetravel.in/vacation-packages/alabama-golf-package-vacation brazil consulate in miami to obtain travel visa
[url=http://livetravel.in/tourism/international-tourism-expenditure-new-zealand]ultimate travel place[/url] canadian travel and tourism [url=http://livetravel.in/vacation-packages/reno-vacation-package]reno vacation package[/url]
adventure travel in northfield http://livetravel.in/cruises/july-cruises
[url=http://livetravel.in/car-rental/ft-lauderdale-florida-rental-car]maine travel packages[/url] youth rail travel on eurostar [url=http://livetravel.in/vacation-packages/universal-studio-vacation-package]universal studio vacation package[/url]
brugo travel mug http://livetravel.in/motel/sherlton-motel-wrightsville-beach
[url=http://livetravel.in/tours/private-birdwatching-tours-nt]graco century kendall travel[/url] leather travel organizer with shoulder strap [url=http://livetravel.in/vacation-packages/vegas-vacation-package]vegas vacation package[/url] new hampshire travel information [url=http://livetravel.in/maps/old-platt-maps-charlotte-nc]old platt maps charlotte nc[/url]
paradisso travel [url=http://livetravel.in/lufthansa/boeing-employment]boeing employment[/url]
how did ancient greeks travel http://livetravel.in/airport/seattle-airport-vancouver-train
[url=http://livetravel.in/tours/home-showcases-tours]free travel for teachers[/url] cleland travel kingston [url=http://livetravel.in/disneyland/small-world-closing-disneyland]small world closing disneyland[/url]
[url=http://livetravel.in/tour/tour-liechtenstein]tour liechtenstein[/url] new zealand travel talk [url=http://livetravel.in/flight/live-in-guitar-amp-flight-case]live in guitar amp flight case[/url] aluminum travel trailer wheels [url=http://livetravel.in/vacation-packages/all-inclusive-las-vegas-vacation-package]all inclusive las vegas vacation package[/url]
world wide sports travel scam fraud uk [url=http://livetravel.in/expedia/expedia-discount-coupon-expedia-discount-coupon]expedia discount coupon expedia discount coupon[/url]

d10z dijo...

Que tal amigo, he leido su articulo sobre la suspension de la maquina y la de Hiibernar. Me gustaria saber de que manera puedo en consola, programar esos comandos para que se puedan realizan al cabo de 20 o 60 minutos.Gracias

Anónimo dijo...

big black hoes porn http://theporncollection.in/gay-man/free-gay-mature-truckers
[url=http://theporncollection.in/lubricant/camshaft-lubricant-break-in]virtual reality simulators amateur[/url] find adult sex toy stores in florida [url=http://theporncollection.in/gay-xxx/naked-fat-hairy-gay-old-men]naked fat hairy gay old men[/url]
casting porn http://theporncollection.in/gay-love/gay-athlete-videos
[url=http://theporncollection.in/lesbian-sex/lesbian-sex-storie]granny dildo[/url] little hentai vids [url=http://theporncollection.in/porn-dvd/xxx-philippine-porn]xxx philippine porn[/url]
best tracy adams adult films http://theporncollection.in/hentai-sex/free-inuyasha-hentai-games
[url=http://theporncollection.in/lubricant/triflo-tri-flo-tri-flo-lubricant]young adult and retreats in chicago[/url] free porn video xmovies [url=http://theporncollection.in/hentai-porn/jasmine-video-hentai]jasmine video hentai[/url]
bubble gum porn http://theporncollection.in/orgasm/female-orgasm-movies
[url=http://theporncollection.in/porn-dvd/dildo-porn-dvd]the disadvantages of petroleum based lubricant[/url] sucking dildo [url=http://theporncollection.in/gay-sex/gay-consumer]gay consumer[/url]

Anónimo dijo...

teen young porn nude http://xwe.in/adult-video/download-adult-games
[url=http://xwe.in/ass-sex/free-ass-tpg]secure free adult sites[/url] youiu porn [url=http://xwe.in/hcg-oral/men-giving-oral-sex-to-women]men giving oral sex to women[/url]
porn thumbnail gallery http://xwe.in/bondage/video-bondage-sex
[url=http://xwe.in/handjob/handjob-video-trailer]singapore adult net[/url] hentai comix blog [url=http://xwe.in/thongs/motley-crue-thongs]motley crue thongs[/url]
adult spelling program free downloads http://xwe.in/girl-anal/anal-sex-dangers
[url=http://xwe.in/hcg-oral/oral-pleasure-to-women]hentai tv show[/url] iraqi porn amateur [url=http://xwe.in/gay-anal/old-gay-fucks-youth]old gay fucks youth[/url]
virgin airways in usa http://xwe.in/toon/funny-explict-toon
[url=http://xwe.in/fetish/los-angeles-fetish-ball]dildo porn dvd[/url] perfect dark hentai [url=http://xwe.in/gay-anal/saumur-sauna-gay]saumur sauna gay[/url]

Anónimo dijo...

movie theater viewing habits [url=http://full-length-movies.com/dvd-quality-movie-fearless/15737database/]Fearless[/url] long sex movie [url=http://full-length-movies.com/dvd-quality-movie-el-arca/16991database/]El Arca[/url]
silent movie mel brooks [url=http://worldmovs.co.cc/full_version-tenacious-d---the-pick-of-destiny/25469database/]Tenacious D - The Pick Of Destiny[/url] movie review updog [url=http://worldmovs.co.cc/full_version-the-51st-state/5800database/]The 51st State[/url]
movie exiled [url=http://full-length-movies.com/dvd-quality-movie-the-comebacks/15385database/]The Comebacks[/url] bratz movie [url=http://full-length-movies.com/dvd-quality-movie-film/20114database/]Film[/url]
top grossing movie off all time [url=http://worldmovs.co.cc/full_version-pretty-persuasion/11588database/]Pretty Persuasion[/url] three little pigs books or movie [url=http://worldmovs.co.cc/full_version-cellular/10714database/]Cellular[/url]

Anónimo dijo...

cost of health care national 1995 [url=http://usadrugstoretoday.com/products/naprosyn.htm]naprosyn[/url] barbecue smoke rub http://usadrugstoretoday.com/products/prometrium.htm
surgery breast enhancement pill [url=http://usadrugstoretoday.com/categories/men-s-health.htm]men s health[/url] us health care spending [url=http://usadrugstoretoday.com/products/roxithromycin.htm ]sleeping girlfriend [/url] vitamin b 6
hypnosis philadelphia smoking stop [url=http://usadrugstoretoday.com/products/pilocarpine.htm]pilocarpine[/url] davis dental benefits http://usadrugstoretoday.com/products/brand-cialis.htm
medicine side effects [url=http://usadrugstoretoday.com/catalogue/h.htm]No prescription online pharmacy[/url] herpes and l lisine [url=http://usadrugstoretoday.com/categories/perdita-di-peso.htm ]prime health care dubai [/url] what is tea bagging

Anónimo dijo...

moccasin shoes http://www.thefashionhouse.us/l-evening-cocktail-size7.html fashionably dead [url=http://www.thefashionhouse.us/32-armani-size13.html]trendy kids shoes[/url] what african american invented a machine in which shoes are attached to soles
http://www.thefashionhouse.us/?action=products&product_id=1929 circa kidsshoes [url=http://www.thefashionhouse.us/?action=products&product_id=1944]kids clothes[/url]

Anónimo dijo...

blood coming from the ear [url=http://usadrugstoretoday.com/products/calcium-carbonate.htm]calcium carbonate[/url] how big is the largest human penis http://usadrugstoretoday.com/products/propranolol.htm
chimney design and smoke and size [url=http://usadrugstoretoday.com/products/vitamin-c.htm]vitamin c[/url] yellow dye and drugs [url=http://usadrugstoretoday.com/categories/disfuncion-erectil.htm ]stress test persantine [/url] board of medicine california
paranoid health facts [url=http://usadrugstoretoday.com/products/vitamin-a-and-d.htm]vitamin a and d[/url] calcium carbonate in cheerios http://usadrugstoretoday.com/products/avodart.htm
heart of illinois sierra club [url=http://usadrugstoretoday.com/products/dulcolax.htm]dulcolax[/url] gay cock muscle hunk [url=http://usadrugstoretoday.com/categories/gastrointestinales.htm ]breast actives exercises [/url] dental care for bulimicsa

Anónimo dijo...

georgia medical suppliers [url=http://usadrugstoretoday.com/products/xtz--energy-booster-.htm]xtz energy booster[/url] low dose aspirin in pregnancy http://usadrugstoretoday.com/products/uroxatral.htm
jagged little pill alyssa morissette lyrics [url=http://usadrugstoretoday.com/catalogue/n.htm]Buy generic and brand medications[/url] how to practice an eating disorder [url=http://usadrugstoretoday.com/products/zanaflex.htm ]health bible [/url] smoke pipe insulation
vaginal infection spotting [url=http://usadrugstoretoday.com/categories/anti-champignons.htm]anti champignons[/url] authorship guidelines medical journals http://usadrugstoretoday.com/products/prometrium.htm
is marfans syndrome sex linked [url=http://usadrugstoretoday.com/products/tenormin.htm]tenormin[/url] osbon medical systems [url=http://usadrugstoretoday.com/products/purim.htm ]party pills and anti depressants [/url] mental health camden county new jersey

Anónimo dijo...

headphone air travel http://xwl.in/hotel travel planner on the christmas parade in gatlinburg tenn
[url=http://xwl.in/flight/flight-simulation-florida]calgary affordable travel[/url] georgia travel and tourism commission [url=http://xwl.in/car-rental]car rental[/url]
home based travel business website http://xwl.in/vacation-packages/vacation-rental-packages-to-maui
[url=http://xwl.in/car-rental/car-rental-info-europe]laws about travel for work reimbursements[/url] fly fishing travel blogs [url=http://xwl.in/airport/airport-industry-standards]airport industry standards[/url]
bali travel deals http://xwl.in/motel/motel-6-newport-or travel to mt blanc [url=http://xwl.in/adventure/engine-guard-extension-kickstand-r1200gs-adventure]engine guard extension kickstand r1200gs adventure[/url]

Anónimo dijo...

white and black fashion store http://www.thefashionhouse.us/-jackets-and-coats-category54.html home depot paint ralph lauren [url=http://www.thefashionhouse.us/-top-and-skirt-roberto-cavalli-category106.html]narrow tennis shoes[/url] doll clothes patterns
http://www.thefashionhouse.us/bacci-abbracci-t-shirts-for-men-brand57.html lauren hutton [url=http://www.thefashionhouse.us/north-sails-t-shirt-for-women-grey-item2255.html]calvin klein bedding collection[/url]

Anónimo dijo...

lauren kain cuckold http://topcitystyle.com/killah-vneck-t-t-shirt-for-women-red-item1898.html onlineshoes coupons [url=http://topcitystyle.com/?action=products&product_id=1038]should dogs wear clothes[/url] ballroom dancing shoes for women in large sizes
http://topcitystyle.com/navy-blue-red-color60.html ralph lauren polo ranger boots [url=http://topcitystyle.com/ed-hardy-dresses-brand39.html]women shoes[/url]

Anónimo dijo...

bingo tomato seeds http://wqm.in/slot_building-ho-slot-car-track-smooth sun cruise casino cape canavaral
[url=http://wqm.in/online-casinos_gray-water-use-in-casinos-water-features-htm]lottery numbers pick[/url] betting nfl football online with paypal [url=http://wqm.in/jokers_gypsy-jokers-from-san-jose-california]gypsy jokers from san jose california[/url]
lottery winnings social security http://wqm.in/poker-online_poker-cheaters
[url=http://wqm.in/roulette_casino-black-jack-roulette]casinos trucos[/url] top 10 casinos in reno and lake tahoe [url=http://wqm.in/baccarat_courvoisier-baccarat-decanter]courvoisier baccarat decanter[/url]
mass lottery results http://wqm.in/gambling-online_countries-with-legalized-gambling new mexico lottery scholarship application [url=http://wqm.in/slots_inspirion-531-slots]inspirion 531 slots[/url]

Anónimo dijo...

atglen health [url=http://usadrugstoretoday.com/products/proscar.htm]proscar[/url] lodi laser whitening http://usadrugstoretoday.com/products/zantac.htm maximum radiation dose for breast cancer http://usadrugstoretoday.com/products/strontium-bone-maker.htm
stat life medical training jacksonville florida [url=http://usadrugstoretoday.com/catalogue/y.htm]medications without a prescription[/url] medical terminology sixth edition access key [url=http://usadrugstoretoday.com/index.php?lng=de&cv=eu]orgasm swallowing[/url]

Anónimo dijo...

on the beach movie review [url=http://moviestrawberry.com/films/film_stuck/]stuck[/url] halloween movie 9 http://moviestrawberry.com/films/film_the_sword_of_bushido/ movie shorts
what matters most movie [url=http://moviestrawberry.com/films/film_gleaming_the_cube/]gleaming the cube[/url] movie channel ratings http://moviestrawberry.com/countries/?page=102 bugsy malone movie script
haunted mansion movie starring ron howard [url=http://moviestrawberry.com/films/film_silent_venom/]silent venom[/url] selling movie ideas
rapid city movie theatres [url=http://moviestrawberry.com/films/film_daffy_duck_s_quackbusters/]daffy duck s quackbusters[/url] holloween movie layouts http://moviestrawberry.com/films/film_another_gay_movie/ top ten movie box office
lowes movie theatre lake grove new york 11755 [url=http://moviestrawberry.com/films/film_those_love_pangs/]those love pangs[/url] star trek xi movie http://moviestrawberry.com/hqmoviesbyyear/year_1997_high-quality-movies/?page=1 flash buttons start stop movie

Anónimo dijo...

yugioh movie cards [url=http://moviestrawberry.com/films/film_family_guy_presents_stewie_griffin_the_untold_story/]family guy presents stewie griffin the untold story[/url] movie converter http://moviestrawberry.com/easy-downloads/letter_W/?page=6 movie the aviator
antonio banderas movie lists [url=http://moviestrawberry.com/films/film_futurama_into_the_wild_green_yonder/]futurama into the wild green yonder[/url] movie 1949 title from here to destiny http://moviestrawberry.com/hqmoviesbygenres/download-genre_animation-movies/ movie mission impposible 3
free download movie trailer om shanti om [url=http://moviestrawberry.com/films/film_angel_of_death/]angel of death[/url] a movie called rise and fall of idi amin
iron man movie trailers [url=http://moviestrawberry.com/films/film_a_special_magnum_for_tony_saitta/]a special magnum for tony saitta[/url] deadwood movie http://moviestrawberry.com/films/film_freaks/ movie the brave one columbus ohio theatre
slug movie [url=http://moviestrawberry.com/films/film_cry_for_help/]cry for help[/url] movie times elizabeth 07450 http://moviestrawberry.com/films/film_carlos_mencia_not_for_the_easily_offended/ worst movie sequel

Anónimo dijo...

hindi sexy movie [url=http://moviestrawberry.com/films/film_mock_the_week/]mock the week[/url] hot babes sex movie gallery http://moviestrawberry.com/films/film_finishing_the_game_the_search_for_a_new_bruce_lee/ the pacifier movie star
movie party favors [url=http://moviestrawberry.com/films/film_wrong_turn/]wrong turn[/url] anthony hopkins last movie http://moviestrawberry.com/hqmoviesbyyear/year_1959_high-quality-movies/ charlie chocolate factory movie script
femdom handjob free movie [url=http://moviestrawberry.com/films/film_the_conspiracy_of_fear/]the conspiracy of fear[/url] left behind the movie
horror movie babes [url=http://moviestrawberry.com/films/film_due_occhi_diabolici/]due occhi diabolici[/url] gait cycle movie http://moviestrawberry.com/films/film_class_of_nuke_em_high_part_ii_subhumanoid_meltdown/ movie video about life in restaurant
movie half blood prince cast [url=http://moviestrawberry.com/films/film_into_the_storm/]into the storm[/url] transformers the movie gross earnings http://moviestrawberry.com/countries/?page=82 movie edit points

Anónimo dijo...

in the movie 100 girls [url=http://moviestrawberry.com/films/film_haven/]haven[/url] movie foreign blue nazi jew post war relatinship http://moviestrawberry.com/films/film_quantum_of_solace/ movie wild alaska
adult movie lists [url=http://moviestrawberry.com/films/film_knight_moves/]knight moves[/url] characters in the movie house of wax http://moviestrawberry.com/films/film_the_conspiracy_of_fear/ gay movie club
blazin saddles download movie [url=http://moviestrawberry.com/films/film_being_there/]being there[/url] movie sales
zathura movie online games [url=http://moviestrawberry.com/films/film_noise/]noise[/url] movie theatre new bern http://moviestrawberry.com/hqmoviesbycountry/country_canada/?page=3 movie about a teen age kid named max
toronto movie listings [url=http://moviestrawberry.com/films/film_simply_irresistible/]simply irresistible[/url] movie bullet proof http://moviestrawberry.com/films/film_behind_locked_doors/ virginia independant movie theaters