Skip to content

Uptime Linux #18469

@237dmitry

Description

@237dmitry

Prerequisites

Steps to reproduce

There is too much difference in the readings of the /usr/bin/uptime and the Get-Uptime cmdlet

 PS > uptime -p
up 2 days, 16 hours, 26 minutes
 
PS > (Get-Uptime).ToString()
1.13:45:12

Expected behavior

Expected equal values

Actual behavior

Different values

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.0-rc.1
PSEdition                      Core
GitCommitId                    7.3.0-rc.1
OS                             Linux 6.0.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 29 Oct 2022 14:08:39 +0000
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

up

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .NET codeResolution-ExternalThe issue is caused by external component(s).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions