Zum Hauptinhalt wechseln

Ursachen für das Herunterfahren eines Macs identifizieren

  1. Ursachen für das Herunterfahren eines Macs identifizieren, Terminal.app öffnen: Schritt 1, Bild 1 von 1
    • Öffne Terminal. Du findest es bei den Dienstprogrammen.

    The terminal responded:log: warning: The log archive contains partial or missing metadata

    log: cannot use --last when archive metadata is missing

    Any advice anyone?

    Edward - Antwort

  2. Ursachen für das Herunterfahren eines Macs identifizieren, Liste der Shutdowns aufrufen: Schritt 2, Bild 1 von 1
    • Kopiere folgende Zeile und setze sie im Terminal ein:

    • log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h

    • Der Abschnitt "24h" des Befehls kann zu jeden gewünschten Zeitraum abgeändert werden.

    This doesn’t appear to show anything on Apple Silicon M1 systems.

    Henk Poley - Antwort

    That’s right.

    Greenie CP -

    Late 2013 cause -128 :( Probably old boy needs replacement already

    Alexsey Novik - Antwort

    My terminal reads:

    Bad predicate (Unable to parse the format string “ ‘eventMessage”): ‘eventMessage

    Any ideas?

    Richard Freeman - Antwort

    I got the same message Big Sur 11.7.1.

    Ivan Ciego -

  3. Ursachen für das Herunterfahren eines Macs identifizieren, Ursachen identifizieren: Schritt 3, Bild 1 von 1
    • Die letzten Ursachen für einen Shutdown werden aufgelistet.

    • Übliche Shutdown-Codes sind 5 für normales Herunterfahren, 3 für ein hartes Herunterfahren, z.B. das Drücken und Halten der Einschalttaste und 0, welches einen Stromausfall anzeigt.

    • Die ganze Liste von Shutdown-Codes ist hier zu finden: Shutdown Causes.

    • Hier ist noch eine neuere Liste von Shutdown-Codes zu finden: Shutdown causes (im George Garside Blog)

    the terminal command does not work in El Capitan. Apparently this works only with Sierra onwards. Any ideas how to get this to work with El Capitan?

    Avocet Peregrine - Antwort

    I’m getting a Previous Shutdown Cause code that is not listed in either iFixit or in grgarside blog (Previous shutdown cause: -8). Any ideas on what it might be? Thanks.

    Chevindu Wickramathilaka - Antwort

Abschluss

Geschafft! In Zukunft solltest du Probleme mit unbeabsichtigtem Herunterfahren und andere merkwürdige Erscheinungen besser lösen können.

Wenn dir die Anleitung geholfen hat, dann drücke den Knopf unten :-)

23 weitere Nutzer:innen haben diese Anleitung absolviert.

Besonderer Dank geht an diese Übersetzer:innen:

en de

100%

VauWeh hilft uns, die Welt in Ordnung zu bringen! Wie kann ich mithelfen?
Hier starten ›

Angehängte Dokumente

Jonah Aragon

Mitglied seit: 08/05/18

5.303 Reputation

5 Anleitungen geschrieben

Team

Experimax Coon Rapids Mitglied von Experimax Coon Rapids

Business

3 Mitglieder

17 Anleitungen geschrieben

13 Kommentare

For me it says

kernel: (AppleSMC) Previous shutdown cause: -20

The attached PDF (and the internet) doesn’t seem to have any information about this code. What’s the source of the codes for the PDF? Maybe they have updated listing for shutdown codes.

Saurabh Shrivastava - Antwort

we also have -20 as a cause and have no idea what it means. did you ever find it out?

octomobiki -

I also have -20 code of shut down after macOS 10.15.5 update with MBP 16inches model.

but no information at all….

赤月小黄泉 -

writErr = -20, /*I/O System Errors*/ its this error for code -20 .. Find all error codes here :- https://krypted.com/lists/comprehensive-...

UNKNOWN X -

Sorry , that was not related, check this one : - https://georgegarside.com/blog/macos/shu...

and, error code 20- T2 security chip initiated shutdown

UNKNOWN X -

copied/pasted your terminal command and got this: -bash: log: command not found

OS 10.11.6

Chris Catalano - Antwort

Hello,

First time posting here but I’m having some issues with a Macbook Air 2020 (Not the M1) having some shutdowns, I have run the terminal command and it’s coming up with Error -67 and I can’t seem to find this one anywhere. Hoping someone has some guidance, Running most up to date Big Sur, (11.1). Clean installed the OS and didn’t transfer a backup over and it seems to be still happening. Also tried an SMC / NVRAM reset, Safe mode, first aid disk. Any advise would be appreciated!

Blair Harrison - Antwort

My MacBook air 2015 is unusable now . It keeps shutting down after 5-10 minutes of uses … and the last shut down cause is -128

What should i do now ? any one ????

CLOUD GAMING - Antwort

I have 2014 MacBook Pro 13 and I had the same problem my Mac was shutting down randomly. I looked the logs from the terminal and it stated the problem was power disconnected (shutdown cause 0). So I reset the SMC and unplugged my battery and plug it back to logic board. Also I drained my battery completely and charged it to 100 without distraction and waited 8 more hours on the %100. My problem was solved. Mac never shuts down again and my Mac is working faster. Maybe this information will be helpful to somebody.

Selim Tuzel - Antwort

cloud gaming, -128 is not the error you want to see as it refers to a problem with the logic board

cheers

marcus stephen - Antwort

Does not work on M1 Macs. 0 entries come up.

Drew - Antwort

Hello , what would be this command but for a M1 rubbing lates Ventura version ?

Erick Llanos - Antwort

in my case it is -128 which is same to -112. can you please tell me the solution

Muhammad Ali Kayani - Antwort

Kommentar hinzufügen

Seitenaufrufe:

Letzte 24 Stunden: 44

Letzte 7 Tage: 321

Letzte 30 Tage: 1,386

Insgesamt: 87,620