š„® mooncakes.io
Modules
Skills
CLI
Build queue
Switch page
Modules
Skills
CLI
Build queue
Search
Sign in
0.1.0 (latest)
0.1.0 (latest)
Expand all
Collapse all
README
cli
/
uptime
Find API in this module
/
Collapse all documentation
uptime
Print elapsed Linux system uptime.
command-line
moonx
wasm
moon add cli/uptime@0.1.0
Download zip
Author
cli
Version
0.1.0
License
Apache-2.0
Repository
github.com/moonbit-community/cmd
Last updated
13 hours ago
Downloads
9
Dependencies (1)
cli/core
0.11.10
Dependents (0)
No dependents
#
uptime
Print elapsed Linux system uptime.
#
Usage
moonx cli/uptime -p
#
Common options
Option
Description
-p
,
--pretty
Show elapsed uptime in words.
--help
Show help.
--version
Show the version.
#
Notes
Reads the first value of /proc/uptime, including suspend time. Calendar boot time, load averages and logged-in user counts are outside this profile.
See the
compatibility guide
for the supported profile.
Source Files
main.mbt
Install
moon add cli/uptime@0.1.0
Download zip
Print elapsed Linux system uptime.
command-line
moonx
wasm
cli
Apache-2.0
github.com/moonbit-community/cmd
Updated 13 hours ago
9 downloads
Dependencies (1)
cli/core
0.11.10
Dependents (0)
No dependents