Skip to content

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

Closed
@bcremer

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.

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