systemd:不添加任何参数

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Sun Apr 14 10:53:57 UTC 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Freescale i.MX8MQ EVK
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options ‘115200‘)
[    0.000000] bootconsole [ec_imx6q0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000064000000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x0000000067ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x63fe5480-0x63fe727f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000050000000-0x0000000067ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000050000000-0x0000000067ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000050000000-0x0000000067ffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv33792.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE returned unknown type (-2080374778)
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 24 pages/cpu @ffff800023fc8000 s57624 r8192 d32488 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 96768
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk0p2 rootwait rw
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Memory: 287960K/393216K available (13564K kernel code, 1692K rwdata, 6052K rodata, 1280K init, 434K bss, 39720K reserved, 65536K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008dc0000   ( 13568 KB)
[    0.000000]     .rodata : 0xffff000008dc0000 - 0xffff0000093b0000   (  6080 KB)
[    0.000000]       .init : 0xffff0000093b0000 - 0xffff0000094f0000   (  1280 KB)
[    0.000000]       .data : 0xffff0000094f0000 - 0xffff000009697200   (  1693 KB)
[    0.000000]        .bss : 0xffff000009697200 - 0xffff000009703b40   (   435 KB)
[    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000400000 - 0xffff7e0000a00000   (     6 MB actual)
[    0.000000]     memory  : 0xffff800010000000 - 0xffff800028000000   (   384 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] i.MX8MQ clock driver init done
[    0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.000004] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.008244] Console: colour dummy device 80x25
[    0.012571] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.022527] pid_max: default: 32768 minimum: 301
[    0.027128] Security Framework initialized
[    0.031292] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.038106] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.044756] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.051219] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.074250] ASID allocator initialised with 32768 entries
[    0.087531] Hierarchical SRCU implementation.
[    0.099918] Cannot find MU entry in device tree
[    0.104335] failed to find ocotp node
[    0.107881] CPU identified as i.MX8MQ, silicon rev 2.0
[    0.113202] EFI services will not be available.
[    0.125632] smp: Bringing up secondary CPUs ...
[    0.130012] smp: Brought up 1 node, 1 CPU
[    0.133925] SMP: Total of 1 processors activated.
[    0.138574] CPU features: detected feature: GIC system register CPU interface
[    0.145545] CPU features: detected feature: 32-bit EL0 Support
[    0.151256] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.161037] CPU: All CPU(s) started at EL1
[    0.164997] alternatives: patching kernel code
[    0.170019] devtmpfs: initialized
[    0.174958] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[    0.187653] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.197112] futex hash table entries: 256 (order: 3, 32768 bytes)
[    0.205065] pinctrl core: initialized pinctrl subsystem
[    0.212074] DMI not present or invalid.
[    0.217019] NET: Registered protocol family 16
[    0.223699] cpuidle: using governor menu
[    0.229265] vdso: 2 pages (1 code @ ffff000008dc6000, 1 data @ ffff0000094f4000)
[    0.236554] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.248818] DMA: preallocated 256 KiB pool for atomic allocations
[    0.255966] Serial: AMBA PL011 UART driver
[    0.261084] imx rpmsg driver is registered.
[    0.267812] imx8mq-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.331704] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.350700] ACPI: Interpreter disabled.
[    0.355670] OF: /regulators/usdhc2_vmmc: could not find phandle
[    0.361748] reg-fixed-voltage: probe of regulators:usdhc2_vmmc failed with error -22
[    0.369438] OF: /regulators/regulator-gpio: could not find phandle
[    0.375549] gpio-regulator: probe of regulators:regulator-gpio failed with error -22
[    0.383487] vgaarb: loaded
[    0.386704] SCSI subsystem initialized
[    0.394802] usbcore: registered new interface driver usbfs
[    0.400856] usbcore: registered new interface driver hub
[    0.406110] usbcore: registered new device driver usb
[    0.412162] media: Linux media interface: v0.10
[    0.417240] Linux video capture interface: v2.00
[    0.422020] pps_core: LinuxPPS API ver. 1 registered
[    0.427091] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.435984] PTP clock support registered
[    0.440155] EDAC MC: Ver: 3.0.0
[    0.444245] dmi: Firmware registration failed.
[    0.449227] Advanced Linux Sound Architecture Driver Initialized.
[    0.455893] Bluetooth: Core ver 2.22
[    0.459618] NET: Registered protocol family 31
[    0.464011] Bluetooth: HCI device and connection manager initialized
[    0.470202] Bluetooth: HCI socket layer initialized
[    0.474956] Bluetooth: L2CAP socket layer initialized
[    0.479922] Bluetooth: SCO socket layer initialized
[    0.493037] clocksource: Switched to clocksource arch_sys_counter
[    0.499106] VFS: Disk quotas dquot_6.6.0
[    0.502954] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.509766] pnp: PnP ACPI: disabled
[    0.524123] NET: Registered protocol family 2
[    0.530511] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.537503] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.543876] TCP: Hash tables configured (established 4096 bind 4096)
[    0.550086] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.555767] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.561952] NET: Registered protocol family 1
[    0.574490] RPC: Registered named UNIX socket transport module.
[    0.580230] RPC: Registered udp transport module.
[    0.584829] RPC: Registered tcp transport module.
[    0.589449] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.596392] kvm [1]: HYP mode not available
[    0.602642] audit: initializing netlink subsys (disabled)
[    0.608799] audit: type=2000 audit(0.475:1): state=initialized audit_enabled=0 res=1
[    0.616428] workingset: timestamp_bits=44 max_order=17 bucket_order=0
[    0.634964] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.646054] NFS: Registering the id_resolver key type
[    0.651126] Key type id_resolver registered
[    0.655183] Key type id_legacy registered
[    0.659137] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.665721] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.672097] 9p: Installing v9fs 9p2000 file system support
[    0.682962] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.690238] io scheduler noop registered
[    0.694344] io scheduler cfq registered (default)
[    0.698949] io scheduler mq-deadline registered
[    0.703395] io scheduler kyber registered
[    0.724899] Bus freq driver module loaded
[    0.730533] Config NOC for VPU and CPU
[    0.742751] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.752248] SuperH (H)SCI(F) driver initialized
[    0.758296] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 7, base_baud = 1562500) is a IMX
[    0.767053] console [ttymxc0] enabled
[    0.767053] console [ttymxc0] enabled
[    0.774245] bootconsole [ec_imx6q0] disabled
[    0.774245] bootconsole [ec_imx6q0] disabled
[    0.783649] msm_serial: driver initialized
[    0.800818] loop: module loaded
[    0.808167] slram: not enough parameters.
[    0.816576] libphy: Fixed MDIO Bus: probed
[    0.822951] NXP PHY: loading NXP PHY driver: [autonomous mode]
[    0.829922] tun: Universal TUN/TAP device driver, 1.6
[    0.835478] CAN device driver interface
[    0.840707] fec 30be0000.ethernet: 30be0000.ethernet supply phy not found, using dummy regulator
[    0.849975] pps pps0: new PPS source ptp0
[    0.857862] failed to find ocotp node
[    0.863565] libphy: fec_enet_mii_bus: probed
[    0.869279] fec 30be0000.ethernet eth0: registered PHC device 0
[    0.876200] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.882229] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.888255] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    0.895215] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.900829] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.908594] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.914870] sky2: driver version 1.30
[    0.920723] ehci_hcd: USB 2.0 ‘Enhanced‘ Host Controller (EHCI) Driver
[    0.927992] ehci-pci: EHCI PCI platform driver
[    0.932528] ehci-platform: EHCI generic platform driver
[    0.937997] ehci-orion: EHCI orion driver
[    0.942171] ehci-exynos: EHCI EXYNOS driver
[    0.946536] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    0.952217] ohci_hcd: USB 1.1 ‘Open‘ Host Controller (OHCI) Driver
[    0.958403] ohci-pci: OHCI PCI platform driver
[    0.962960] ohci-platform: OHCI generic platform driver
[    0.968320] ohci-exynos: OHCI EXYNOS driver
[    0.973156] usbcore: registered new interface driver usb-storage
[    0.979417] usbcore: registered new interface driver usb_ehset_test
[    0.989535] i2c /dev entries driver
[    0.996260] IR NEC protocol handler initialized
[    1.001709] IR RC5(x/sz) protocol handler initialized
[    1.006797] IR RC6 protocol handler initialized
[    1.011380] IR JVC protocol handler initialized
[    1.015910] IR Sony protocol handler initialized
[    1.020528] IR SANYO protocol handler initialized
[    1.025217] IR Sharp protocol handler initialized
[    1.029896] IR MCE Keyboard/mouse protocol handler initialized
[    1.035667] IR XMP protocol handler initialized
[    1.044566] Bluetooth: HCI UART driver ver 2.3
[    1.050250] Bluetooth: HCI UART protocol H4 registered
[    1.055455] Bluetooth: HCI UART protocol BCSP registered
[    1.060857] Bluetooth: HCI UART protocol ATH3K registered
[    1.066232] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.072628] Bluetooth: HCI UART protocol Broadcom registered
[    1.078319] Bluetooth: HCI UART protocol QCA registered
[    1.084573] sdhci: Secure Digital Host Controller Interface driver
[    1.091068] sdhci: Copyright(c) Pierre Ossman
[    1.095726] Synopsys Designware Multimedia Card Interface Driver
[    1.102667] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.153087] mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
[    1.166140] OF: /[email protected]: could not find phandle
[    1.171482] sdhci-esdhc-imx: probe of 30b50000.usdhc failed with error -22
[    1.181225] ledtrig-cpu: registered to indicate activity on CPUs
[    1.197464] usbcore: registered new interface driver usbhid
[    1.203905] usbhid: USB HID core driver
[    1.217705] NET: Registered protocol family 26
[    1.223761] NET: Registered protocol family 10
[    1.233230] Segment Routing with IPv6
[    1.237091] NET: Registered protocol family 17
[    1.241589] can: controller area network core (rev 20170425 abi 9)
[    1.248809] NET: Registered protocol family 29
[    1.253300] can: raw protocol (rev 20170425)
[    1.257624] can: broadcast manager protocol (rev 20170425 t)
[    1.263258] can: netlink gateway (rev 20170425) max_hops=1
[    1.268879] Bluetooth: RFCOMM TTY layer initialized
[    1.273889] Bluetooth: RFCOMM socket layer initialized
[    1.280063] Bluetooth: RFCOMM ver 1.11
[    1.283883] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.290216] Bluetooth: BNEP filters: protocol multicast
[    1.295465] Bluetooth: BNEP socket layer initialized
[    1.301451] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.308365] Bluetooth: HIDP socket layer initialized
[    1.313390] lib80211: common routines for IEEE802.11 drivers
[    1.321110] 9pnet: Installing 9P2000 support
[    1.327508] Key type dns_resolver registered
[    1.336818] registered taskstats version 1
[    1.356908] failed to find ocotp node
[    1.369309] cpu cpu0: registered imx8mq-cpufreq
[    1.492950] mmc0: new HS400 MMC card at address 0001
[    1.498503] mmcblk0: mmc0:0001 R1J56L 13.8 GiB
[    1.503459] mmcblk0boot0: mmc0:0001 R1J56L partition 1 4.00 MiB
[    1.509714] mmcblk0boot1: mmc0:0001 R1J56L partition 2 4.00 MiB
[    1.515979] mmcblk0rpmb: mmc0:0001 R1J56L partition 3 128 KiB
[    1.522979] hctosys: unable to open rtc device (rtc0)
[    1.528774] ALSA device list:
[    1.531805]   No soundcards found.
[    1.537862]  mmcblk0: p1 p2
[    1.566533] EXT4-fs (mmcblk0p2): recovery complete
[    1.572290] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.580288] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.588811] devtmpfs: mounted
[    1.592306] Freeing unused kernel memory: 1280K
[    1.632955] random: fast init done
[    1.693325] systemd[1]: System time before build time, advancing clock.
[    1.714046] systemd[1]: systemd 237 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
[    1.735134] systemd[1]: Detected architecture arm64.
[   31.847663] systemd[1]: Set hostname to <imx8mqevk>.
[   62.584260] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   62.600981] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   62.723806] random: systemd: uninitialized urandom read (16 bytes read)
[   62.730484] systemd[1]: Reached target Host and Network Name Lookups.
[   93.281186] random: systemd: uninitialized urandom read (16 bytes read)
[   93.287775] systemd[1]: Reached target Swap.
[  124.001193] random: systemd: uninitialized urandom read (16 bytes read)
[  124.007925] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  154.721158] random: systemd: uninitialized urandom read (16 bytes read)
[  154.727740] systemd[1]: Reached target Remote File Systems.
[  185.441135] random: systemd: uninitialized urandom read (16 bytes read)
[  185.448985] systemd[1]: Created slice User and Session Slice.
[  216.161153] random: systemd: uninitialized urandom read (16 bytes read)
[  216.168292] systemd[1]: Created slice System Slice.
[  246.881163] random: systemd: uninitialized urandom read (16 bytes read)
[  246.888364] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  277.601132] random: systemd: uninitialized urandom read (16 bytes read)
[  277.607938] systemd[1]: Listening on Syslog Socket.
[  308.321147] random: systemd: uninitialized urandom read (16 bytes read)
[  308.327842] systemd[1]: Listening on udev Kernel Socket.
[  339.041128] random: systemd: uninitialized urandom read (16 bytes read)
[  339.047710] systemd[1]: Reached target Slices.
[  369.761359] systemd[1]: Listening on udev Control Socket.
[  400.481320] systemd[1]: Listening on Journal Socket (/dev/log).
[  431.201297] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  461.921396] systemd[1]: Listening on Journal Socket.
[  492.650763] systemd[1]: Starting Load Kernel Modules...
[  523.370099] systemd[1]: Mounting Temporary Directory (/tmp)...
[  554.083638] systemd[1]: Mounting POSIX Message Queue File System...
[  584.803525] systemd[1]: Starting Setup Virtual Console...
[  615.522047] systemd[1]: Created slice system-getty.slice.
[  646.243444] systemd[1]: Mounting Huge Pages File System...
[  676.963578] systemd[1]: Mounting Kernel Debug File System...
[  707.683566] systemd[1]: Starting Remount Root and Kernel File Systems...
[  707.722405] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  738.403593] systemd[1]: Starting udev Coldplug all Devices...
[  769.121634] systemd[1]: Listening on Journal Audit Socket.
[  799.843540] systemd[1]: Starting Journal Service...
[  830.561496] systemd[1]: Listening on Network Service Netlink Socket.
[  861.281357] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  892.001158] systemd[1]: Reached target Paths.
[  922.723278] systemd[1]: Started Journal Service.

