Show some details of recent Leopard Time Machine activity - shell: bash, Mac OSX 10.5

syslog -F '$Time $Message' -k Sender /System/Library/CoreServices/backupd -k Time ge -72h | tail -n 30
While they are few config options and even fewer useful details regarding what actually is being sent by the time machine 'backupd' process, this can at least tell you its doing something, how much it's doing, and exactly how often. Via macosxhints, http://xrl.us/begrwa, which in turn was via comments
Sample Output
Tue Feb 17 19:38:13 No pre-backup thinning needed: 603.9 MB requested (including padding), 4.73 GB available
Tue Feb 17 19:39:47 Copied 23039 files (33.8 MB) from volume 200GBsOfPurePower.
Tue Feb 17 19:39:47 No pre-backup thinning needed: 563.3 MB requested (including padding), 4.69 GB available
Tue Feb 17 19:40:05 Copied 492 files (60 KB) from volume 200GBsOfPurePower.
Tue Feb 17 19:40:13 Starting post-backup thinning
Tue Feb 17 19:40:13 No post-back up thinning needed: no expired backups exist
Tue Feb 17 19:40:13 Backup completed successfully.
Tue Feb 17 19:40:19 Ejected Time Machine disk image.
Tue Feb 17 19:40:23 Ejected Time Machine network volume.
Wed Feb 18 08:58:36 Starting standard backup

0
2009-02-19 04:33:25

These Might Interest You

  • Shows a constantly updating display of disk IO activity. Two sections are in the output. The first is the IO activity since the machine was booted, the second section is the IO activity in the last second Show Sample Output


    0
    watch -n 1 'iostat -xmd 1 2'
    ryanchapman · 2013-07-06 08:07:32 0
  • View details of both TCP and UDP network activity within a specified port range. Show Sample Output


    5
    lsof -i :555-7000
    zlemini · 2010-10-07 20:45:54 0
  • Shell timeout variables (TMOUT) can be very liberal about what is classified as 'activity', like having an editor open. This command string will terminate the login shell for an user with more than a day's idle time.


    2
    fuser -k `who -u | awk '$6 == "old" { print "/dev/"$2'}`
    lbonanomi · 2009-09-07 03:36:43 2
  • Create an alias to list all contents of the current directory in "reverse" time order. Thus the last modified file will appear just above your next prompt. Useful for remembering where you left off modifying files in a folder or just noting recent changes. csh format but bash syntax similar


    -4
    alias ltr 'ls -altr'
    drb532 · 2011-06-11 03:22:13 0

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: