Gregory Nutt efe65749ce Fix condition logic: The setup seems to support a network without sockets. That is not the case. 5 年之前
..
Kconfig a7d9d4bc1e drivers/serial/uart_16550.c: Fox UART flow control issue. UART_MCR_RTS need be high even UART_MCR_AFCE is enabled 6 年之前
Make.defs 85c31fd4a2 fs/procfs/fs_procfscritmon.c and sched/sched/sched_critmonitor.c: Add support for global pre-emption and global critical sections to monitor as suggested by Xiang Xaio. 5 年之前
README.txt 015072a4d4 fs/binfs/README.txt: Add a README file 11 年之前
fs_procfs.c 1e0e1ae856 fs/procfs: Remove the unnecessary critical section 5 年之前
fs_procfscpuload.c c67943ed1d procfs: Most stat() implementations were not initializating the st_atime, st_ctime, and st_mtime fields. 7 年之前
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_procfsmeminfo.c 8de51543a4 Fix a few compilation errors. 6 年之前
fs_procfsproc.c efe65749ce Fix condition logic: The setup seems to support a network without sockets. That is not the case. 5 年之前
fs_procfsuptime.c 8fdbb1e0a4 Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t 6 年之前
fs_procfsutil.c 335d1e0030 fs/procfs: Fix an error in a common function that manages read data. 6 年之前
fs_procfsversion.c 82e0b0328b fs/procfs: Add /proc/version support to get version info 6 年之前
fs_skeleton.c be7a904d1b procfs skeleton: Some additional, purely cosmetic updates. 7 年之前

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