I just learned that "time" can output a lot of other information as well. I timed "apt-get update" again, but this time with some more output. I've pasted the output below. I'm not sure what to make of this, though --- whether the volontary and involontary context switches are a problem, for example.
Anyway, the fact that the process only spends seconds in user and kernel mode, while the wall-clock time is 28 minutes, is puzzling to me.
Code:
> 'time' -f "%E real, %U user, %S sys, %F faults, %I inputs, %O outputs, %R minor faults, %W swap, %c invol. cntx-switch, %w vol. cntx-switch" sudo apt-get update
[sudo] password for martin:
Ign http://se.archive.ubuntu.com quantal InRelease
Ign http://deb.opera.com stable InRelease
Ign http://ppa.launchpad.net quantal InRelease
Hit http://repository.spotify.com stable InRelease
Hit http://deb.opera.com stable Release.gpg
Hit http://deb.opera.com stable Release
Ign http://ppa.launchpad.net precise InRelease
Ign http://extras.ubuntu.com quantal InRelease
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://repository.spotify.com stable/non-free Sources
Ign http://ppa.launchpad.net quantal InRelease
Hit http://extras.ubuntu.com quantal Release.gpg
Ign http://se.archive.ubuntu.com quantal-updates InRelease
Hit http://repository.spotify.com stable/non-free i386 Packages
Ign http://ppa.launchpad.net quantal InRelease
Ign http://ppa.launchpad.net quantal InRelease
Ign http://se.archive.ubuntu.com quantal-backports InRelease
Ign http://security.ubuntu.com quantal-security InRelease
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://se.archive.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://se.archive.ubuntu.com quantal-updates Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://extras.ubuntu.com quantal/main Sources
Get:1 http://security.ubuntu.com quantal-security Release.gpg [933 B]
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://se.archive.ubuntu.com quantal-backports Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Ign http://linux.dropbox.com precise InRelease
Hit http://extras.ubuntu.com quantal/main i386 Packages
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://se.archive.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://se.archive.ubuntu.com quantal-updates Release
Hit http://ppa.launchpad.net quantal Release
Get:2 http://security.ubuntu.com quantal-security Release [49.6 kB]
Hit http://se.archive.ubuntu.com quantal-backports Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net quantal Release
Hit http://se.archive.ubuntu.com quantal/main Sources
Hit http://ppa.launchpad.net quantal Release
Hit http://se.archive.ubuntu.com quantal/restricted Sources
Get:3 http://linux.dropbox.com precise Release.gpg [489 B]
Hit http://ppa.launchpad.net quantal Release
Ign http://repository.spotify.com stable/non-free Translation-en_US
Hit http://ppa.launchpad.net quantal/main Sources
Ign http://repository.spotify.com stable/non-free Translation-en
Hit http://se.archive.ubuntu.com quantal/universe Sources
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://se.archive.ubuntu.com quantal/multiverse Sources
Get:4 http://linux.dropbox.com precise Release [2,603 B]
Ign http://extras.ubuntu.com quantal/main Translation-en
Get:5 http://security.ubuntu.com quantal-security/main Sources [33.5 kB]
Hit http://se.archive.ubuntu.com quantal/main i386 Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://se.archive.ubuntu.com quantal/restricted i386 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://se.archive.ubuntu.com quantal/universe i386 Packages
Get:6 http://linux.dropbox.com precise/main i386 Packages [1,148 B]
Hit http://ppa.launchpad.net quantal/main Sources
Get:7 http://security.ubuntu.com quantal-security/restricted Sources [14 B]
Hit http://se.archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://ppa.launchpad.net quantal/main i386 Packages
Get:8 http://security.ubuntu.com quantal-security/universe Sources [15.5 kB]
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://se.archive.ubuntu.com quantal/main Translation-en
Get:9 http://security.ubuntu.com quantal-security/multiverse Sources [700 B]
Hit http://se.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://se.archive.ubuntu.com quantal/restricted Translation-en
Get:10 http://security.ubuntu.com quantal-security/main i386 Packages [90.5 kB]
Hit http://se.archive.ubuntu.com quantal/universe Translation-en
Hit http://se.archive.ubuntu.com quantal-updates/main Sources
Hit http://se.archive.ubuntu.com quantal-updates/restricted Sources
Hit http://se.archive.ubuntu.com quantal-updates/universe Sources
Hit http://se.archive.ubuntu.com quantal-updates/multiverse Sources
Hit http://se.archive.ubuntu.com quantal-updates/main i386 Packages
Hit http://se.archive.ubuntu.com quantal-updates/restricted i386 Packages
Hit http://se.archive.ubuntu.com quantal-updates/universe i386 Packages
Hit http://se.archive.ubuntu.com quantal-updates/multiverse i386 Packages
Get:11 http://security.ubuntu.com quantal-security/restricted i386 Packages [14 B]
Hit http://se.archive.ubuntu.com quantal-updates/main Translation-en
Get:12 http://security.ubuntu.com quantal-security/universe i386 Packages [42.3 kB]
Hit http://se.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://se.archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://se.archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://se.archive.ubuntu.com quantal-backports/main Sources
Get:13 http://security.ubuntu.com quantal-security/multiverse i386 Packages [1,397 B]
Hit http://se.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://se.archive.ubuntu.com quantal-backports/universe Sources
Hit http://se.archive.ubuntu.com quantal-backports/multiverse Sources
Hit http://se.archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://se.archive.ubuntu.com quantal-backports/restricted i386 Packages
Hit http://se.archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://se.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://se.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://se.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://se.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://se.archive.ubuntu.com quantal-backports/universe Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://linux.dropbox.com precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://linux.dropbox.com precise/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Hit http://security.ubuntu.com quantal-security/universe Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://se.archive.ubuntu.com quantal/main Translation-en_US
Ign http://se.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://se.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://se.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://se.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://se.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://se.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://se.archive.ubuntu.com quantal-backports/universe Translation-en_US
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Fetched 239 kB in 4s (49.3 kB/s)
Reading package lists... Done
28:53.26 real, 24.37 user, 5.55 sys, 20 faults, 2728 inputs, 3851424 outputs, 495023 minor faults, 0 swap, 1695 invol. cntx-switch, 394480 vol. cntx-switch
Bookmarks