Title: Uptime Linux · Issue #18469 · PowerShell/PowerShell · GitHub
Open Graph Title: Uptime Linux · Issue #18469 · PowerShell/PowerShell
X Title: Uptime Linux · Issue #18469 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/18469
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uptime Linux","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nThere is too much difference in the readings of the `/usr/bin/uptime` and the `Get-Uptime` cmdlet\r\n\r\n```powershell\r\n PS \u003e uptime -p\r\nup 2 days, 16 hours, 26 minutes\r\n \r\nPS \u003e (Get-Uptime).ToString()\r\n1.13:45:12\r\n```\r\n\r\n### Expected behavior\r\n\r\n```console\r\nExpected equal values\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nDifferent values\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 7.3.0-rc.1\r\nPSEdition Core\r\nGitCommitId 7.3.0-rc.1\r\nOS Linux 6.0.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 29 Oct 2022 14:08:39 +0000\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\n```\r\n\r\n### Visuals\r\n\r\n\r\n","author":{"url":"https://github.com/237dmitry","@type":"Person","name":"237dmitry"},"datePublished":"2022-11-04T23:55:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/18469/PowerShell/issues/18469"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2cd744b8-2f65-90fa-0473-7006005f610e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5A4:4F8A:14D76BA:1C4347A:6A4EF326 |
| html-safe-nonce | 622fe5edef90a2acc50c5a8aafee8b3dc034eafb9a8a04314d6a98798204d1e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUE0OjRGOEE6MTRENzZCQToxQzQzNDdBOjZBNEVGMzI2IiwidmlzaXRvcl9pZCI6IjkxOTY0ODYxNDQ2NjA3OTYxOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cd7d5ee23870fc199ecd696eeb069e0dadb99a9663696ca04f1c2043a99bb5b5 |
| hovercard-subject-tag | issue:1436736315 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/18469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e92cff1294b3d09086d33b03ff046cde15d0132e9deafc7c0f3edcf763777a1/PowerShell/PowerShell/issues/18469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e92cff1294b3d09086d33b03ff046cde15d0132e9deafc7c0f3edcf763777a1/PowerShell/PowerShell/issues/18469 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 237dmitry |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width