nuttx/fs/procfs
2019-09-06 09:48:42 -06:00
..
fs_procfs.c Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001) 2019-08-16 22:42:25 +00:00
fs_procfscpuload.c Merged in david_alessio/nuttx/bugfix/cpuload-missing-lf (pull request #1026) 2019-08-26 19:41:20 +00: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: Correct use of C11 features in common code. 2019-08-24 17:51:05 -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 Updates from review and testing of commit a0867a7f4f. 2019-08-26 09:46:05 -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
Kconfig net/tcp/tcp_send.c: Commit a52ceac13e 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. 2019-09-06 09:48:42 -06: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 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