mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Documentation: add uptime command description
Reference: https://github.com/apache/nuttx-apps/pull/1319 Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
This commit is contained in:
@@ -1757,6 +1757,27 @@ and the group-wide environment variables. For example::
|
||||
|
||||
nsh>
|
||||
|
||||
.. _cmduptime:
|
||||
|
||||
``uptime`` Show how long the system has been running
|
||||
====================================================
|
||||
|
||||
**Command Syntax**:
|
||||
|
||||
uptime [-sph]
|
||||
|
||||
**Synopsis**. Display of the following information: the current time,
|
||||
how long the system has been running, and the load averages for the past 1, 5,
|
||||
and 15 minutes.
|
||||
|
||||
**Options**
|
||||
|
||||
====== ================================
|
||||
``-p`` show uptime in pretty format
|
||||
``-s`` system up since
|
||||
``-h`` display this help and exit
|
||||
====== ================================
|
||||
|
||||
.. _cmdurldecode:
|
||||
|
||||
``urldecode`` URL Decode
|
||||
|
||||
Reference in New Issue
Block a user