# ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:05 init [3]
2 ? SWN 0:00 [ksoftirqd/0]
3 ? SW< 0:00 [events/0]
4 ? SW< 0:00 [khelper]
25 ? SW< 0:00 [kblockd/0]
38 ? SW 0:00 [khubd]
83 ? SW 0:00 [pdflush]
84 ? SW 0:00 [pdflush]
86 ? SW< 0:00 [aio/0]
85 ? SW 0:00 [kswapd0]
87 ? SW< 0:00 [xfslogd/0]
88 ? SW< 0:00 [xfsdatad/0]
89 ? SW 0:00 [xfsbufd]
759 ? SW< 0:00 [ata/0]
763 ? SW 0:00 [scsi_eh_0]
764 ? SW 0:00 [scsi_eh_1]
765 ? SW 0:00 [scsi_eh_2]
766 ? SW 0:00 [scsi_eh_3]
869 ? SW 0:00 [mtdblockd]
1037 ? SW 0:00 [md3_raid5]
1047 ? SW 0:00 [md2_raid1]
1053 ? SW 0:00 [md0_raid1]
1059 ? SW 0:00 [md1_raid1]
1177 ? SW 0:00 [sata_leds]
1187 ? SW 0:00 [xfssyncd]
1346 ? SW 0:00 [xfssyncd]
1347 ? SW 0:00 [xfssyncd]
2033 ? S 0:00 /sbin/udevd
2122 ? S 0:00 /bin/sh /sbin/logcheckerd
2395 ? S 0:00 /sbin/dhclient -pf /var/run/dhclient.eth0 eth0
2525 ? S 1:39 /usr/lib/j2me-hi/bin/cvm -Xmx6m -Dfile.encoding=utf-8
2547 ? S 0:00 /usr/sbin/mdadm --monitor --scan --daemonise --pid-fi
2616 ? S 0:01 /sbin/syslogd -u syslogd -j /var/resolv
2629 ? S 0:00 /sbin/klogd -c 1 -2 -u klogd -j /var/lib/klogd
2642 ? S 0:00 /usr/sbin/crond
2675 ? S 0:00 /usr/sbin/xinetd -reuse -remlock
2692 ? S 0:00 /usr/sbin/sshd
2722 ? S 0:02 /usr/sbin/picd
2734 ? S 0:00 /usr/sbin/nmbd -D
2736 ? S 0:00 /usr/sbin/smbd -D
2754 ? S 0:00 /usr/sbin/winbindd -B
2762 ? S 0:00 /usr/sbin/winbindd -B
2770 ttyS0 S 0:00 /bin/login -- root
2825 ? SW< 0:00 [kmirrord/0]
3047 ? S 0:02 evms -c --pipe
3146 ? S 0:00 /sbin/ftpmount
3502 ttyS0 S 0:00 -bash
3641 ? S 0:00 sleep 30
3642 ttyS0 R 0:00 ps ax
Below are some resource usage overviews during different circumstances:
03:29:37 up 46 min, 1 user, load average: 0.02, 0.04, 0.04
74 processes: 73 sleeping, 1 running, 0 zombie, 0 stopped
Mem: 256556k av, 82020k used, 174536k free, 0k shrd, 2500k buff
41468k active, 22764k inactive
Swap: 256948k av, 0k used, 256948k free 42712k cached
Unknown command `' -- hit `h' for help
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
3683 root 17 0 1920 1048 788 R 1.1 0.4 0:02 top
2525 root 17 0 65852 16M 5148 S 0.3 6.6 1:52 cvm
2722 root 16 0 1196 404 336 S 0.1 0.1 0:02 picd
1 root 16 0 1216 496 424 S 0.0 0.1 0:05 init
2 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd/0
3 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 events/0
4 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 khelper
25 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 kblockd/0
38 root 15 0 0 0 0 SW 0.0 0.0 0:00 khubd
83 root 20 0 0 0 0 SW 0.0 0.0 0:00 pdflush
84 root 15 0 0 0 0 SW 0.0 0.0 0:00 pdflush
86 root 7 -10 0 0 0 SW< 0.0 0.0 0:00 aio/0
85 root 25 0 0 0 0 SW 0.0 0.0 0:00 kswapd0
87 root 5 -10 0 0 0 SW< 0.0 0.0 0:01 xfslogd/0
88 root 7 -10 0 0 0 SW< 0.0 0.0 0:00 xfsdatad/0
89 root 15 0 0 0 0 SW 0.0 0.0 0:00 xfsbufd
759 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 ata/0
06:03:15 up 3:20, 1 user, load average: 1.47, 0.53, 0.20
76 processes: 74 sleeping, 2 running, 0 zombie, 0 stopped
Mem: 256556k av, 253988k used, 2568k free, 0k shrd, 232k buff
46096k active, 186180k inactive
Swap: 256948k av, 0k used, 256948k free 209936k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
2736 root 16 0 9920 3276 2540 S 47.9 1.2 0:17 smbd
84 root 15 0 0 0 0 SW 26.9 0.0 0:08 pdflush
2525 root 17 0 68592 19M 5160 S 23.1 7.6 7:50 cvm
5461 root 19 0 1936 1056 788 R 3.4 0.4 0:01 top
1037 root 15 0 0 0 0 SW 3.3 0.0 0:01 md3_raid5
85 root 15 0 0 0 0 SW 1.0 0.0 0:00 kswapd0
89 root 15 0 0 0 0 SW 0.1 0.0 0:00 xfsbufd
5266 root 15 0 7104 2744 2080 S 0.1 1.0 0:02 evms
1 root 16 0 1216 496 424 S 0.0 0.1 0:05 init
2 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd/0
3 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 events/0
4 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 khelper
25 root 5 -10 0 0 0 SW< 0.0 0.0 0:00 kblockd/0
38 root 15 0 0 0 0 SW 0.0 0.0 0:00 khubd
83 root 20 0 0 0 0 SW 0.0 0.0 0:00 pdflush
86 root 7 -10 0 0 0 SW< 0.0 0.0 0:00 aio/0
87 root 5 -10 0 0 0 SW< 0.0 0.0 0:03 xfslogd/0
# free
total used free shared buffers cached
Mem: 256556 81828 174728 0 2500 42764
-/+ buffers/cache: 36564 219992
Swap: 256948 0 256948
# cat /etc/fstab /dev/evms/root / xfs defaults,sync 1 1 /dev/evms/swap swap swap defaults 0 0 /dev/evms/log /var/log xfs defaults,sync 0 0 proc /proc proc gid=19 0 0 sysfs /sys sysfs gid=19 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 /dev/evms/Volume1 /drives/Volume1 xfs usrquota,grpquota,defaults 0 0
# df Filesystem Size Used Avail Use% Mounted on /dev/evms/root 506M 235M 272M 47% / /dev/evms/log 108M 74M 35M 68% /var/log /dev/evms/Volume1 696G 1.8G 695G 1% /drives/Volume1 udev 5.0M 2.7M 2.4M 53% /dev shmfs 126M 0 126M 0% /dev/shm
# hdparm -a /dev/sda /dev/sda: readahead = 256 (on) # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 64 MB in 1.31 seconds = 48.85 MB/sec # hdparm -T /dev/sda /dev/sda: Timing buffer-cache reads: 128 MB in 0.60 seconds =213.33 MB/sec
# lspci 00:01.0 Ethernet controller: Intel Corp.: Unknown device 1078 (rev 05) 00:03.0 Class 0106: Intel Corp.: Unknown device 3200 00:04.0 Ethernet controller: Intel Corp.: Unknown device 1078 (rev 05) 00:05.0 USB Controller: Philips Semiconductors: Unknown device 1561 (rev 30) 00:05.1 USB Controller: Philips Semiconductors: Unknown device 1561 (rev 30) 00:05.2 USB Controller: Philips Semiconductors: Unknown device 1562 (rev 30)
Verbose:
# lspci -v -v
00:01.0 Ethernet controller: Intel Corp.: Unknown device 1078 (rev 05)
Subsystem: Intel Corp.: Unknown device 1078
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (63750ns min), cache line size 08
Interrupt: pin A routed to IRQ 28
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at fe000000 [size=64]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [e4] PCI-X non-bridge device.
Command: DPERE- ERO+ RBC=0 OST=0
Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-
00:03.0 Class 0106: Intel Corp.: Unknown device 3200
Subsystem: Intel Corp.: Unknown device 3200
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (4000ns min, 250ns max), cache line size 80
Interrupt: pin A routed to IRQ 27
Region 0: Memory at 80040000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [e0] PCI-X non-bridge device.
Command: DPERE- ERO+ RBC=0 OST=3
Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-
Capabilities: [e8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable-
Address: 0000000000000000 Data: 0000
00:04.0 Ethernet controller: Intel Corp.: Unknown device 1078 (rev 05)
Subsystem: Intel Corp.: Unknown device 1078
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (63750ns min), cache line size 08
Interrupt: pin A routed to IRQ 29
Region 0: Memory at 80020000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at fe000040 [size=64]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [e4] PCI-X non-bridge device.
Command: DPERE- ERO+ RBC=0 OST=0
Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-
00:05.0 USB Controller: Philips Semiconductors: Unknown device 1561 (rev 30) (prog-if 10 [OHCI])
Subsystem: Philips Semiconductors: Unknown device 1561
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (250ns min, 10500ns max), cache line size 08
Interrupt: pin A routed to IRQ 30
Region 0: Memory at 80041000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1+,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:05.1 USB Controller: Philips Semiconductors: Unknown device 1561 (rev 30) (prog-if 10 [OHCI])
Subsystem: Philips Semiconductors: Unknown device 1561
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (250ns min, 10500ns max), cache line size 08
Interrupt: pin A routed to IRQ 30
Region 0: Memory at 80042000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1+,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:05.2 USB Controller: Philips Semiconductors: Unknown device 1562 (rev 30) (prog-if 20 [EHCI])
Subsystem: Philips Semiconductors: Unknown device 1562
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (500ns min, 4000ns max), cache line size 08
Interrupt: pin A routed to IRQ 30
Region 0: Memory at 80043000 (32-bit, non-prefetchable) [size=256]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=220mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+
Kernel version:
# uname -a Linux na-1400.localdomain 2.6.10-sanmina-aw22 #1 Wed Dec 14 18:10:39 MSK 2005 armv5tel unknown unknown GNU/Linux
Libc version:
# ls /lib | grep libc- libc-2.2.6.so
CPU info:
# cat /proc/cpuinfo Processor : XScale-IOP8032x Family rev 0 (v5l) BogoMIPS : 593.10 cpu MHz : 593.100 Features : swp half thumb fastmult edsp CPU implementer : 0x69 CPU architecture: 5TE CPU variant : 0x0 CPU part : 0x2e3 CPU revision : 0 Cache type : undefined 5 Cache clean : undefined 5 Cache lockdown : undefined 5 Cache format : Harvard I size : 32768 I assoc : 32 I line length : 32 I sets : 32 D size : 32768 D assoc : 32 D line length : 32 D sets : 32 Hardware : Sanmina Revision : 0000 Serial : 0000000000000000
I/O map:
# cat /proc/iomap cat: /proc/iomap: No such file or directory
I/O mem:
# cat /proc/io
iomem iop3xx_dmacopy ioports
[root@na-1400 root]# cat /proc/iomem
80000000-87ffffff : IQ31244 PCI Memory Space
80000000-8001ffff : 0000:00:01.0
80000000-8001ffff : e1000
80020000-8003ffff : 0000:00:04.0
80020000-8003ffff : e1000
80040000-80040fff : 0000:00:03.0
80040000-80040fff : sata_vsc
80041000-80041fff : 0000:00:05.0
80041000-80041fff : ohci_hcd
80042000-80042fff : 0000:00:05.1
80042000-80042fff : ohci_hcd
80043000-800430ff : 0000:00:05.2
80043000-800430ff : ehci_hcd
a0000000-afffffff : System RAM
a001f000-a02884d7 : Kernel text
a028a000-a031ed2b : Kernel data
fffff680-fffff698 : IOP3xx-I2C0
fffff680-fffff697 : IOP3xx-I2C
fffff6a0-fffff6b8 : IOP3xx-I2C1
fffff6a0-fffff6b7 : IOP3xx-I2C
I/O ports:
# cat /proc/ioports
fe000000-fe00ffff : IQ31244 PCI I/O Space
fe000000-fe00003f : 0000:00:01.0
fe000000-fe00003f : e1000
fe000040-fe00007f : 0000:00:04.0
fe000040-fe00007f : e1000
Interrupts:
# cat /proc/interrupts
CPU0
0: 0 IOP321 DMA 0 EOT
1: 0 IOP321 DMA 0 E0C
2: 0 IOP321 DMA 1 EOT
3: 0 IOP321 DMA 1 E0C
9: 156296 IOP321 Timer Tick
11: 547 IOP3xx-I2C
12: 1160 IOP3xx-I2C
16: 216 XScale CCNT
20: 0 IOP321 DMA 0 ERR
21: 0 IOP321 DMA 1 ERR
27: 186719 libata
28: 796 eth0
29: 702 eth1
30: 19219 ohci_hcd, ohci_hcd, ehci_hcd, serial
31: 0 pic16f8x
Err: 0
PCI devices:
# cat /proc/bus/pci/devices 0008 80861078 1c 80000000 00000000 fe000001 00000000 00000000 00000000 00000000 00020000 000000000000040 00000000 00000000 00000000 00000000 e1000 0018 80863200 1b 80040004 00000000 00000000 00000000 00000000 00000000 00000000 00001000 000000000000000 00000000 00000000 00000000 00000000 sata_vsc0020 80861078 1d 80020000 00000000 fe000041 00000000 00000000 00000000 00000000 00020000 000000000000040 00000000 00000000 00000000 00000000 e1000 0028 11311561 1e 80041000 00000000 00000000 00000000 00000000 00000000 00000000 00001000 000000000000000 00000000 00000000 00000000 00000000 ohci_hcd0029 11311561 1e 80042000 00000000 00000000 00000000 00000000 00000000 00000000 00001000 000000000000000 00000000 00000000 00000000 00000000 ohci_hcd002a 11311562 1e 80043000 00000000 00000000 00000000 00000000 00000000 00000000 00000100 000000000000000 00000000 00000000 00000000 00000000 ehci_hcd