root 2010 Aug 30 at 1717.47:ran lscfg -a
This document was created with lscfg
on a host machine.
The lscfg
command runs numerous checkpoints at nice -n +19
to reduce impact on the host. It dumps
AsciiDoc-formatted
output to stdout
, which can be redirected as desired.
The underlying code for each checkpoint is provided in
the last section of this document.
The AsciiDoc output can be copied from the original host to another workstation and rendered in other formats.
asciidoc -b html4 /tmp/lscfg.asciidoc
a2x -vv -f pdf /tmp/lscfg.asciidoc
AsciiDoc is written in Python and is available on many platforms.
On Linux, the asciidoc package provides the asciidoc
and a2x
commands.
Hostname is: sample.prod.example.com
Current date stamp is: Mon Aug 30 17:17:47 EDT 2010
Kernel release is: 2.6.24.7-139.el5rt
OS release is: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Uptime is: 3871454.53 seconds
Default Run Level: 3
This section describes the host’s hardware.
Note
|
If hyperthreading is enabled, actual CPU count will be half the number displayed below. |
Checkpoint: cpu_count
8
Checkpoint: cpu_type
Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
Checkpoint: file /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 1 siblings : 4 core id : 0 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5870.18 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.84 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 1 siblings : 4 core id : 2 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.82 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.83 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 4 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 1 siblings : 4 core id : 1 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.81 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.83 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 6 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 1 siblings : 4 core id : 3 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.82 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz stepping : 5 cpu MHz : 2933.438 cache size : 8192 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good reliable_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida bogomips : 5865.84 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
Checkpoint: free_memory
total used free shared buffers cached Mem: 48395 24327 24068 0 626 19864 Low: 48395 24327 24068 High: 0 0 0 -/+ buffers/cache: 3836 44559 Swap: 486 0 486 Total: 48882 24327 24554
Checkpoint: numactl
policy: default preferred node: current physcpubind: 0 1 2 3 4 5 6 7 cpubind: 0 1 nodebind: 0 1 membind: 0 1
This section enumerates NUMA nodes with:
find /sys/devices/system/ -regextype posix-egrep -type d -regex '.*node[[:digit:]]+'
Checkpoint: file /sys/devices/system/node/node0/distance
10 20
Checkpoint: file /sys/devices/system/node/node1/distance
20 10
Checkpoint: file /sys/devices/system/node/node0/meminfo
Node 0 MemTotal: 25155388 kB Node 0 MemFree: 14367212 kB Node 0 MemUsed: 10788176 kB Node 0 Active: 873198 kB Node 0 Inactive: 1495999 kB Node 0 Dirty: 1532 kB Node 0 Writeback: 12 kB Node 0 FilePages: 8389324 kB Node 0 Mapped: 51552 kB Node 0 AnonPages: 1032864 kB Node 0 PageTables: 8644 kB Node 0 NFS_Unstable: 0 kB Node 0 Bounce: 0 kB Node 0 Slab: 718020 kB Node 0 SReclaimable: 618824 kB Node 0 SUnreclaim: 99196 kB Node 0 HugePages_Total: 0 Node 0 HugePages_Free: 0
Checkpoint: file /sys/devices/system/node/node1/meminfo
Node 1 MemTotal: 25165820 kB Node 1 MemFree: 10278216 kB Node 1 MemUsed: 14887604 kB Node 1 Active: 793803 kB Node 1 Inactive: 2600634 kB Node 1 Dirty: 460 kB Node 1 Writeback: 0 kB Node 1 FilePages: 12593340 kB Node 1 Mapped: 40240 kB Node 1 AnonPages: 971392 kB Node 1 PageTables: 7368 kB Node 1 NFS_Unstable: 0 kB Node 1 Bounce: 0 kB Node 1 Slab: 876092 kB Node 1 SReclaimable: 785704 kB Node 1 SUnreclaim: 90388 kB Node 1 HugePages_Total: 0 Node 1 HugePages_Free: 0
This section describes devices on the PCI bus.
Checkpoint: lspci RAID
0c:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
Checkpoint: lspci Ethernet
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe
This section covers configured and actual network settings.
These settings apply to the host regardless of interface.
Checkpoint: file /etc/sysconfig/network
NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=sample.prod.example.com NOZEROCONF=disabled GATEWAY=11.3.1.1
Checkpoint: default_gateway
default via 11.3.1.1 dev bond0 unreachable default dev lo table unspec proto none metric -1 error -101 hoplimit 255 unreachable default dev lo table unspec proto none metric -1 error -101 hoplimit 255
Checkpoint: file /etc/resolv.conf
# also need access to satserver search prod.example.com inf.example.com mstest.example.com # # prod site C nameserver 11.3.8.81 # # inf site C nameserver 6.3.6.52 # # satserver nameserver 172.24.60.170
/sbin/ifup-local does not exist or is not executable.
/sbin/ifdown-local does not exist or is not executable.
Checkpoint: ip-rules
0: from all lookup 255 32766: from all lookup main 32767: from all lookup default
Checkpoint: arp-cache
11.3.254.212 dev ib1 lladdr 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:23:1e STALE 11.3.254.211 dev ib1 lladdr 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:06:52 STALE 11.3.254.218 dev ib1 lladdr 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:25:5e REACHABLE 11.3.254.76 dev ib1 lladdr 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:06:bb:d0 REACHABLE 11.3.1.1 dev bond0 lladdr 00:00:0c:9f:f0:01 REACHABLE
Important
|
This section shows the configuration file, not the actual configuration. |
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-bond0
## HOSTNAME=sample ## INTERFACE=bond0 BONDING_OPTS="miimon=100 mode=1 primary=eth0" BOOTPROTO=static DEVICE=bond0 HOSTNAME=sample IPADDR=11.3.1.52 NETMASK=255.255.255.0 ONBOOT=yes
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-eth0
## HOSTNAME=sample ## INTERFACE=eth0 BOOTPROTO=static DEVICE=eth0 HOSTNAME=sample HWADDR=00:25:B3:A7:68:F8 MASTER=bond0 ONBOOT=yes SLAVE=yes
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-eth1
## HOSTNAME=sample ## INTERFACE=eth1 BOOTPROTO=static DEVICE=eth1 HOSTNAME=sample HWADDR=00:25:B3:A7:68:FC MASTER=bond0 ONBOOT=yes SLAVE=yes
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-ib0
## HOSTNAME=sample ## INTERFACE=ib0 BOOTPROTO=static DEVICE=ib0 HOSTNAME=sample IPADDR=11.3.252.52 NETMASK=255.255.254.0 ONBOOT=yes TYPE=Infiniband
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-ib1
## HOSTNAME=sample ## INTERFACE=ib1 BOOTPROTO=static DEVICE=ib1 HOSTNAME=sample IPADDR=11.3.254.52 NETMASK=255.255.254.0 ONBOOT=yes TYPE=Infiniband
Checkpoint: file /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback
This section shows actual configuration for devices that are administratively UP. The following command enumerates the interfaces:
/sbin/ip link show up | awk -F: '/UP/{print }' | sed -r 's/[[:space:]]//g'
Checkpoint: duplex lo
Settings for lo: Link detected: yes
Checkpoint: ip-addr lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever
Checkpoint: ip-stats lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 RX: bytes packets errors dropped overrun mcast 2272137483 50277902 0 0 0 0 TX: bytes packets errors dropped carrier collsns 2272137483 50277902 0 0 0 0
Checkpoint: duplex eth0
Settings for eth0: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 2500baseX/Full Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full 2500baseX/Full 10000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: FIBRE PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x00000000 (0) Link detected: yes
Checkpoint: ip-addr eth0
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff
Checkpoint: ip-stats eth0
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 2762553587 42526998 0 0 0 0 TX: bytes packets errors dropped carrier collsns 3572950926 21472987 0 0 0 0
Checkpoint: duplex eth1
Settings for eth1: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 2500baseX/Full Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full 2500baseX/Full 10000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: FIBRE PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x00000000 (0) Link detected: yes
Checkpoint: ip-addr eth1
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff
Checkpoint: ip-stats eth1
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1390154491 21335960 0 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0
Checkpoint: duplex ib0
Settings for ib0: No data available
Checkpoint: ip-addr ib0
4: ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast qlen 256 link/infiniband 80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:22:d9 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff inet 11.3.252.52/23 brd 11.3.253.255 scope global ib0 inet6 fe80::202:c903:7:22d9/64 scope link valid_lft forever preferred_lft forever
Checkpoint: ip-stats ib0
4: ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast qlen 256 link/infiniband 80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:22:d9 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 80050916 318944316 0 0 0 0 TX: bytes packets errors dropped carrier collsns 71920478 88674226 0 142565880 0 0
Checkpoint: duplex ib1
Settings for ib1: No data available
Checkpoint: ip-addr ib1
5: ib1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast qlen 256 link/infiniband 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:22:da brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff inet 11.3.254.52/23 brd 11.3.255.255 scope global ib1 inet6 fe80::202:c903:7:22da/64 scope link valid_lft forever preferred_lft forever
Checkpoint: ip-stats ib1
5: ib1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast qlen 256 link/infiniband 80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:07:22:da brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 3505296965 167564943 0 0 0 0 TX: bytes packets errors dropped carrier collsns 3608828583 79878827 0 146894804 0 0
Checkpoint: duplex bond0
Settings for bond0: No data available
Checkpoint: ip-addr bond0
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff inet 11.3.1.52/24 brd 11.3.1.255 scope global bond0 inet6 fe80::225:b3ff:fea7:68f8/64 scope link valid_lft forever preferred_lft forever
Checkpoint: ip-stats bond0
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue link/ether 00:25:b3:a7:68:f8 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 4152708078 63862958 0 0 0 0 TX: bytes packets errors dropped carrier collsns 3572950926 21472987 0 0 0 0
This section covers system daemons.
Checkpoint: service firstboot.pawz
Checking that perfcap is configured: [ OK ]
Checkpoint: service netfs
Configured NFS mountpoints: /home Active NFS mountpoints: /home /opt/gts/envs/001/home /opt/gts/envs/002/home
Checkpoint: service network
Configured devices: lo bond0 eth0 eth1 ib0 ib1 Currently active devices: lo eth0 eth1 ib0 ib1 bond0
Checkpoint: service openibd
Low level hardware support loaded: ib_mthca mlx4_ib Upper layer protocol modules: ib_iser ib_srp ib_sdp ib_ipoib User space access modules: rdma_ucm ib_ucm ib_uverbs ib_umad Connection management modules: rdma_cm ib_cm iw_cm Configured IPoIB interfaces: ib0 ib1 Currently active IPoIB interfaces: ib0 ib1
This section describes the block devices available to the host.
Checkpoint: parted
Model: Compaq Smart Array (cpqarray) Disk /dev/cciss/c0d0: 585871963s Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1s 212159s 212159s primary ext3 boot 2 212160s 252959s 40800s primary 3 252960s 293759s 40800s primary 4 293760s 585871679s 585577920s extended 5 293761s 159038399s 158744639s logical ext3 6 159038401s 179030399s 19991999s logical ext3 7 179030401s 278255999s 99225599s logical lvm 8 278256001s 279251519s 995519s logical linux-swap 9 279251521s 279463679s 212159s logical 10 279463681s 279504479s 40799s logical 11 279504481s 279545279s 40799s logical 12 279545281s 438289919s 158744639s logical 13 438289921s 458281919s 19991999s logical 14 458281921s 557507519s 99225599s logical lvm 15 557507521s 585871679s 28364159s logical Model: Unknown (unknown) Disk /dev/cciss/c0d0p1: 212158s Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0s 212158s 212159s ext3 Model: Unknown (unknown) Disk /dev/cciss/c0d0p5: 158744638s Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0s 158744638s 158744639s ext3 Model: Unknown (unknown) Disk /dev/cciss/c0d0p6: 19991998s Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0s 19991998s 19991999s ext3 Model: Unknown (unknown) Disk /dev/cciss/c0d0p8: 995518s Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0s 995518s 995519s linux-swap
This section describes the character-based filesystems currently mounted on the host.
Checkpoint: mount
/dev/mapper/vg-sample.prod.example.com-sys on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/cciss/c0d0p5 on /opt/gts type ext3 (rw) /dev/mapper/vg-sample.prod.example.com-tmp on /tmp type ext3 (rw) /dev/mapper/vg-sample.prod.example.com-home on /home type ext3 (rw) /dev/mapper/vg-sample.prod.example.com-usr on /usr type ext3 (rw) /dev/cciss/c0d0p6 on /var/log/sa type ext3 (rw) /dev/cciss/c0d0p1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) ic-nfs01.inf.example.com:/exports/home on /home type nfs (rw,soft,intr,addr=6.3.3.56) /dev/mapper/vg-sample.prod.example.com-perfdata on /usr/local/perfcap/data type ext3 (rw) /dev on /opt/gts/envs/001/dev type none (rw,bind) /usr on /opt/gts/envs/001/usr type none (rw,bind) /var on /opt/gts/envs/001/var type none (rw,bind) /bin on /opt/gts/envs/001/bin type none (rw,bind) /sbin on /opt/gts/envs/001/sbin type none (rw,bind) /lib on /opt/gts/envs/001/lib type none (rw,bind) /lib64 on /opt/gts/envs/001/lib64 type none (rw,bind) /home on /opt/gts/envs/001/home type none (rw,bind) proc on /opt/gts/envs/001/proc type proc (rw) sysfs on /opt/gts/envs/001/sys type sysfs (rw) tmpfs on /opt/gts/envs/001/dev/shm type tmpfs (rw) devpts on /opt/gts/envs/001/dev/pts type devpts (rw,gid=5,mode=620) /opt/gts/envs/001/localrpm on /opt/gts/envs/001/var/lib/rpm type none (rw,bind) /opt/gts/rels on /opt/gts/envs/001/mnt/rels type none (rw,bind) /dev on /opt/gts/envs/002/dev type none (rw,bind) /usr on /opt/gts/envs/002/usr type none (rw,bind) /var on /opt/gts/envs/002/var type none (rw,bind) /bin on /opt/gts/envs/002/bin type none (rw,bind) /sbin on /opt/gts/envs/002/sbin type none (rw,bind) /lib on /opt/gts/envs/002/lib type none (rw,bind) /lib64 on /opt/gts/envs/002/lib64 type none (rw,bind) /home on /opt/gts/envs/002/home type none (rw,bind) proc on /opt/gts/envs/002/proc type proc (rw) sysfs on /opt/gts/envs/002/sys type sysfs (rw) tmpfs on /opt/gts/envs/002/dev/shm type tmpfs (rw) devpts on /opt/gts/envs/002/dev/pts type devpts (rw,gid=5,mode=620) /opt/gts/envs/002/localrpm on /opt/gts/envs/002/var/lib/rpm type none (rw,bind) /opt/gts/rels on /opt/gts/envs/002/mnt/rels type none (rw,bind)
Checkpoint: disk_utilization
Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg-sample.prod.example.com-sys 3.9G 796M 2.9G 22% / /dev/cciss/c0d0p5 74G 17G 53G 24% /opt/gts /dev/mapper/vg-sample.prod.example.com-tmp 3.9G 137M 3.6G 4% /tmp /dev/mapper/vg-sample.prod.example.com-home 497G 74G 398G 16% /home /dev/mapper/vg-sample.prod.example.com-usr 3.9G 1.8G 2.0G 48% /usr /dev/cciss/c0d0p6 9.3G 4.9G 4.0G 56% /var/log/sa /dev/cciss/c0d0p1 101M 19M 77M 20% /boot tmpfs 24G 0 24G 0% /dev/shm ic-nfs01.inf.example.com:/exports/home 497G 74G 398G 16% /home /dev/mapper/vg-sample.prod.example.com-perfdata 1008M 108M 849M 12% /usr/local/perfcap/data tmpfs 24G 0 24G 0% /opt/gts/envs/001/dev/shm tmpfs 24G 0 24G 0% /opt/gts/envs/002/dev/shm
This section provides code listings for each checkpoint used to produce the output in other sections.
awk -F: '$1~/model/ && $2~/[[:alpha:]]/{print $2}' /proc/cpuinfo | sed 's/^ //'
_msgs=$(/bin/dmesg -n 1) [[ -z $_msgs ]] && _msgs="No kernel panic messages found." echo $_msgs
for node in $(tail -n +3 /proc/partitions | awk '{print $NF}'); do _output=$(parted -s /dev/$node unit s print 2>&1) [ $? -eq 0 ] && echo -e "${_output}\n" done