{"id":5640,"date":"2019-11-24T20:13:02","date_gmt":"2019-11-24T12:13:02","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5640"},"modified":"2019-11-28T21:20:46","modified_gmt":"2019-11-28T13:20:46","slug":"size","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/size","title":{"rendered":"size\u547d\u4ee4 – \u5217\u51fa\u6587\u4ef6\u5b57\u8282\u5927\u5c0f"},"content":{"rendered":"\n

size\u547d\u4ee4\u7528\u4e8e\u67e5\u770b\u76ee\u6807\u6587\u4ef6\u3001\u5e93\u6216\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u5404\u6bb5\u53ca\u5176\u603b\u548c\u7684\u5927\u5c0f\uff0c\u662f GNU \u4e8c\u8fdb\u5236\u5de5\u5177\u96c6 GNU Binutils \u7684\u4e00\u5458\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>size [\u53c2\u6570] [\u6587\u4ef6]\n<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-A|-B|--format=compatibility<\/td>\u63a7\u5236\u8f93\u51fa\u683c\u5f0f<\/td><\/tr>
-d|-o|-x|--radix=number<\/td>\u63a7\u5236\u5927\u5c0f\u8f93\u51fa\u7684\u8fdb\u5236 <\/td><\/tr>
--common<\/td>\u6253\u5370\u6bcf\u4e2a\u6587\u4ef6\u7684 common symbols \u5927\u5c0f<\/td><\/tr>
--totals<\/td>\u5217\u51fa\u6240\u6709\u6587\u4ef6\u7684\u603b\u5927\u5c0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u67e5\u770b\u6307\u5b9a\u7a0b\u5e8f\u5404\u4e2a\u6bb5\u7684\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~] # size \/bin\/size<\/pre>\n\n\n\n

\u67e5\u770b\u9759\u6001\u5e93\u4e2d\u7684\u5404\u4e2a\u76ee\u6807\u6587\u4ef6\u7684\u6bb5\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~] # size \/usr\/lib64\/libc.a<\/pre>\n","protected":false},"excerpt":{"rendered":"

size\u547d\u4ee4\u7528\u4e8e\u67e5\u770b\u76ee\u6807\u6587\u4ef6\u3001\u5e93\u6216\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u5404\u6bb5\u53ca\u5176\u603b\u548c\u7684\u5927\u5c0f\uff0c\u662f GNU \u4e8c\u8fdb\u5236\u5de5\u5177\u96c6 GNU Binut […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5640"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5640"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5640\/revisions"}],"predecessor-version":[{"id":5811,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5640\/revisions\/5811"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}