如何在 Ubuntu 15.10 中设置引导图?

Ibr*_*osa 8 bootchart 15.10

这个页面说我必须编辑 grub 引导菜单中的“linux”行来设置引导图。我不明白我必须做什么。请帮忙。

Byt*_*der 17

在 15.10 或任何其他使用systemd. 它会在每次启动时自动记录必要的信息,并允许您使用以下命令对其进行分析

systemd-analyze
Run Code Online (Sandbox Code Playgroud)

将图形引导图作为 SVG 图像获取的参数是:

systemd-analyze plot > filename.svg
Run Code Online (Sandbox Code Playgroud)

截屏

但它还有其他有用的命令。您可以通过使用 Bash 自动完成功能输入systemd-analyze并按Tab两次来查看可能的参数列表,或者通过打开使用手册页man systemd-analyze或使用 显示帮助来查看旧样式systemd-analyze --help
这是命令列表。默认为time,如果您不指定任何其他:

Commands:
  time                    Print time spent in the kernel
  blame                   Print list of running units ordered by time to init
  critical-chain          Print a tree of the time critical chain of units
  plot                    Output SVG graphic showing service initialization
  dot                     Output dependency graph in dot(1) format
  set-log-level LEVEL     Set logging threshold for systemd
  dump                    Output state serialization of service manager
  verify FILE...          Check unit files for correctness
Run Code Online (Sandbox Code Playgroud)