Gregory Nutt bd3cc792ff fs/: Run all .c files under fs/ through tools/nxstyle. 5 年之前
..
Kconfig 7871e983b8 net/tcp/tcp_send.c: Commit a52ceac13ee598696cb907b62326bfd4c111ac6c broke IPv4 sending. In cp_send.c:tcp_ipv4_sendcomplete(), ‘ipv4->vhl’ now needs to be configured before call to tcp_ipv4_chksum(). Noted by Jussi Kivilinna in comit comments. 5 年之前
Make.defs 70404ed0dc Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 5 年之前
README.txt 6d7e0feea1 Remove 'executable' bit on several files 5 年之前
fs_procfs.c bd3cc792ff fs/: Run all .c files under fs/ through tools/nxstyle. 5 年之前
fs_procfscpuload.c 5be824e0ea Merged in david_alessio/nuttx/bugfix/cpuload-missing-lf (pull request #1026) 5 年之前
fs_procfscritmon.c e57f7cf6ae Critical Section Monitor (sched/ and fs/procfs: Remove SCHED_IRQMONITOR_GETTIME to simplify the clock source selection: (1) Use up_critmon_gettime if SCHED_IRQMONITOR, (2) Call clock_systimespec if SCHED_TICKLESS, (3) Don't collect timing info for all other cases and move up_critmon_* to arch.h avoid the duplicated declaration. 5 年之前
fs_procfsiobinfo.c bd3cc792ff fs/: Run all .c files under fs/ through tools/nxstyle. 5 年之前
fs_procfsmeminfo.c be3dd0bac6 fs/: Fix various coding standard issues found while testing tools/nxstyle.c 5 年之前
fs_procfsproc.c bd3cc792ff fs/: Run all .c files under fs/ through tools/nxstyle. 5 年之前
fs_procfsuptime.c 7a85cf1728 fs/procfs/fs_procfsuptime: Fixed type warning. 5 年之前
fs_procfsutil.c 335d1e0030 fs/procfs: Fix an error in a common function that manages read data. 6 年之前
fs_procfsversion.c 8b62bc96f5 Updates from review and testing of commit a0867a7f4f3ac2e4b34b3c3cd149b7ca6d8b712f. 5 年之前
fs_skeleton.c be3dd0bac6 fs/: Fix various coding standard issues found while testing tools/nxstyle.c 5 年之前

README.txt

fs/procfs README
================

This is a tiny procfs file system that allows read-only access to a few
attributes of a task or thread. This tiny procfs fs file system can be
built into the system by enabling:

CONFIG_FS_PROCFS=y

It can then be mounted from the NSH command like like:

nsh> mount -t procfs /proc

Example
=======

NuttShell (NSH) NuttX-6.31
nsh> mount -t procfs /proc

nsh> ls /proc
/proc:
0/
1/

nsh> ls /proc/1
/proc/1:
status
cmdline

nsh> cat /proc/1/status
Name: init
Type: Task
State: Running
Priority: 100
Scheduler: SCHED_FIFO
SigMask: 00000000

nsh> cat /proc/1/cmdline
init

nsh> sleep 100 &
sleep [2:100]
nsh> ls /proc
ls /proc
/proc:
0/
1/
2/

nsh> cat /proc/2/cmdline
0x527420