incubator-nuttx/fs/procfs
Gregory Nutt 425a2d1b2c fs/procfs/fs_procfsiobinfo.c: Fix error found in build testing. Needs to include nuttx/mm/iob.h. 2019-08-19 12:16:53 -06:00
..
Kconfig Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 2019-08-16 22:42:25 +00:00
Make.defs Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 2019-08-16 22:42:25 +00:00
README.txt Remove 'executable' bit on several files 2019-08-01 14:13:55 -06:00
fs_procfs.c Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 2019-08-16 22:42:25 +00:00
fs_procfscpuload.c procfs: Most stat() implementations were not initializating the st_atime, st_ctime, and st_mtime fields. 2017-02-15 09:59:09 -06:00
fs_procfscritmon.c 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. 2019-01-27 10:13:28 -06:00
fs_procfsiobinfo.c fs/procfs/fs_procfsiobinfo.c: Fix error found in build testing. Needs to include nuttx/mm/iob.h. 2019-08-19 12:16:53 -06:00
fs_procfsmeminfo.c fs/: Fix various coding standard issues found while testing tools/nxstyle.c 2019-03-01 15:01:04 -06:00
fs_procfsproc.c sched/: Correct some naming. The NuttX task groups have been using the acroynum 'gid' and also the type 'gid_t' for the the task group ID. That is incorrect. Than naming is reserved for use with group permissions. So these were all named to grpid and grpid_t so that it is clearer that these refer to NuttX task group IDs, and not to group permissions. 2019-08-02 10:01:30 -06:00
fs_procfsuptime.c fs/procfs/fs_procfsuptime: Fixed type warning. 2019-08-07 07:56:10 -06:00
fs_procfsutil.c fs/procfs: Fix an error in a common function that manages read data. 2018-01-12 18:26:45 -06:00
fs_procfsversion.c fs/procfs: Add /proc/version support to get version info 2018-11-08 10:13:45 -06:00
fs_skeleton.c fs/: Fix various coding standard issues found while testing tools/nxstyle.c 2019-03-01 15:01:04 -06:00

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
  <pthread> 0x527420