/procの一覧です。
~ # cat /proc/cpuinfo
system type : Atheros AR9330 (Hornet)
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 232.96
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0258, 0x0ff8, 0x0c13]
ASEs implemented : mips16
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
~ # ]
~ # cat /proc/cpuinfo
system type : Atheros AR9330 (Hornet)
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 232.96
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0258, 0x0ff8, 0x0c13]
ASEs implemented : mips16
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
~ # ]
~ # cat /proc/meminfo
MemTotal: 29208 kB
MemFree: 19468 kB
Buffers: 60 kB
Cached: 2400 kB
SwapCached: 0 kB
Active: 1912 kB
Inactive: 1564 kB
Active(anon): 1024 kB
Inactive(anon): 0 kB
Active(file): 888 kB
Inactive(file): 1564 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1048 kB
Mapped: 1408 kB
Slab: 4392 kB
SReclaimable: 364 kB
SUnreclaim: 4028 kB
PageTables: 160 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 14604 kB
Committed_AS: 3236 kB
VmallocTotal: 1048404 kB
VmallocUsed: 1404 kB
VmallocChunk: 1045032 kB
~ # cat /proc/diskstats
1 0 ram0 0 0 0 0 0 0 0 0 0 0 0
31 0 mtdblock0 0 0 0 0 0 0 0 0 0 0 0
31 1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0
31 2 mtdblock2 0 0 0 0 0 0 0 0 0 0 0
31 3 mtdblock3 4 1 40 4 2 2 32 60 0 64 64
31 4 mtdblock4 0 0 0 0 0 0 0 0 0 0 0
31 5 mtdblock5 9964 43621 107170 37112 0 0 0 0 0 37060 37068
31 6 mtdblock6 0 0 0 0 0 0 0 0 0 0 0
31 7 mtdblock7 0 0 0 0 0 0 0 0 0 0 0
31 8 mtdblock8 0 0 0 0 0 0 0 0 0 0 0
8 0 sda 1345 6 1414 37860 204 209 18823 44660 0 5192 82520
8 1 sda1 1343 3 1374 37840 204 209 18823 44660 0 5172 82500
~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "ART"
mtd3: 00010000 00010000 "NVRAM"
mtd4: 00140000 00010000 "uImage"
mtd5: 00280000 00010000 "rootfs"
mtd6: 00140000 00010000 "uImage2"
mtd7: 00280000 00010000 "rootfs2"
mtd8: 00010000 00010000 "CONF"
~ # cat /proc/modules
umac 576480 0 - Live 0xc02b6000
ath_dev 207072 1 umac, Live 0xc01c3000 (P)
ath_rate_atheros 20032 1 ath_dev, Live 0xc0174000 (P)
ath_hal 371936 2 umac,ath_dev, Live 0xc010b000 (P)
adf 9904 3 umac,ath_dev,ath_hal, Live 0xc0096000
asf 6816 3 umac,ath_dev,ath_hal, Live 0xc0089000 (P)
athrs_gmac 49616 0 - Live 0xc0072000
usb_storage 38400 1 - Live 0xc003e000
ehci_hcd 32928 0 - Live 0xc001d000
~ # ls /
bin lib mnt sbin usr
dev linuxrc proc sys var
etc lost+found root tmp version
~ # cat version
V0.1.22
~ # ls /lib
ld-uClibc-0.9.30.so libutil-0.9.30.so libxt_length.so
ld-uClibc.so.0 libutil.so.0 libxt_limit.so
libc.so.0 libxt_CLASSIFY.so libxt_mac.so
libcrypt-0.9.30.so libxt_CONNMARK.so libxt_mark.so
libcrypt.so.0 libxt_CONNSECMARK.so libxt_multiport.so
libdl-0.9.30.so libxt_DSCP.so libxt_owner.so
libdl.so.0 libxt_MARK.so libxt_physdev.so
libgcc_s.so libxt_NFLOG.so libxt_pkttype.so
libgcc_s.so.1 libxt_NFQUEUE.so libxt_quota.so
libipt_DNAT.so libxt_NOTRACK.so libxt_rateest.so
libipt_MASQUERADE.so libxt_RATEEST.so libxt_sctp.so
libm-0.9.30.so libxt_SECMARK.so libxt_standard.so
libm.so.0 libxt_TCPMSS.so libxt_state.so
libnsl-0.9.30.so libxt_TCPOPTSTRIP.so libxt_statistic.so
libnsl.so.0 libxt_TOS.so libxt_string.so
libntfs-3g.so libxt_TRACE.so libxt_tcp.so
libntfs-3g.so.52 libxt_comment.so libxt_tcpmss.so
libntfs-3g.so.52.0.0 libxt_connbytes.so libxt_time.so
libnvram.so libxt_connlimit.so libxt_tos.so
libpthread-0.9.30.so libxt_connmark.so libxt_u32.so
libpthread.so.0 libxt_conntrack.so libxt_udp.so
libresolv-0.9.30.so libxt_dccp.so libxtables.so
libresolv.so.0 libxt_dscp.so libxtables.so.0
librt-0.9.30.so libxt_esp.so libxtables.so.0.0.0
librt.so.0 libxt_hashlimit.so modules
libsutil.so libxt_helper.so
libuClibc-0.9.30.so libxt_iprange.so
~ # ls /lib/modules
2.6.31
~ # ls /lib/modules/2.6.31
net usb
~ # ls /lib/modules/2.6.31/net
adf.ko ath_hal.ko led0.ko
asf.ko ath_rate_atheros.ko umac.ko
ath_dev.ko athrs_gmac.ko
~ # ls /lib/modules/2.6.31/usb
ehci-hcd.ko usb-storage.ko
~ #
~ # ls /bin
ash dmesg kill mv su
backup echo ln ntfs-3g sync
busybox egrep login ping tar
cat ethdebug ls ps touch
cfg ethreg md pwd true
chgrp factoryreset mkdir rm umount
chmod false mknod rmdir uname
cp fgrep mktemp sed vi
date getopt mm sh
dd grep more shttpd
df iproute mount sleep
~ # mount -l
mount: invalid option -- l
/dev/mtdblock5 on / type squashfs (ro,relatime)
/proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /tmp type ramfs (rw,relatime)
/sys on /sys type sysfs (rw,relatime)
udev on /dev type ramfs (rw,relatime)
/dev/pts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /tmp/www/ftp/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,errors=remount-ro)
/dev/sda1(mmcblk0でない)がsdカードで、/tmp/www/ftp/sda1がsdカード共有dirらしい
~ # touch a
touch: a: Read-only file system
/sbin # ls
80211stats init reg version
backupPS insmod rmmod vsftpd
brctl iptables route wdog
dnsmasq iwconfig sparkling wlanconfig
dumpregs iwlist udevcontrol wpa_cli
fdisk iwpriv udevd wpa_supplicant
flash_erase lsmod udevsettle wps_pbc
fwUpgrade modprobe udevstart wpscli_ap
getty mountUSB udevtrigger wpscli_sta
hostapd nvram udhcpc
hostapd_cli rc umountUSB
ifconfig reboot vconfig
/sbin # ls /etc
ath host.conf rc.d udhcpd.conf
backup.script hosts resolv.conf udhcpd_br0.conf
chkcfg inittab securetty vsftpd.conf
connect.sh issue services wep_def.conf
connect1.sh nsswitch.conf shadow wpa.conf
dnsmasq.conf nvram.deft udev wpa_def.conf
fstab nvram.update udhcpc.script
group passwd udhcpc2.script
/sbin # ls /usr/bin
[ dirname expr id passwd telnet tty
arping du find killall strings test wc
cut env hexdump md5sum tail tftp xargs
/sbin # ls /usr/sbin
httpd telnetd udhcpd wdog
/sbin # ls /usr/www
cgi-bin frame1.html page.html
cmd.html images page2.html
configuration.html index.html style.css
empty.html login.html styleSheet.css
/sbin # ls /usr/lib
libcrypt-0.9.30.so libcrypt.so.0
/sbin #
/sbin # tar
BusyBox v1.01 (2013.01.03-08:27+0000) multi-call binary
Usage: tar -[czxtvO] [-f TARFILE] [-C DIR] [FILE(s)] ...
Create, extract, or list files from a tar file.
Options:
c create
x extract
t list
Archive format selection:
z Filter the archive through gzip
File selection:
f name of TARFILE or "-" for stdin
O extract to stdout
C change to directory DIR before operation
v verbosely list files processed
/sbin #
/tmp # ls
dnsmasq.pid mtd_nvram secbr0 wpa.conf
hostapd rc.pid staState wpa_supplicant
mnt rc_state udhcpd.pid www
/tmp # cat wpa.conf
ctrl_interface=/tmp/wpa_supplicant
update_config=1
ap_scan=1
network={
scan_ssid=1
priority=1
ssid="F660T-hVCv-G"
key_mgmt=WPA-PSK
psk="kXsWEsXu"
}
/tmp # cat staState
Connected
/tmp # cat secbr0
interface=ath0
bridge=br0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
dtim_period=2
max_num_sta=255
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wme_enabled=0
ieee8021x=0
eapol_key_index_workaround=0
eap_server=1
/tmp # cat rc_stat
cat: rc_stat: No such file or directory
/tmp # cat rc_state
0
/tmp #
~ # cat /proc/version
Linux version 2.6.31.AirPen_V0.1.22-g5eca71a (dio@dio) (gcc version 4.3.3 (GCC) ) #319 Thu Jan 3 16:27:02 CST 2013
~ #
~ # cat /proc/version
Linux version 2.6.31.AirPen_V0.1.22-g5eca71a (dio@dio) (gcc version 4.3.3 (GCC) ) #319 Thu Jan 3 16:27:02 CST 2013
~ #
0 件のコメント:
コメントを投稿