#!/bin/bash v=$(uname -r) file="zz$v" function separ() { echo echo "--------------------" echo } { cat ./report separ uname -a separ cat /proc/version separ cat /proc/vmstat separ cat /proc/cmdline separ cat /proc/vmstat separ cat /proc/cpuinfo separ cat /proc/meminfo separ cat /proc/interrupts separ cat /proc/dma separ cat /proc/iomem separ cat /proc/ioports separ cat /proc/modules separ cat /proc/mtrr separ cat /proc/mounts separ cat /proc/partitions separ cat ./testit separ time ./testit separ } > $file 2>&1 -------------------- Linux cha92-7-82-230-174-61 2.6.11.1 #1 Mon Sep 5 12:45:25 CEST 2005 i686 GNU/Linux -------------------- Linux version 2.6.11.1 (root@cha92-7-82-230-174-61) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Mon Sep 5 12:45:25 CEST 2005 -------------------- nr_dirty 10 nr_writeback 0 nr_unstable 0 nr_page_table_pages 292 nr_mapped 26622 nr_slab 3455 pgpgin 88437 pgpgout 2956 pswpin 0 pswpout 0 pgalloc_high 319860 pgalloc_normal 70186 pgalloc_dma 8 pgfree 648326 pgactivate 22721 pgdeactivate 0 pgfault 954087 pgmajfault 2112 pgrefill_high 0 pgrefill_normal 0 pgrefill_dma 0 pgsteal_high 0 pgsteal_normal 0 pgsteal_dma 0 pgscan_kswapd_high 0 pgscan_kswapd_normal 0 pgscan_kswapd_dma 0 pgscan_direct_high 0 pgscan_direct_normal 0 pgscan_direct_dma 0 pginodesteal 0 slabs_scanned 0 kswapd_steal 0 kswapd_inodesteal 0 pageoutrun 0 allocstall 0 pgrotated 0 -------------------- root=/dev/hda5 ro -------------------- nr_dirty 10 nr_writeback 0 nr_unstable 0 nr_page_table_pages 292 nr_mapped 26622 nr_slab 3455 pgpgin 88437 pgpgout 2956 pswpin 0 pswpout 0 pgalloc_high 319919 pgalloc_normal 70204 pgalloc_dma 8 pgfree 648403 pgactivate 22721 pgdeactivate 0 pgfault 954411 pgmajfault 2112 pgrefill_high 0 pgrefill_normal 0 pgrefill_dma 0 pgsteal_high 0 pgsteal_normal 0 pgsteal_dma 0 pgscan_kswapd_high 0 pgscan_kswapd_normal 0 pgscan_kswapd_dma 0 pgscan_direct_high 0 pgscan_direct_normal 0 pgscan_direct_dma 0 pginodesteal 0 slabs_scanned 0 kswapd_steal 0 kswapd_inodesteal 0 pageoutrun 0 allocstall 0 pgrotated 0 -------------------- processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Pentium(R) 4 CPU 1.70GHz stepping : 2 cpu MHz : 1716.022 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 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 bogomips : 3391.48 -------------------- MemTotal: 1296652 kB MemFree: 1032692 kB Buffers: 9612 kB Cached: 80868 kB SwapCached: 0 kB Active: 141588 kB Inactive: 34784 kB HighTotal: 393200 kB HighFree: 222848 kB LowTotal: 903452 kB LowFree: 809844 kB SwapTotal: 1204832 kB SwapFree: 1204832 kB Dirty: 40 kB Writeback: 0 kB Mapped: 106488 kB Slab: 13820 kB CommitLimit: 1853156 kB Committed_AS: 236180 kB PageTables: 1168 kB VmallocTotal: 114680 kB VmallocUsed: 14612 kB VmallocChunk: 98804 kB -------------------- CPU0 0: 97799 IO-APIC-edge timer 1: 100 IO-APIC-edge i8042 8: 1 IO-APIC-edge rtc 12: 129 IO-APIC-edge i8042 14: 6320 IO-APIC-edge ide0 15: 1405 IO-APIC-edge ide1 16: 1587 IO-APIC-level radeon@pci:0000:01:00.0 17: 0 IO-APIC-level Intel 82801BA-ICH2 19: 272 IO-APIC-level uhci_hcd 21: 71 IO-APIC-level eth0 22: 1 IO-APIC-level acpi 23: 2347 IO-APIC-level bttv0, uhci_hcd NMI: 0 LOC: 97683 ERR: 0 MIS: 0 -------------------- 4: cascade -------------------- 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000cbfff : Video ROM 000d0000-000d07ff : Adapter ROM 000f0000-000fffff : System ROM 00100000-4fffbfff : System RAM 00100000-00297a9b : Kernel code 00297a9c-00345bff : Kernel data 4fffc000-4fffefff : ACPI Tables 4ffff000-4fffffff : ACPI Non-volatile Storage ed800000-ed80007f : 0000:02:0d.0 ee000000-eeefffff : PCI Bus #01 ee000000-ee00ffff : 0000:01:00.0 ef000000-ef000fff : 0000:02:0b.0 ef000000-ef000fff : bttv0 eff00000-f7ffffff : PCI Bus #01 f0000000-f7ffffff : 0000:01:00.0 f8000000-fbffffff : 0000:00:00.0 fec00000-fec00fff : reserved fee00000-fee00fff : reserved ffff0000-ffffffff : reserved -------------------- 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial 0376-0376 : ide1 03c0-03df : vga+ 03f0-03f1 : pnp 00:0c 03f6-03f6 : ide0 03f8-03ff : serial 0cf8-0cff : PCI conf1 9400-943f : 0000:00:1f.5 9400-943f : Intel 82801BA-ICH2 9800-98ff : 0000:00:1f.5 9800-98ff : Intel 82801BA-ICH2 a000-a01f : 0000:00:1f.4 a000-a01f : uhci_hcd a400-a41f : 0000:00:1f.2 a400-a41f : uhci_hcd a800-a80f : 0000:00:1f.1 a800-a807 : ide0 a808-a80f : ide1 b800-b87f : 0000:02:0d.0 b800-b87f : 0000:02:0d.0 d000-dfff : PCI Bus #01 d800-d8ff : 0000:01:00.0 e400-e47f : 0000:00:1f.0 e400-e47f : motherboard e400-e403 : PM1a_EVT_BLK e404-e405 : PM1a_CNT_BLK e408-e40b : PM_TMR e428-e42b : GPE0_BLK e42c-e42f : GPE1_BLK e800-e80f : 0000:00:1f.3 e800-e807 : i801-smbus ec00-ec3f : 0000:00:1f.0 ec00-ec3f : motherboard ec00-ec3f : pnp 00:01 -------------------- radeon 77184 1 - Live 0xf8b60000 drm 66196 2 radeon, Live 0xf8b75000 button 6800 0 - Live 0xf8aeb000 ipv6 265088 8 - Live 0xf8bae000 af_packet 22920 2 - Live 0xf8b43000 tsdev 7872 0 - Live 0xf8ae8000 floppy 60496 0 - Live 0xf8b50000 pcspkr 3940 0 - Live 0xf8a0a000 rtc 13368 0 - Live 0xf8ae3000 3c59x 41000 0 - Live 0xf8af1000 mii 5376 1 3c59x, Live 0xf8a99000 snd_intel8x0 33856 0 - Live 0xf8aaa000 snd_ac97_codec 76280 1 snd_intel8x0, Live 0xf8b27000 snd_pcm_oss 54560 0 - Live 0xf8b18000 snd_mixer_oss 20608 1 snd_pcm_oss, Live 0xf8a52000 snd_pcm 95112 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss, Live 0xf8aff000 snd_timer 26500 1 snd_pcm, Live 0xf8aa2000 snd 55396 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer, Live 0xf8ad4000 soundcore 10592 1 snd, Live 0xf8a95000 snd_page_alloc 9988 2 snd_intel8x0,snd_pcm, Live 0xf8a91000 usbhid 35392 0 - Live 0xf8a6a000 usblp 12928 0 - Live 0xf89f9000 uhci_hcd 32272 0 - Live 0xf8a75000 usbcore 119928 4 usbhid,usblp,uhci_hcd, Live 0xf8ab5000 intel_agp 23068 1 - Live 0xf8a63000 agpgart 34472 2 drm,intel_agp, Live 0xf8a59000 dm_mod 60796 2 - Live 0xf8a3d000 w83781d 34984 0 - Live 0xf8a33000 i2c_sensor 3712 1 w83781d, Live 0xf89ed000 i2c_i801 8716 0 - Live 0xf89e6000 capability 4872 0 - Live 0xf89f6000 commoncap 7040 1 capability, Live 0xf89ea000 tuner 22436 0 - Live 0xf89ef000 tvaudio 23460 0 - Live 0xf89d7000 bttv 153296 0 - Live 0xf8a0c000 video_buf 21892 1 bttv, Live 0xf89df000 firmware_class 10624 1 bttv, Live 0xf89d3000 i2c_algo_bit 9608 1 bttv, Live 0xf89cf000 v4l2_common 6016 1 bttv, Live 0xf89cc000 btcx_risc 5128 1 bttv, Live 0xf89c9000 tveeprom 13208 1 bttv, Live 0xf88ac000 i2c_core 22928 8 w83781d,i2c_sensor,i2c_i801,tuner,tvaudio,bttv,i2c_algo_bit,tveeprom, Live 0xf88c8000 videodev 10368 1 bttv, Live 0xf88bf000 evdev 9728 0 - Live 0xf88c4000 psmouse 28936 0 - Live 0xf89c0000 mousedev 12184 1 - Live 0xf88bb000 ide_cd 40964 0 - Live 0xf88f7000 cdrom 40352 1 ide_cd, Live 0xf88ec000 md 48080 0 - Live 0xf88df000 ext3 138504 2 - Live 0xf8908000 jbd 60952 1 ext3, Live 0xf88cf000 mbcache 10756 1 ext3, Live 0xf88b7000 ide_disk 17920 5 - Live 0xf88b1000 ide_generic 1408 0 [permanent], Live 0xf88a8000 via82cxxx 11932 0 [permanent], Live 0xf889a000 trm290 4356 0 [permanent], Live 0xf88a3000 triflex 3968 0 [permanent], Live 0xf88a1000 slc90e66 5888 0 [permanent], Live 0xf889e000 sis5513 14472 0 [permanent], Live 0xf8890000 siimage 12544 0 [permanent], Live 0xf8895000 serverworks 7944 0 [permanent], Live 0xf8889000 sc1200 7552 0 [permanent], Live 0xf8843000 rz1000 2688 0 [permanent], Live 0xf8887000 piix 10628 0 [permanent], Live 0xf888c000 pdc202xx_old 11392 0 [permanent], Live 0xf8862000 pdc202xx_new 9216 0 [permanent], Live 0xf8858000 opti621 4740 0 [permanent], Live 0xf8855000 ns87415 3912 0 [permanent], Live 0xf8802000 hpt366 19968 0 [permanent], Live 0xf885c000 hpt34x 5376 0 [permanent], Live 0xf8852000 generic 4224 0 [permanent], Live 0xf884f000 cy82c693 4736 0 [permanent], Live 0xf884c000 cs5530 4992 0 [permanent], Live 0xf8849000 cs5520 4864 0 [permanent], Live 0xf8846000 cmd64x 11932 0 [permanent], Live 0xf881e000 atiixp 6416 0 [permanent], Live 0xf8822000 amd74xx 12572 0 [permanent], Live 0xf8834000 alim15x3 10636 0 [permanent], Live 0xf8830000 aec62xx 7808 0 [permanent], Live 0xf8818000 ide_core 127828 28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx, Live 0xf8866000 unix 29492 239 - Live 0xf883a000 thermal 13192 0 - Live 0xf882b000 processor 17188 1 thermal, Live 0xf8825000 fan 4740 0 - Live 0xf881b000 -------------------- reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1 reg01: base=0x40000000 (1024MB), size= 256MB: write-back, count=1 reg02: base=0xf8000000 (3968MB), size= 64MB: write-combining, count=2 reg03: base=0xf0000000 (3840MB), size= 64MB: write-combining, count=2 -------------------- rootfs / rootfs rw 0 0 /dev2/root2 / ext3 rw,noatime 0 0 proc /proc proc rw,nodiratime 0 0 sysfs /sys sysfs rw 0 0 /dev2/root2 /dev/.static/dev ext3 rw,noatime 0 0 none /dev tmpfs rw 0 0 devpts /dev/pts devpts rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 /dev/vg0/homelv /home ext3 rw,noatime 0 0 usbfs /proc/bus/usb usbfs rw 0 0 -------------------- major minor #blocks name 3 0 117187500 hda 3 1 6474163 hda1 3 2 1 hda2 3 5 12908196 hda5 3 6 1204843 hda6 3 7 96598813 hda7 3 64 117187500 hdb 253 0 13631488 dm-0 253 1 42991616 dm-1 253 2 42991616 dm-2 253 3 42991616 dm-3 253 4 13631488 dm-4 -------------------- #!/bin/bash i=0 while [ $i -lt 100000 ] do let i=i+1 done -------------------- real 0m6.364s user 0m6.110s sys 0m0.239s --------------------