![]() ![]() The final bit before the pipe symbol ( |), -k Time ge -30m, specifies a time restriction on the matches-this query will only return log entries made in the last 30 minutes.įinally, the pipe symbol sends all of the returned matches to tail -n 10, which will strip out everything except the last 10 lines of the output-I don’t need to see every line that’s been generated, just the end of the file where I can see that the backup finished, and how much space is left on the drive. In this case, that’s the backupd process, the one that Time Machine uses. bit specifies which process we’d like to see the output from-that is, which process sent the messages to the database. In this case, we want to see the time stamp and the message that was returned. The -F '$Time $Message' section specifies how the output will appear. syslog is a new 10.5 program that’s used to query the log database-just as we did with the GUI in Console earlier. That looks ugly, but it’s really a bit simpler than it appears. ![]() Syslog -F '$Time $Message' -k Sender /System/Library/CoreServices/backupd -k Time ge -30m | tail -n 10 Please remove the line break, and replace it with a space-that is, leave a space after backupd: Note that this is supposed to be one long line, but I’ve had to break it here so you can see it all. In the Command box, enter the following text. Next, it’s time to tell GeekTool what we want it to display. I have mine set to 1800 seconds (30 minutes), just to account for those times when I manually start Time Machine, or the Mac’s been sleeping, etc. As Time Machine only backs up hourly, there’s really no need to have this command run all that often. On the Command tab, set the Refresh field to the delay you’d like before rerunning the command we’re building. To the right, click the File pop-up menu and set it to Shell. Double-click on that entry and give it a new name, such as TM Tracking or whatever you like. Click the New Entry button, which will generate a new entry named Console in the Groups window. You can view images from web sites (such as a weather map) or text from files, such as a log file-which is exactly what we’re going to use it for now.Īfter downloading and installing GeekTool, select it in System Preferences and make sure it’s activated (check the Enable GeekTool box). #TIME MACHINE BACKUP MAC PROCESS NAME WINDOWS#Using it, you can output data to windows that sit on your desktop. GeekTool is a System Prefrences panel that we’ve discussed before. In that case, you’ll want something simpler than launching Console and running your saved query every hour. Say you’d like to monitor Time Machine regularly-every time it runs, you’d like to know what it did. The next time you come back to Console, you can run your query by choosing File -> Open Quickly -> LOG DATABASE QUERIES -> Time Machine activity. In the lower section of the window, leave the first two menus set to Message and Contains, then type backupd in the small text box and click OK. Select File -> New Log Database Query, and in the new window that appears, give your query a name (Time Machine activity). If you plan on doing this a lot, you can create a database query that you can run without retyping your search each time. The messages reveal how much data was backed up, what older backups were removed, and other general information about the backup run. The results are shown in three columns, as you can see, and it’s the Message column that’s most useful. The filtered output should look something like this: As you type, Console will filter the results to only show those entries related to the backupd process. Click in the search box at the top right of the window (or just press Command-Option-F), then type backupd. To find the activity for Time Machine, you only need to know that the Time Machine process is called backupd. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |