Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unlike previous threads (2005 and 2004), please, note the total kernel size (or sizes). I think, desktop-oriented only stations should be presented here
Firstly, disk usage:
Code:
# LC_MESSAGES=C du -shc /boot/vmlinuz-2.6.32 /boot/initramfs-2.6.32 /lib/modules/2.6.32
1,3M /boot/vmlinuz-2.6.32
3,3M /boot/initramfs-2.6.32
9,6M /lib/modules/2.6.32
15M total
OK, my kernel consumes 15Mb on the HDD
Secondly, tipical number of loaded modules:
Code:
# wc -l /proc/modules
75 /proc/modules
therefore, mostly I use 75 modules
The number of loaded modules can be compared to the total compiled modules number:
Okay, so I guess I shouldn't put myself down so much...apparently it's Ubuntu's fault, not mine (I'm running 9.04 Jaunty, btw).
And what horrible gibberish is this?
Quote:
Code:
sed -r 's#^\s*([0-9a-f]+)-([0-9a-f]+)\s+:.*$#0x\2 - 0x\1 +#') 0 ))
I can kind of make out what you did, but that syntax is still like reading Chinese to me...then again, I'm still a n00b, so I guess I shouldn't really care (for now).
it's Ubuntu's fault, not mine (I'm running 9.04 Jaunty, btw).
it's OK for precompiled kernels, for they must be universal and run on any machine
Quote:
Originally Posted by MrCode
I can kind of make out what you did, but that syntax is still like reading Chinese to me...
it does nothing more than filters content of /proc/iomem and composes an arithmetic expression for bash; nothing horrible! (here's a chapter about "Chinese" itself)
Thanks to anyone! I hope we'll see abit more results here
# LC_MESSAGES=C du -shc /boot/vmlinuz-2.6.31.1 /boot/initramfs-2.6.31.1 /lib/modules/2.6.31.1
2.1M /boot/vmlinuz-2.6.31.1
du: cannot access `/boot/initramfs-2.6.31.1': No such file or directory
20M /lib/modules/2.6.31.1
22M total
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.