The T-Files


Thu, 31 Jan 2008

From X To O: Unix Underpinnings

[olpc@xo-11-19-06 ~]$ uname -a

Linux xo-11-19-06.localdomain 2.6.22-20071121.7.olpc.af3dd731d18bc39 #1
PREEMPT Wed Nov 21 00:39:06 EST 2007 i586 i586 i386 GNU/Linux
[olpc@xo-11-19-06 ~]$ df -k

Filesystem           1K-blocks      Used Available Use% Mounted on
mtd0                   1048576    359044    689532  35% /
tmpfs                    35676         0     35676   0% /dev/shm
[olpc@xo-11-19-06 ~]$ cat /proc/cpuinfo

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 5
model		: 10
model name	: Geode(TM) Integrated Processor by AMD PCS
stepping	: 2
cpu MHz		: 430.952
cache size	: 128 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext
3dnowext 3dnow
bogomips	: 862.97
clflush size	: 32
 
[olpc@xo-11-19-06 ~]$ ps auxw

USER      PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

root        1  0.7  1.7   4952  4144 ?        Ss   17:36   0:04 oatc    
          /init
root        2  0.0  0.0      0     0 ?        S<   17:36   0:00
[kthreadd]
root        3  0.0  0.0      0     0 ?        SN   17:36   0:00
[ksoftirqd/0]
root        4  0.0  0.0      0     0 ?        S<   17:36   0:00
[watchdog/0]
root        5  0.1  0.0      0     0 ?        S<   17:36   0:00
[events/0]
root        6  0.0  0.0      0     0 ?        S<   17:36   0:00
[khelper]
root       47  0.0  0.0      0     0 ?        S<   17:36   0:00
[kblockd/0]
root       48  0.0  0.0      0     0 ?        S<   17:36   0:00
[ksuspend_usbd]
root       51  0.0  0.0      0     0 ?        S<   17:36   0:00
[khubd]
root       53  0.0  0.0      0     0 ?        S<   17:36   0:00
[kseriod]
root      115  0.0  0.0      0     0 ?        S    17:36   0:00
[pdflush]
root      116  0.0  0.0      0     0 ?        S    17:36   0:00
[pdflush]
root      117  0.0  0.0      0     0 ?        S<   17:36   0:00
[kswapd0]
root      118  0.0  0.0      0     0 ?        S<   17:36   0:00
[aio/0]
root      517  0.0  0.0      0     0 ?        S<   17:36   0:00
[kpsmoused]
root      560  0.0  0.0      0     0 ?        S<   17:36   0:00
[kmmcd]
root      617  0.0  0.0      0     0 ?        Z    17:36   0:00 [init]
<defunct>
root      667  5.2  0.0      0     0 ?        SN   17:36   0:35
[jffs2_gcd_mtd0]
root      670  0.0  0.2   2140   664 ?        Ss   17:36   0:00 init [5]
root      757  0.0  0.2   2260   592 ?        S<s  17:36   0:00
/sbin/udevd -d
root      886  0.0  0.0      0     0 ?        S<   17:36   0:00
[libertas_main]
root      887  0.0  0.0      0     0 ?        S<   17:36   0:00
[libertas_worker]
root     1263  0.0  0.2   1804   596 ?        Ss   17:37   0:00 syslogd
-m 0
root     1266  0.0  0.1   1744   404 ?        Ss   17:37   0:00 klogd -x
dbus     1289  0.1  0.4   2956  1008 ?        Rs   17:37   0:01
dbus-daemon --system
root     1311  0.0  2.8  13660  6704 ?        Ss   17:37   0:00
/usr/bin/python /usr/sbin/rainbow-daemon --daemon
root     1326  0.0  0.3   5392   940 ?        Ss   17:37   0:00
/usr/sbin/sshd
root     1338  0.0  0.9   7568  2196 ?        Ssl  17:37   0:00
console-kit-daemon
root     1378  0.0  0.4   3296  1104 ?        Ss   17:37   0:00 crond
root     1423  0.0  0.2   1736   616 ?        SNs  17:37   0:00 anacron
-s
root     1435  0.1  0.9  28740  2152 ?        Ssl  17:37   0:00
NetworkManager --pid-file=/var/run/NetworkManager/NetworkManager.pid
68       1462  0.2  1.1   4552  2640 ?        Ss   17:37   0:01 hald
root     1463  0.0  0.4   3084   972 ?        S    17:37   0:00
hald-runner
root     1486  0.0  0.4   3176  1080 ?        S    17:37   0:00
hald-addon-input: Listening on /dev/input/event0 /dev/input/event1 /
root     1491  0.0  1.4   7092  3372 ?        S    17:37   0:00
/usr/bin/python /usr/bin/olpc-hardware-manager
avahi    1519  0.0  0.5   2656  1420 ?        Ss   17:37   0:00
avahi-daemon: running [xo-11-19-06.local]
avahi    1522  0.0  0.1   2656   432 ?        Ss   17:37   0:00
avahi-daemon: chroot helper
root     1540  0.0  0.1   1728   464 ?        Ss   17:37   0:00
/sbin/mingetty --noclear tty1
root     1543  0.0  0.1   1724   456 tty2     Ss+  17:37   0:00
/sbin/mingetty tty2
root     1544  0.0  0.2   1736   504 ttyS0    Ss+  17:37   0:00
/sbin/agetty ttyS0 115200 vt100
root     1545  0.0  0.5   2880  1200 ?        Ss   17:37   0:00
/usr/sbin/olpc-dm
olpc     1557  0.0  0.4   2552  1064 tty1     Ss+  17:37   0:00 /bin/sh
/usr/bin/startx /usr/bin/olpc-session -- -fp built-ins -wr
olpc     1574  0.0  0.3   3076   928 tty1     S+   17:37   0:00 xinit
/usr/bin/olpc-session -- /usr/bin/X -fp built-ins -wr -auth /h
root     1575  5.2  8.5  26072 20400 tty3     Ss+  17:37   0:34
/usr/bin/X :0 -fp built-ins -wr -auth /home/olpc/.serverauth.1557
olpc     1585  7.5 12.9  58040 30920 ?        Ss   17:37   0:49 python
/usr/bin/sugar-shell
olpc     1593  0.1  0.5   3480  1408 ?        Ss   17:37   0:01
/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
olpc     1594  0.0  0.2   2840   616 ?        S    17:37   0:00
dbus-launch --exit-with-session sugar-shell
olpc     1605  0.1  2.1  11100  5004 ?        S    17:37   0:00
matchbox-window-manager -use_titlebar no -theme sugar -kbdconfig /us
olpc     1607  0.6  4.5  17152 10740 ?        S    17:37   0:04 python
/usr/bin/sugar-presence-service
olpc     1609  0.0  1.1   8068  2808 ?        S    17:37   0:00
/usr/libexec/telepathy-salut
olpc     1611  0.3  3.7  15320  8884 ?        S    17:37   0:01 python
/usr/bin/sugar-shell-service
olpc     1613  2.1  5.8  32012 13872 ?        Sl   17:37   0:13 python
/usr/bin/datastore-service
olpc     1623  0.0  0.1   3780   472 ?        S    17:37   0:00 /bin/cat
olpc     1625  4.7 10.1  42892 24136 ?        S    17:37   0:29 python
/usr/bin/sugar-activity journalactivity.JournalActivity -b or
olpc     1660  1.3 10.5  55076 25140 ?        Sl   17:38   0:07 python
/usr/bin/sugar-activity terminal.TerminalActivity -s -b org.l
olpc     1670  0.0  0.2   2420   628 ?        S    17:39   0:00
gnome-pty-helper
olpc     1671  0.0  0.6   4688  1536 pts/0    Ss   17:39   0:00
/bin/bash
499      1699  0.0  0.2   1820   704 ?        S    17:39   0:00
avahi-autoipd: [msh0] bound 169.254.2.85
root     1700  0.0  0.1   1772   352 ?        Ss   17:39   0:00
avahi-autoipd: [msh0] callout dispatcher
olpc     1786  0.0  0.2   3788   608 pts/0    S+   17:46   0:00 script
olpc     1787  0.0  0.1   3792   400 pts/0    S+   17:46   0:00 script
olpc     1788  0.1  0.6   4688  1540 pts/1    Ss   17:46   0:00 bash -i
olpc     1802  7.0  0.3   4512   944 pts/1    R+   17:48   0:00 ps auxw