Difference between revisions of "Disable Ubuntu sleep mode"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<span data-link_translate_nl_title="Ubuntu slaapstand uitschakelen"  data-link_translate_nl_url="Ubuntu slaapstand uitschakelen"></span>[[:nl:Ubuntu slaapstand uitschakelen]][[nl:Ubuntu slaapstand uitschakelen]]
 +
<span data-link_translate_it_title="Disattivare la modalità sonno di Ubuntu"  data-link_translate_it_url="Disattivare la modalità sonno di Ubuntu"></span>[[:it:Disattivare la modalità sonno di Ubuntu]][[it:Disattivare la modalità sonno di Ubuntu]]
 +
<span data-link_translate_pt_title="Desactivar o modo de sono Ubuntu"  data-link_translate_pt_url="Desactivar o modo de sono Ubuntu"></span>[[:pt:Desactivar o modo de sono Ubuntu]][[pt:Desactivar o modo de sono Ubuntu]]
 
<span data-link_translate_es_title="Desactivar el modo de suspensión de Ubuntu"  data-link_translate_es_url="Desactivar el modo de suspensión de Ubuntu"></span>[[:es:Desactivar el modo de suspensión de Ubuntu]][[es:Desactivar el modo de suspensión de Ubuntu]]
 
<span data-link_translate_es_title="Desactivar el modo de suspensión de Ubuntu"  data-link_translate_es_url="Desactivar el modo de suspensión de Ubuntu"></span>[[:es:Desactivar el modo de suspensión de Ubuntu]][[es:Desactivar el modo de suspensión de Ubuntu]]
 
<span data-link_translate_fr_title="Désactiver la mise en veille Ubuntu"  data-link_translate_fr_url="Désactiver la mise en veille Ubuntu"></span>[[:fr:Désactiver la mise en veille Ubuntu]][[fr:Désactiver la mise en veille Ubuntu]]
 
<span data-link_translate_fr_title="Désactiver la mise en veille Ubuntu"  data-link_translate_fr_url="Désactiver la mise en veille Ubuntu"></span>[[:fr:Désactiver la mise en veille Ubuntu]][[fr:Désactiver la mise en veille Ubuntu]]
 
<br />This article has been created by an automatic translation software. You can view the article source [[:fr:Désactiver la mise en veille Ubuntu|here]].<br /><span data-translate="fr"></span><br />
 
<br />This article has been created by an automatic translation software. You can view the article source [[:fr:Désactiver la mise en veille Ubuntu|here]].<br /><span data-translate="fr"></span><br />
 +
 +
{{#seo:
 +
|title=Disable Ubuntu sleep mode
 +
|title_mode=append
 +
|keywords=these,are,your,keywords
 +
|description=Disable Ubuntu sleep mode
 +
|image=Uploaded_file.png
 +
|image_alt=Wiki Logo
 +
}}
 +
 
==How to disable Ubuntu sleep mode? ===
 
==How to disable Ubuntu sleep mode? ===
  
To disable standby on your Ubuntu server, you already need to see the status of the standby service.
+
To disable standby on your [https://www.ikoula.com/en/dedicated-server/linux/ubuntu Ubuntu] server, you already need to see the status of the standby service.
  
 
<pre>systemctl status sleep.target</pre>
 
<pre>systemctl status sleep.target</pre>
  
[[File:Sleep.PNG]]
+
[[File:Sleep2.JPG]]
  
 
Once you have checked this, you should also check the status of other monitoring services.
 
Once you have checked this, you should also check the status of other monitoring services.
Line 18: Line 31:
 
<pre>systemctl status hybrid-sleep.target</pre>
 
<pre>systemctl status hybrid-sleep.target</pre>
  
[[File:Sleep2.PNG]]
+
[[File:Sleep3JPG.JPG]]
  
 
To suspend the standby service, you can perform the following command:  
 
To suspend the standby service, you can perform the following command:  
Line 24: Line 37:
 
<pre>systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target</pre>
 
<pre>systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target</pre>
  
[[File:Sleep3.PNG]]
+
[[File:Sleep4JPG.JPG]]
  
 
Then the service will appear as "masked" which will prevent your server from going to sleep.
 
Then the service will appear as "masked" which will prevent your server from going to sleep.
Line 30: Line 43:
 
<pre>systemctl status sleep.target</pre>
 
<pre>systemctl status sleep.target</pre>
  
[[File:Sleep4.PNG]]
+
[[File:Sleep5.JPG]]
  
 
[[Category:Linux]] [[Category:VPS server]] [[Category:Dedicated server]]
 
[[Category:Linux]] [[Category:VPS server]] [[Category:Dedicated server]]

Latest revision as of 16:05, 6 March 2022

nl:Ubuntu slaapstand uitschakelen it:Disattivare la modalità sonno di Ubuntu pt:Desactivar o modo de sono Ubuntu es:Desactivar el modo de suspensión de Ubuntu fr:Désactiver la mise en veille Ubuntu
This article has been created by an automatic translation software. You can view the article source here.

How to disable Ubuntu sleep mode? =

To disable standby on your Ubuntu server, you already need to see the status of the standby service.

systemctl status sleep.target

Sleep2.JPG

Once you have checked this, you should also check the status of other monitoring services.

systemctl status suspend.target
systemctl status hibernate.target
systemctl status hybrid-sleep.target

Sleep3JPG.JPG

To suspend the standby service, you can perform the following command:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Sleep4JPG.JPG

Then the service will appear as "masked" which will prevent your server from going to sleep.

systemctl status sleep.target

Sleep5.JPG