Linux性能测试 dmesg命令
dmesg 命令主要用来显示内核信息。使用 dmesg 可以有效诊断机器硬件故障或者添加硬件出现的问题。
另外,使用 dmesg 可以确定您的服务器安装了那些硬件。每次系统重启,系统都会检查所有硬件并将信息记录下来。执行/bin/dmesg 命令可以查看该记录。
dmesg 输入实例:
Linux version 2.6.-.ELsmp (bhcompile@hs20-bc1-.build.redhat.com) (gcc version 3.4. (Red Hat 3.4.-)) # SMP Wed Jul :: EDT
BIOS-provided physical RAM map:
BIOS-e820: - 00000000000a0000 (usable)
BIOS-e820: - 000000001ffc0000 (usable)
BIOS-e820: 000000001ffc0000 - 000000001ffcfc00 (ACPI data)
BIOS-e820: 000000001ffcfc00 - 000000001ffff000 (reserved)
BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
BIOS-e820: 00000000fed13000 - 00000000feda0000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
BIOS-e820: 00000000ffb00000 - (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
found SMP MP-table at 000fe710
NX (Execute Disable) protection: active
On node totalpages:
DMA zone: pages, LIFO batch:
Normal zone: pages, LIFO batch:
HighMem zone: pages, LIFO batch:
DMI 2.4 present.
Using APIC driver default
ACPI: RSDP (v002 DELL ) @ 0x000fa030
ACPI: XSDT (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa0a0
ACPI: FADT (v003 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa188
ACPI: MADT (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa27c
ACPI: SPCR (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa300
ACPI: HPET (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa350
ACPI: MCFG (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000a) @ 0x000fa388
ACPI: DSDT (v001 DELL PE_SC3 0x00000001 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor # : APIC version
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor # : APIC version
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
Enabling APIC mode: Flat. Using I/O APICs
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[])
IOAPIC[]: apic_id , version , address 0xfec00000, GSI -
ACPI: IOAPIC (id[0x03] address[0xfec10000] gsi_base[])
IOAPIC[]: apic_id , version , address 0xfec10000, GSI -
ACPI: INT_SRC_OVR (bus bus_irq global_irq dfl dfl)
ACPI: INT_SRC_OVR (bus bus_irq global_irq high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
ACPI: HPET id: 0xffffffff base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at (gap: 1ffff000:d0001000)
Built zonelists
Kernel command line: ro root=/dev/sda5
mapped APIC to ffffd000 (fee00000)
Initializing CPU#
CPU irqstacks, hard=c03ee000 soft=c03ce000
PID hash table entries: (order: , bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: (order: , bytes)
Inode-cache hash table entries: (order: , bytes)
Memory: 513372k/524032k available (1876k kernel code, 10032k reserved, 759k data, 184k init, 0k highmem)
Using HPET for base-timer
Using HPET for gettimeofday
Detected 3000.653 MHz processor.
Using hpet for high-res timesource
Calibrating delay using timer specific routine.. 6004.60 BogoMIPS (lpj=)
Security Scaffold v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: (order: , bytes)
CPU: After generic identify, caps: bfebfbff
CPU: After vendor identify, caps: bfebfbff
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU0: Physical Processor ID:
CPU0: Processor Core ID:
CPU0: Initial APIC ID:
CPU: After all inits, caps: bfebfbff
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#.
CPU0: Intel P4/Xeon Extended MCE MSRs () available
CPU0: Thermal monitoring enabled
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) D CPU .00GHz stepping
per-CPU timeslice cutoff: 1761.60 usecs.
task migration cache decay timeout: msecs.
Booting processor / eip
CPU irqstacks, hard=c03ef000 soft=c03cf000
Initializing CPU#
Calibrating delay using timer specific routine.. 6000.40 BogoMIPS (lpj=)
CPU: After generic identify, caps: bfebfbff
CPU: After vendor identify, caps: bfebfbff
monitor/mwait feature present.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU1: Physical Processor ID:
CPU1: Processor Core ID:
CPU1: Initial APIC ID:
CPU: After all inits, caps: bfebfbff
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#.
CPU1: Intel P4/Xeon Extended MCE MSRs () available
CPU1: Thermal monitoring enabled
CPU1: Intel(R) Pentium(R) D CPU .00GHz stepping
Total of processors activated (12005.01 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1= pin2=-
checking TSC synchronization across CPUs: passed.
Brought up CPUs
zapping low mappings.
checking if image is initramfs... it is
Freeing initrd memory: 479k freed
NET: Registered protocol family
PCI: PCI BIOS revision 2.10 entry at 0xfbfee, last bus=
PCI: Using MMCONFIG
mtrr: v2. ()
ACPI: Subsystem revision
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:)
PCI: Probing PCI hardware (bus )
PCI: Ignoring BAR0- of IDE controller ::1f.
PCI: Transparent bridge - ::1e.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PES1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEP0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEP0.PXHA._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEP1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEP2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIS._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs * )
ACPI: PCI Interrupt Link [LNKB] (IRQs * )
ACPI: PCI Interrupt Link [LNKC] (IRQs ) *, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs * )
ACPI: PCI Interrupt Link [LNKE] (IRQs * )
ACPI: PCI Interrupt Link [LNKF] (IRQs * )
ACPI: PCI Interrupt Link [LNKG] (IRQs * )
ACPI: PCI Interrupt Link [LNKH] (IRQs ) *, disabled.
Linux Plug and Play Support v0. (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI interrupt ::01.0[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1c.[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1c.[B] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1c.[C] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1d.[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1d.[B] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1d.[C] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1d.[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1f.[A]: no GSI - using IRQ
ACPI: PCI interrupt ::1f.[C] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::1f.[B]: no GSI - using IRQ
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::00.1[B] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
ACPI: PCI interrupt ::05.0[A] -> GSI (level, low) -> IRQ
apm: BIOS not found.
audit: initializing netlink socket (disabled)
audit(1343226664.647:): initialized
Total HugeTLB memory allocated,
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: (order , bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 8301CD821788A86B
- User ID: Red Hat, Inc. (Kernel Module GPG key)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
Real Time Clock Driver v1.
Linux agpgart interface v0. (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq
serio: i8042 KBD port at 0x60,0x64 irq
Serial: / driver $Revision: 1.90 $ ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = ) is a 16550A
RAMDISK driver initialized: RAM disks of 16384K size blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: .00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot ::1f.
ACPI: PCI interrupt ::1f.[A]: no GSI - using IRQ
ICH7: chipset revision
ICH7: not % native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: HL-DT-ST GCR-8240N, ATAPI CD/DVD-ROM drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA()
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.:USB HID core driver
mice: PS/ mouse device common for all mice
md: md driver 0.90. MAX_MD_DEVS=, MD_SB_DISKS=
NET: Registered protocol family
IP route cache hash table entries: (order: , bytes)
TCP established hash table entries: (order: , bytes)
TCP bind hash table entries: (order: , bytes)
TCP: Hash tables configured (established bind )
Initializing IPsec netlink socket
NET: Registered protocol family
NET: Registered protocol family
ACPI: (supports S0 S4 S5)
ACPI wakeup devices:
PCI0 PES1 PEP0 PXHA PEP1 PEP2 PCIS
Freeing unused kernel memory: 184k freed
SCSI subsystem initialized
libata version 1.20 loaded.
ata_piix ::1f.: version 1.05
ata_piix ::1f.: MAP [ P0 P2 P1 P3 ]
ACPI: PCI interrupt ::1f.[C] -> GSI (level, low) -> IRQ
PCI: Setting latency timer of device ::1f. to
ata1: SATA max UDMA/ cmd 0xAC98 ctl 0xAC92 bmdma 0xAC60 irq
ata2: SATA max UDMA/ cmd 0xAC80 ctl 0xAC7A bmdma 0xAC68 irq
ata1: dev cfg :2f00 :746b :7f61 : : :3c41 : :207f
ata1: dev ATA-, max UDMA/, sectors: LBA48
ata1: dev configured for UDMA/
scsi0 : ata_piix
ata2: dev cfg :2f00 :746b :7f61 : : :3c41 : :207f
ata2: dev ATA-, max UDMA/, sectors: LBA48
ata2: dev configured for UDMA/
scsi1 : ata_piix
Vendor: ATA Model: WDC WD800AAJS- Rev: 01.0
Type: Direct-Access ANSI SCSI revision:
SCSI device sda: -byte hdwr sectors ( MB)
SCSI device sda: drive cache: write back
SCSI device sda: -byte hdwr sectors ( MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 >
Attached scsi disk sda at scsi0, channel , id , lun
Vendor: ATA Model: WDC WD800AAJS- Rev: 01.0
Type: Direct-Access ANSI SCSI revision:
SCSI device sdb: -byte hdwr sectors ( MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: -byte hdwr sectors ( MB)
SCSI device sdb: drive cache: write back
sdb: sdb1
Attached scsi disk sdb at scsi1, channel , id , lun
kjournald starting. Commit interval seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
inserting floppy driver for 2.6.-.ELsmp
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
tg3.c:v3.-rh (Mar , )
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
PCI: Setting latency timer of device ::00.0 to
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM95721) rev PHY()] (PCI Express) //1000BaseT Ethernet ::8b:f9:3d:
eth0: RXcsums[] LinkChgREG[] MIirq[] ASF[] Split[] WireSpeed[] TSOcap[]
eth0: dma_rwctrl[]
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
PCI: Setting latency timer of device ::00.0 to
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(BCM95721) rev PHY()] (PCI Express) //1000BaseT Ethernet ::8b:f9:3d:
eth1: RXcsums[] LinkChgREG[] MIirq[] ASF[] Split[] WireSpeed[] TSOcap[]
eth1: dma_rwctrl[]
Intel(R) PRO/ Network Driver - version 7.0.-k2-NAPI
Copyright (c) - Intel Corporation.
ACPI: PCI interrupt ::00.0[A] -> GSI (level, low) -> IRQ
PCI: Setting latency timer of device ::00.0 to
e1000: ::00.0: e1000_probe: (PCI Express:.5Gb/s:Width x4) :::3a:fa:
divert: allocating divert_blk for eth2
e1000: eth2: e1000_probe: Intel(R) PRO/ Network Connection
ACPI: PCI interrupt ::00.1[B] -> GSI (level, low) -> IRQ
PCI: Setting latency timer of device ::00.1 to
e1000: ::00.1: e1000_probe: (PCI Express:.5Gb/s:Width x4) :::3a:fa:
divert: allocating divert_blk for eth3
e1000: eth3: e1000_probe: Intel(R) PRO/ Network Connection
hw_random: RNG not detected
ACPI: PCI interrupt ::1d.[A] -> GSI (level, low) -> IRQ
ehci_hcd ::1d.: EHCI Host Controller
PCI: Setting latency timer of device ::1d. to
ehci_hcd ::1d.: irq , pci mem e0818400
ehci_hcd ::1d.: new USB bus registered, assigned bus number
PCI: cache line size of is not supported by device ::1d.
ehci_hcd ::1d.: USB 2.0 enabled, EHCI 1.00, driver -May-
hub -:1.0: USB hub found
hub -:1.0: ports detected
USB Universal Host Controller Interface driver v2.
ACPI: PCI interrupt ::1d.[A] -> GSI (level, low) -> IRQ
uhci_hcd ::1d.: UHCI Host Controller
PCI: Setting latency timer of device ::1d. to
uhci_hcd ::1d.: irq , io base 0000ace0
uhci_hcd ::1d.: new USB bus registered, assigned bus number
hub -:1.0: USB hub found
hub -:1.0: ports detected
ACPI: PCI interrupt ::1d.[B] -> GSI (level, low) -> IRQ
uhci_hcd ::1d.: UHCI Host Controller
PCI: Setting latency timer of device ::1d. to
uhci_hcd ::1d.: irq , io base 0000acc0
uhci_hcd ::1d.: new USB bus registered, assigned bus number
hub -:1.0: USB hub found
hub -:1.0: ports detected
ACPI: PCI interrupt ::1d.[C] -> GSI (level, low) -> IRQ
uhci_hcd ::1d.: UHCI Host Controller
PCI: Setting latency timer of device ::1d. to
uhci_hcd ::1d.: irq , io base 0000aca0
uhci_hcd ::1d.: new USB bus registered, assigned bus number
hub -:1.0: USB hub found
hub -:1.0: ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
usb -: new high speed USB device using address
hub -:1.0: USB hub found
hub -:1.0: ports detected
ACPI: Power Button (FF) [PWRF]
EXT3 FS on sda5, internal journal
device-mapper: 4.5.-ioctl (--) initialised: dm-devel@redhat.com
cdrom: open failed.
kjournald starting. Commit interval seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2008116k swap on /dev/sda3. Priority:- extents:
ip_tables: (C) - Netfilter core team
ip_tables: (C) - Netfilter core team
tg3: eth0: Link is up at Mbps, half duplex.
tg3: eth0: Flow control is off for TX and off for RX.
ip_tables: (C) - Netfilter core team
hsfosspec: Unknown parameter `'
hsfengine: module license 'see LICENSE file distributed with driver' taints kernel.
hsfserial: Unknown parameter `'
usbcore: registered new driver hsfusbcd2
Linux性能测试 dmesg命令的更多相关文章
- (转)Linux 系统设置 : dmesg 命令详解
原文:https://blog.csdn.net/yexiangCSDN/article/details/80683246 https://www.cnblogs.com/duanxz/p/34770 ...
- Linux下dmesg命令处理故障和收集系统信息的7种用法
目录: <syslog之一:Linux syslog日志系统详解> <syslog之二:syslog协议及rsyslog服务全解析> <syslog之三:建立Window ...
- [转帖]Linux性能测试 pmap命令
Linux性能测试 pmap命令 https://www.cnblogs.com/txw1958/archive/2012/07/26/linux-pmap.html 名称: pmap - ...
- linux 的dmesg命令
dmesg命令参考博客 http://www.linuxso.com/command/dmesg.html dmesg用来显示内核环缓冲区(kernel-ring buffer)内容,内核将各种消息存 ...
- 【linux】dmesg命令显示开机信息和设备加载情况
Linux命令dmesg用来显示开机信息,kernel会将开机信息存储在ring buffer中.您若是开机时来不及查看信息,可利用dmesg来查看.开机信息亦保存在/var/log目录中,名称为dm ...
- Linux性能测试分析命令_top
top命令动态展示系统整体资源和各个进程资源占用状况,是Linux下常用的性能分析工具. top命令语法 使用格式:top [-] [d] [b] [H] [p] [q] [c] [C] [S] [s ...
- Linux性能测试分析命令_sar+iostat+vmstat+top
sar主要用于收集并统计系统资源的信息,包括CPU.IO.内存.网卡流量等. vmstat命令主要是对操作系统的虚拟内存.进程.IO读写.CPU活动等整体情况进行统计.但是它不能对某个进程进行深入分析 ...
- linux下dmesg命令详解
前言: 有时候想查看一下开机启动信息,可以通过这个命令查询. 1,命令格式 功能说明:显示开机信息. 语 法:dmesg [-cn][-s <缓冲区大小>] 补充说明:kern ...
- Linux性能测试分析命令_vmstat
vmstat命令主要是对操作系统的虚拟内存.进程.IO读写.CPU活动等整体情况进行统计.但是它不能对某个进程进行深入分析. vmstat基本语法 命令使用格式:vmstat [options] [d ...
随机推荐
- ldd 查看程序/动态库 的依赖
今天在帮同事查看一个问题时, 需要用到ldd, 于是就顺便看了一下ldd的实现. 好在ldd本身只是一个脚本, 而不是executable, 可以直接查看实现的代码. 根据注释: 21 # This ...
- POJ 3628 Bookshelf 2 0-1背包
传送门:http://poj.org/problem?id=3628 题目看了老半天,牛来叠罗汉- -|||和书架什么关系啊.. 大意是:一群牛来叠罗汉,求超过书架的最小高度. 0-1背包的问题,对于 ...
- Linux下kill进程脚本
Linux下kill进程脚本 在Linux有时会遇到需要kill同一个程序的进程,然而这个程序有多个进程,一一列举很是繁琐,使用按名字检索,统一kill Perl脚本 使用方法 kill_all.pl ...
- [Angular] FormBuildAPI
Using FormBuilder API can simply our code, for example we want to refactor following code by using F ...
- [ES6] Use ES6 Proxies
A JavaScript Proxy allows you to intercept operations performed on objects, arrays, or functions lik ...
- Rational Rose2007无法正常启动解决方式
安装完Rational Rose发现无法正常启动,我遇到了下面两个问题,希望能帮到同样经历的同学. 问题一: 安装完Rational Rose后不能用,提演示样例如以下:无法启动此程序,由于计算机中丢 ...
- 【a502】符号三角形问题
Time Limit: 1 second Memory Limit: 32 MB [问题描述] 在一般情况下,符号三角形的第一行有n个符号.按照2个同号的下面是"+"号,2个异号的 ...
- Qt 模仿QQ截图 动态吸附直线
最近在学Qt.学东西怎么能不动手. 就写了些小程序.看QQ截图能够动态吸附直线的功能挺有意思,所以就模仿了一个. 先上效果图 界面很简单..呵呵 移动鼠标,会把鼠标所在最小矩形选中.把没有选中的地方给 ...
- ITFriend创业败局(一):选择创业方向和寻找合伙人,创业失败的2个关键点
这次创业惨淡收场,最主要的原因是没有选择一个合适的创业方向,没有找到合适的创业合伙人. 首先要说到创业方向,因为不同的创业方向需要组建不同的创业团队.我个人比较偏好,软件.网络.互联网等有一 ...
- python 使用顺序表实现栈和队列
栈: # -*- coding: utf-8 -*- # @author: Tele # @Time : 2019/04/24 下午 2:33 # 采用list(顺序表)实现栈结构,后入先出 clas ...