原文地址:https://www.cnblogs.com/mRRRR/p/10992570.html

时间: 2024-10-07 22:36:16

systemd:不添加任何参数的相关文章

如何为Windows Forms应用程序添加启动参数(Start-Up Parameters)

很多场合下,我们需要通过命令行或者快捷方式在Windows Forms程序启动时向其传递参数. 这些参数可能是用来加载某一个文档,或者是应用程序的初始化配置文件. 特别是对那些需要高度自定义配置的大程序,经常需要调整运行参数来帮助使用者获得不同的运行结果. 通常,我们可以通过以下两种方式来实现这个需求: 重载入口点函数(Main) 利用Environment类 重载入口点函数(Main) 我们在Visual Studio中创建Windows Forms程序时, VS会自动帮我们创建一个默认的入口

yii 添加外置参数 高级版本

在YII中,添加状态参数的形式 首先,我们在advanced\common\config\params.php文件中,添加我们要设置的参数: 要在控制器中进行使用的话,形式为:\Yii::$app->parmas[] 效果: 数据库中存储的数据是:键名 原文地址:https://www.cnblogs.com/finalanddistance/p/8593625.html

Servlet预加载实现手动添加全局参数

Servlet生命周期第一步,也就是init()函数,在此函数中,完成了各种数据的初始化,当然也包括参数初始化,也就是InitParam 当我们取初始化参数的时候,代码如下 protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { Enumeration<String> e = this.getServletContext().get

5)添加分发参数c,选择控制器

