Difference between revisions of "Systemd"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
|||
| Line 1: | Line 1: | ||
== And NetworkManager == | |||
=== Systemd === | |||
$ systemd-analyze blame | $ systemd-analyze blame | ||
4.931s NetworkManager-wait-online.service | 4.931s NetworkManager-wait-online.service | ||
| Line 16: | Line 16: | ||
# systemd-analyze plot > bootchart.svg | # systemd-analyze plot > bootchart.svg | ||
=== NetworkManager === | |||
ip=10.10.1.10::10.10.1.1:255.255.0.0:hostname:ens2.100:none:8.8.8.8 | |||
vlan=ens2.100:ens2 | |||
ip=192.168.0.79::192.168.0.1:255.255.255.0:gngwrk1:enp0s25.20:none:8.8.8.8 | |||
vlan=enp0s25.20:enp0s25 | |||
Configuring a Vlan on a Bond (DHCP) | |||
Dracut Kernel Arguments | |||
Template | |||
ip=${bondname}.${vlanid}:dhcp | |||
bond=${bondname}:${subnic1},${subnic2}:mode=active-backup,miimon=100 | |||
vlan=${bondname}.${vlanid}:${bondname} | |||
Rendered | |||
ip=bond0.100:dhcp | |||
bond=bond0:ens2,ens3:mode=active-backup,miimon=100 | |||
vlan=bond0.100:bond0 | |||
Revision as of 10:07, 18 January 2025
And NetworkManager
Systemd
$ systemd-analyze blame
4.931s NetworkManager-wait-online.service
2.093s mysqld.service
1.262s plymouth-quit-wait.service
590ms akmods-shutdown.service
493ms akmods.service
468ms mnt-bk03.mount
353ms home.mount
313ms httpd.service
systemd-analyze Startup finished in 1.022s (kernel) + 333ms (initrd) + 3min 141ms (userspace) = 3min 1.497s
# systemd-analyze plot > bootchart.svg
NetworkManager
ip=10.10.1.10::10.10.1.1:255.255.0.0:hostname:ens2.100:none:8.8.8.8 vlan=ens2.100:ens2
ip=192.168.0.79::192.168.0.1:255.255.255.0:gngwrk1:enp0s25.20:none:8.8.8.8 vlan=enp0s25.20:enp0s25
Configuring a Vlan on a Bond (DHCP) Dracut Kernel Arguments Template ip=${bondname}.${vlanid}:dhcp bond=${bondname}:${subnic1},${subnic2}:mode=active-backup,miimon=100 vlan=${bondname}.${vlanid}:${bondname} Rendered ip=bond0.100:dhcp bond=bond0:ens2,ens3:mode=active-backup,miimon=100 vlan=bond0.100:bond0