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:
parent
0a23fe3bd6
commit
6e4c72f7bf
@ -1757,6 +1757,27 @@ and the group-wide environment variables. For example::
|
|||||||
|
|
||||||
nsh>
|
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:
|
.. _cmdurldecode:
|
||||||
|
|
||||||
``urldecode`` URL Decode
|
``urldecode`` URL Decode
|
||||||
|
Loading…
Reference in New Issue
Block a user