diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2016-05-24 21:37:13 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-24 23:05:31 +0200 |
| commit | db761534df3b57122da8e8b05a678182b59a9d3a (patch) | |
| tree | 7d142efd965f16c1ce7d489ee1ff1c0117d8cb36 /doc | |
| parent | a371aa225c2fb0a7071609d10bbddbef353a0da5 (diff) | |
size: Accept several arguments.
* guix/scripts/size.scm (display-profile): Display WHOLE at then end.
(guix-size): Accept several FILES.
* doc/guix.texi (Invoking guix size): Add example with several items.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index d88cc256d7e..1b47193e1f5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -5058,6 +5058,24 @@ reports information based on the available substitutes | |||
| 5058 | (@pxref{Substitutes}). This makes it possible it to profile disk usage of | 5058 | (@pxref{Substitutes}). This makes it possible it to profile disk usage of |
| 5059 | store items that are not even on disk, only available remotely. | 5059 | store items that are not even on disk, only available remotely. |
| 5060 | 5060 | ||
| 5061 | You can also specify several package names: | ||
| 5062 | |||
| 5063 | @example | ||
| 5064 | $ guix size coreutils grep sed bash | ||
| 5065 | store item total self | ||
| 5066 | /gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4% | ||
| 5067 | /gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8% | ||
| 5068 | /gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6% | ||
| 5069 | /gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2% | ||
| 5070 | @dots{} | ||
| 5071 | total: 102.3 MiB | ||
| 5072 | @end example | ||
| 5073 | |||
| 5074 | @noindent | ||
| 5075 | In this example we see that the combination of the four packages takes | ||
| 5076 | 102.3@tie{}MiB in total, which is much less than the sum of each closure | ||
| 5077 | since they have a lot of dependencies in common. | ||
| 5078 | |||
| 5061 | The available options are: | 5079 | The available options are: |
| 5062 | 5080 | ||
| 5063 | @table @option | 5081 | @table @option |
