Skip to content

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

Closed

Description

@bcremer

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.

Activity

  1. added a commit that references this issue on May 12, 2024
    5b6cda6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions