linux - Explanation of all columns in size command output? -


after executing size command got following output:

size main.out            text    data     bss     dec     hex filename          1207     552       8    1767     6e7 main.out 

i understood meaning of text, data , bss segment.

what meaning of dec , hex columns?

text gives size of text segment (or code segment).

data gives size of data segment.

bss gives size of block started symbol segment.

dec size of text, data , bss size added in decimal, , hex same number in hexadecimal.


Comments

Popular posts from this blog

go - serving up pdfs using golang -

python - Best design pattern for collection of objects -

r - Using `bbmle:mle2` with vector parameters (already works using `optim`) -