Finden Sie heraus, wie lange ein MacBook seit seiner Produktion läuft

Kann man herausfinden, wie lange ein MacBook seit seiner Produktion eingeschaltet war?

Wenn es die Originalbatterie ist, nehme ich an, dass die Zyklenzahl einen Hinweis geben könnte? Apple-Menü >>> Über diesen Mac >>> Systembericht >>> Stromversorgung >>> Gesundheitsinfo

Antworten (1)

Es gibt einen Terminal-Befehlac

AC(8)                     BSD System Manager's Manual                  AC(8)

NAME
     ac -- display connect-time accounting

SYNOPSIS
     ac [-d] [-p] [-w file] [users ...]

DESCRIPTION
     A record of individual login and logout times are written to the system
     log by login(8) and launchd(8), respectively.  The program ac examines
     these records and writes the accumulated connect time (in decimal hours)
     for all logins to the standard output.

     Options available:

     -d      Display the connect times in 24 hour chunks.

     -p      Display individual user totals.

     -w file
             Read raw connect time data from file, instead of the system log. >
     users ...
             Display totals for the given individuals only.

     If no arguments are given, ac displays the total amount of login time for
     all active accounts on the system.

Es sieht ungefähr richtig aus, wenn ich es in meinen neuen Computer eingebe, aber mein 9 Jahre alter Mac Pro gibt für seinen aktuellen Benutzer die gleiche Zahl wie die Gesamtstunden an - was bedeutet, dass er den Überblick über mein altes Konto verloren hat [dort immer noch aktiv, aber selten jetzt verwendet], das seit 2008 vorhanden ist. Es gibt nur 0 Stunden an.

Es wäre nicht in der Lage, Stunden zu berücksichtigen, in denen die Maschine möglicherweise eingeschaltet war, ohne dass jemand angemeldet war.