Check the linux Startup time-Linux Enterprise Application-Linux server application information. The following is a detailed description. You need to know how long it takes for your server to start up and what processes and services you have started. In addition to viewing logs, you also have a more graphical method, that is, using the help of the bootchart software.
You can go to http://www.bootchart.org to download
1. for debian machines, apt-get install bootchart is more convenient.
Then in vi/boot/grub/menu. lst
Root (hd0, 0) kernel/vmlinuz ro root =/dev/hda1 init =/sbin/bootchartd initrd/initrd. add init =/sbin/bootdchartd to the end of img (Note d)
The second case is like using slackware 12. After checking a lot of information, you can get it done.
This is also available in http://www.bootchart..org. Decompress the package
# Tar xvfj bootchart/bootchart-0.9.tar.bz2
# Cd bootchart-0.9
#./Install
Complete
Test:/sbin/bootchartd
Usage:/sbin/bootchartd {init | start | stop}
Successful
Slackware12 is guided by lilo. So I can't use the grub method above to add init =/sbin/bootchartd to lilo. conf.
So
After linux is restarted
Boot:
Prompt
Write your linux name as follows:
Linux init =/sbin/bootchartd press ENTER
You can find bootchart. tgz in/var/log after boot. Upload bootchart. tgz to http://bootchart.org/download.htmlto get an image. You have the data you want.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.