Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show decimal number instead of scientific notation in systemd status (health report notification) #14175

Closed
bcremer opened this issue May 8, 2024 · 0 comments

Comments

@bcremer
Copy link
Contributor

bcremer commented May 8, 2024

Description

Output of systemctl status php8.3-fpm.service

● php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager
     Loaded: loaded (/lib/systemd/system/php8.3-fpm.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-05-07 13:12:21 CEST; 21h ago
   Main PID: 1376 (php-fpm8.3)
     Status: "Processes active: 2712, idle: 0, Requests: 19301450, slow: 0, Traffic: 5.87e+03req/sec"
      Tasks: 1501 (limit: 9830)
     Memory: 11.0G

Using scientific notation for Traffic: 5.87e+03req/sec is not useful here. Expected values are between 0 and 10000ish.

The output should be formatted as decimal Traffic: 5870 req/sec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant