CoreCli.UpInfo
2.0.2
dotnet tool install --global CoreCli.UpInfo --version 2.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local CoreCli.UpInfo --version 2.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CoreCli.UpInfo&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CoreCli.UpInfo --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
upinfo
Show system uptime, boot time, and current time using .NET's platform-independent uptime counter.
Usage: upinfo [options]
Options:
-b, --boot-only Print the boot time only. (--bootOnly is also accepted.)
-u, --up-only Print the uptime only. (--upOnly is also accepted.)
-d, --date-format Set a .NET date format. Default: dd.MM.yyyy (HH:mm)
-t, --uptime-format Set a custom .NET TimeSpan format.
-c, --compact Print the uptime in compact form.
--utc Print times in Coordinated Universal Time.
-v, --version Show version information.
-?, -h, --help Show help and usage information.
Examples:
upinfo
upinfo --up-only --compact
upinfo --boot-only --utc --date-format "yyyy-MM-dd HH:mm:ss"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.