From: Derek Fawcus <dfawcus+lists-tuhs@employees.org>
To: tuhs@tuhs.org
Subject: Re: [TUHS] screen editors
Date: Tue, 7 Jan 2020 21:20:13 +0000 [thread overview]
Message-ID: <20200107212013.GA17953@clarinet.employees.org> (raw)
In-Reply-To: <8cf54833-dcc6-7958-f05f-f6606006b4d9@case.edu>
On Tue, Jan 07, 2020 at 03:45:24PM -0500, Chet Ramey wrote:
> On my Mac OS X machine, it's about ten times smaller than vim
>
> $ size /usr/local/bin/ce
> __TEXT __DATA __OBJC others dec hex
> 114688 339968 0 4295024640 4295479296 10007d000
> $ size /usr/bin/vim
> __TEXT __DATA __OBJC others dec hex
> 1687552 176128 0 4295016448 4296880128 1001d3000
>
> Similar numbers on RHEL 7, but due to the large bss, it's only about
> 45% smaller than vim.
So I got curious about those large numbers on the mac, and made use of 'otool -l'.
It would seem that the values for __DATA reported by size correspond to the overall
size of the 'load command' for the __DATA segment, and so includes bss as well.
$ ls -l /usr/bin/vim
-rwxr-xr-x 1 root wheel 1530064 29 Jun 2018 /usr/bin/vim
So 'size' on the mac is not so useful, but 'size -m /usr/bin/vim' gives
information from which one could derive the normal 'size' output.
$ size -m /usr/bin/vim
Segment __PAGEZERO: 4294967296
Segment __TEXT: 1388544
Section __text: 1271745
Section __stubs: 1044
Section __stub_helper: 1756
Section __cstring: 85892
Section __const: 14672
Section __unwind_info: 8944
total 1384053
Segment __DATA: 155648
Section __got: 1056
Section __nl_symbol_ptr: 16
Section __la_symbol_ptr: 1392
Section __const: 38608
Section __data: 64432
Section __bss: 42520
Section __common: 5720
total 153744
Segment __LINKEDIT: 36864
total 4296548352
DF
next prev parent reply other threads:[~2020-01-07 21:28 UTC|newest]
Thread overview: 118+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-07 2:31 Doug McIlroy
2020-01-07 2:37 ` Brantley Coile
2020-01-07 2:38 ` Larry McVoy
2020-01-07 16:30 ` arnold
2020-01-07 16:38 ` Richard Salz
2020-01-07 18:32 ` Dan Cross
2020-01-07 19:14 ` Thomas Paulsen
2020-01-09 5:01 ` Grant Taylor via TUHS
2020-01-10 8:16 ` ricercar
2020-01-08 0:10 ` Jon Steinhart
2020-01-17 22:06 ` Dave Horsfall
2020-01-08 18:30 ` Mary Ann Horton
2020-01-08 21:41 ` Thomas Paulsen
2020-01-09 8:30 ` arnold
2020-01-07 6:19 ` Dave Horsfall
2020-01-07 8:24 ` Thomas Paulsen
2020-01-07 20:44 ` Dave Horsfall
2020-01-08 15:29 ` Steve Mynott
2020-01-08 23:31 ` Dave Horsfall
2020-01-07 9:43 ` ullbeking
2020-01-07 14:53 ` Dan Cross
2020-01-07 19:35 ` Rodrigo G. López
2020-01-08 5:13 ` Mark van Atten
2020-01-07 15:03 ` Clem Cole
2020-01-08 21:43 ` [TUHS] screen editors (FRED) Greg A. Woods
2020-01-09 0:04 ` Dave Horsfall
2020-01-07 15:50 ` [TUHS] screen editors Thomas Paulsen
2020-01-07 20:45 ` Chet Ramey
2020-01-07 21:20 ` Derek Fawcus [this message]
2020-01-07 19:57 Doug McIlroy
2020-01-07 20:17 ` Brantley Coile
2020-01-07 20:47 ` Bakul Shah
2020-01-08 7:39 Thomas Paulsen
2020-01-08 15:58 ` Steve Nickolas
2020-01-08 23:41 ` Dave Horsfall
2020-01-09 1:43 ` Nemo Nusquam
2020-01-08 21:49 ` Dave Horsfall
2020-01-08 22:01 ` Clem Cole
2020-01-17 23:38 ` Dave Horsfall
2020-01-18 0:07 ` Ryan Casalino
2020-01-18 23:02 ` greg travis
2020-01-10 8:13 ` markus schnalke
2020-01-10 8:17 ` U'll Be King of the Stars
2020-01-11 19:58 ` markus schnalke
2020-01-11 20:54 ` Derek Fawcus
2020-01-11 21:27 ` Henry Bent
2020-02-04 8:40 ` Sijmen J. Mulder
2020-01-10 15:31 ` Nemo Nusquam
2020-01-10 16:04 ` Clem Cole
2020-01-10 17:10 ` Dan Cross
2020-01-10 17:18 ` Steve Nickolas
2020-01-18 1:55 ` Michael Parson
2020-01-10 15:58 ` Theodore Y. Ts'o
2020-01-08 9:46 Rudi Blom
2020-01-08 14:15 ` Chet Ramey
2020-01-08 15:15 ` Steffen Nurpmeso
2020-01-08 15:42 ` Steve Mynott
[not found] ` <68b3d6df-94f6-625d-39bf-6149b4c177c9@andrewnesbit.org>
2020-01-08 20:56 ` Steffen Nurpmeso
2020-01-08 23:21 ` Dave Horsfall
2020-01-09 0:08 ` Warner Losh
2020-01-09 1:28 ` Larry McVoy
2020-01-09 1:40 ` Bakul Shah
2020-01-09 2:04 ` Clem Cole
2020-01-09 2:07 ` Larry McVoy
2020-01-09 2:12 ` Clem Cole
2020-01-09 2:59 ` Bakul Shah
2020-01-09 3:08 ` Larry McVoy
2020-01-09 3:43 ` Bakul Shah
2020-01-09 3:27 ` Mary Ann Horton
2020-01-09 3:34 ` Larry McVoy
2020-01-09 3:49 ` Bakul Shah
2020-01-09 3:55 ` Mary Ann Horton
2020-01-09 5:27 ` Bakul Shah
2020-01-09 4:23 ` Jon Steinhart
2020-01-09 15:54 ` Clem Cole
2020-01-09 17:21 ` Jon Steinhart
2020-01-09 17:30 ` Warner Losh
2020-01-09 17:56 ` Bakul Shah
2020-01-18 2:11 ` Michael Parson
2020-01-09 18:53 ` Larry McVoy
2020-01-09 19:01 ` Jon Steinhart
2020-01-09 19:02 ` Steffen Nurpmeso
2020-01-09 19:19 ` Steffen Nurpmeso
2020-01-09 20:20 ` Mary Ann Horton
2020-01-18 2:06 ` Michael Parson
2020-01-18 3:13 ` Clem Cole
2020-01-18 3:44 ` Kurt H Maier
2020-01-18 15:37 ` Larry McVoy
2020-01-18 22:11 ` markus schnalke
2020-01-09 2:14 ` Greg 'groggy' Lehey
2020-01-09 2:48 ` Chet Ramey
2020-01-09 9:05 ` Thomas Paulsen
2020-01-08 15:11 ` Nemo Nusquam
2020-01-08 15:37 ` Henry Bent
2020-01-18 14:22 ` Michael Parson
2020-01-09 21:46 Norman Wilson
2020-01-09 22:10 ` Brantley Coile
[not found] <20200120155946.169b39e0.ref@sagittariusa.cnb.csic.es>
2020-01-20 14:59 ` [TUHS] Screen editors Jose R. Valverde via TUHS
2020-01-20 16:07 ` Toby Thain
2020-01-20 16:20 ` Larry McVoy
2020-01-31 18:21 ` Jose R. Valverde via TUHS
2020-01-29 22:24 ` Dave Horsfall
2020-01-29 22:33 ` Larry McVoy
2020-02-07 23:05 ` Dave Horsfall
2020-02-07 23:54 ` Richard Salz
2020-02-08 3:11 ` Dave Horsfall
2020-02-08 3:38 ` Ronald Natalie
2020-02-08 0:05 ` Bakul Shah
2020-01-29 23:00 ` Thomas Paulsen
2020-01-26 18:28 ` arnold
2020-01-26 18:33 ` Adam Thornton
2020-01-26 18:36 ` arnold
2020-01-26 18:40 ` arnold
2020-01-26 19:11 ` Adam Thornton
2020-01-26 19:40 ` Jon Forrest
2020-01-26 20:08 ` Chet Ramey
2020-01-26 20:32 Paul Ruizendaal
2020-01-26 23:14 ` Thomas Paulsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200107212013.GA17953@clarinet.employees.org \
--to=dfawcus+lists-tuhs@employees.org \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).