目录关系:  代码展示: newnewnew.controller.class.php 1 <?php 2 /** 3 * Created by PhpStorm. 4 * User: Interact 5 * Date: 2017/8/20 6 * Time: 10:13 7 */ 8 class newnewnew{ 9 public function hanshu(){ 10 echo '我是newnewnew类的 hanshu方法,'; 11 } 12 } html代码展示: 1 <!

求大神帮我解决下webuploader另外添加参数的问题,我知道是formData添加额外参数给后台

如图所示: 我点击开始上传的时候.会有3个请求,等于是他会返回我3次action,我在后台添加了额外的2个参数dkName,Moneys. 求大神可以帮我看看如何改写下:我需要他每一个请求只会带上图下当前的点卡名称和点卡金额,如果有大神大牛乐意帮助下我,可以加我QQ79612086或者在下面回复,我会及时收看,谢谢!!

在xpath路径中添加变量参数

需求:需要从文件中读取参数,然后添加到xpath中,根据传入的参数执行相应的操作点击,如下: 1.先试着使用固定的路径运行一下,代码如下: 这里的 xpath = '//*[@class="ant-select-dropdown-menu-item"][1]' , [1]代表点击的是这个class下的第1号元素,即“母婴用品” 可以执行成功,说明方法可行 2.下一步就是要把固定的参数[1]换成非固定参数,直接把[1]换一个值就可以了,list_li是从文件里读取的当前传入的数字,代码如

关于EGG项目添加Joi参数校验解决方案

使用Joi来对egg项目进行参数校验 Joi是什么 Joi?是 hapijs 自带的数据校验模块,高度封装常用的参数校验功能.?Joi文档 项目中引入Joi 将Joi挂载在app对象下,? app.js const Joi = require('@hapi/joi'); const path = require('path'); class AppBootHook { constructor(app) { this.app = app; const directory = path.join(a

动态向SqlParameter 里添加相应参数

先定义一个List,然后再往List里面添加SqlParameter对象,然后将List转为SqlParameter数组即可 List<SqlParameter> ilistStr = new List<SqlParameter>(); ilistStr.Add(new SqlParameter("@Param1", "aa")); ilistStr.Add(new SqlParameter("@Param2", &quo

haproxy 无法启动,需要添加内核参数

安装好haproxy后,配置正确无法启动,看日志: Feb 13 09:32:50 cluster-node2 systemd: Started HAProxy Load Balancer. Feb 13 09:32:50 cluster-node2 haproxy-systemd-wrapper: [ALERT] 043/093250 (6538) : Starting proxy mysql-pxc-cluster: cannot bind socket [192.168.22.30:330