nuttx/Documentation/applications
Jorge Guzman b7305d8780 Documentation: nsh: document the top command
The top command was added to nshlib in 2024 but was never documented.
Add a section to the NSH commands page covering syntax, options,
example output and configuration dependencies, including the
Linux-like summary header.

Also enable the command in the linum-stm32h753bi:nsh config: procfs,
CPU load measurement, stack coloration and task names, so that top
and ps are fully functional out of the box. This requires a dedicated
interrupt stack and larger IDLE/init task stacks: with SCHED_CPULOAD
the per-tick accounting runs in interrupt context, and with
ARCH_INTERRUPTSTACK=0 it lands on the stack of the interrupted task,
overflowing the 1 KiB IDLE stack and corrupting the adjacent heap.

Also add the VT100 escape sequences used by the top command screen
refresh as string literals in include/nuttx/vt100.h (VT100_STR_*),
next to the existing VT100_FMT_* definitions.

Tested on hardware.

Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2026-07-11 09:15:15 -03:00
..
audioutils Documentation/applications/audioutils/mml_parser/index.rst: fix typo 2026-06-02 09:23:41 -03:00
benchmarks boards/xtensa/esp32s3: New board WaveShare ESP32-S3-Touch-LCD-1.28 (WIP). 2026-04-24 16:27:08 +08:00
boot style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
canutils Documentation: update Lely CANopen doc 2026-07-06 11:02:46 -03:00
crypto documentation: Document MQTT-C with Mbed TLS usage. 2026-04-14 16:05:54 +08:00
examples boards/stm32h7/linum-stm32h753bi: enable USB FS host, add lvglterm_kbda 2026-07-08 14:08:16 -04:00
fsutils Documentation: add flashtool utility 2025-12-23 08:48:26 -03:00
games docs/games/NXDoom: Documentation for DOOM port 2026-07-03 10:30:40 +08:00
graphics boards/xtensa/esp32s3: New board WaveShare ESP32-S3-Touch-LCD-1.28 (WIP). 2026-04-24 16:27:08 +08:00
industry docs: add SCPI application documentation 2026-06-24 23:29:57 +08:00
inertial
interpreters Documentation: Add entry for Python on ESP32-P4 2026-05-23 09:35:16 -03:00
logging boards/nucleo-c071rb: add adcscope example 2026-03-24 18:24:40 +01:00
lte
math
mlearing
netutils Documentation/applications: document Dropbear scp file transfers 2026-07-10 15:37:54 -03:00
nsh Documentation: nsh: document the top command 2026-07-11 09:15:15 -03:00
sdr documentation: spelling and grammar fixes 2025-07-24 14:44:02 +08:00
system !arch/stm32: move stm32l1 and finalize the directory split 2026-06-24 14:54:44 -03:00
testing fs/mnemofs: Add mnemofs version 1 support. 2026-05-19 10:29:11 +08:00
tools documentation: spelling and grammar fixes 2025-07-24 14:44:02 +08:00
wireless documentation: spelling and grammar fixes 2025-07-24 14:44:02 +08:00
index.rst