Project

General

Profile

Actions

Bug #9522

closed

Diagnostics > System Activity shows only the header

Added by Steve Wheeler over 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
05/12/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.x
Affected Architecture:

Description

In current 2.5 snapshots the 'top' output in Diagnostics > System Activity seems truncated.

I see only:

last pid: 33054;  load averages:  0.02,  0.07,  0.08  up 0+01:06:12    12:36:32
120 threads:   3 running, 104 sleeping, 13 waiting
CPU:  0.9% user,  0.1% nice, 14.8% system,  0.0% interrupt, 84.1% idle
Mem: 46M Active, 195M Inact, 552M Wired, 389M Buf, 3107M Free
Swap: 

It also seems to be showing different values to running the command at the CLI at the same time:

[2.5.0-DEVELOPMENT][root@fw321.stevew.lan]/root: top -aSH
last pid: 31065;  load averages:  0.04,  0.07,  0.08                                                                             up 0+01:07:24  12:37:44
122 threads:   3 running, 106 sleeping, 13 waiting
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 50M Active, 196M Inact, 552M Wired, 389M Buf, 3102M Free
Swap: 

  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
   11 root        155 ki31      0    32K CPU1     1  56:59 100.00% [idle{idle: cpu1}]
   11 root        155 ki31      0    32K RUN      0  56:47  99.65% [idle{idle: cpu0}]
26126 root         20    0    13M  3840K CPU0     0   0:00   0.18% top -aSH
    9 root        -16    -      0    16K -        0   0:02   0.04% [rand_harvestq]
   12 root        -60    -      0   208K WAIT     0   0:02   0.04% [intr{swi4: clock (0)}]

Tested against: pfSense-2.5.0.a.20190511.1744

Actions #1

Updated by Jim Pingle over 5 years ago

  • Category changed from Web Interface to Diagnostics
Actions #2

Updated by Jim Pingle over 5 years ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Steve Wheeler over 5 years ago

  • Status changed from Feedback to Resolved

Looks good:

last pid: 71818;  load averages:  0.62,  0.34,  0.27  up 2+01:41:01    16:56:37
116 threads:   3 running, 96 sleeping, 17 waiting
CPU:  0.0% user,  0.1% nice,  0.4% system,  0.0% interrupt, 99.4% idle
Mem: 4280K Active, 392M Inact, 316M Wired, 189M Buf, 1150M Free
Swap: 1527M Total, 1527M Free

  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
   11 root        155 ki31      0    32K CPU0     0  49.4H 100.00% [idle{idle: cpu0}]
   11 root        155 ki31      0    32K RUN      1  49.4H 100.00% [idle{idle: cpu1}]
  443 root         22    0    97M    36M piperd   0   0:02   0.20% php-fpm: pool nginx (php-fpm){php-fpm}
    0 root        -76    -      0   288K -        0   1:57   0.00% [kernel{if_config_tqg_0}]
   21 root        -16    -      0    16K -        1   1:20   0.00% [rand_harvestq]
   12 root        -60    -      0   272K WAIT     1   1:06   0.00% [intr{swi4: clock (0)}]
   18 root        -16    -      0    16K pftm     0   0:57   0.00% [pf purge]
62813 root         52   20    11M  3052K wait     0   0:54   0.00% /bin/sh /var/db/r

Tested in:
2.5.0-DEVELOPMENT (amd64)
built on Sat Aug 31 22:05:07 EDT 2019
FreeBSD 12.0-RELEASE-p9

Actions #5

Updated by Jim Pingle about 5 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #6

Updated by Jim Pingle almost 5 years ago

  • Status changed from Resolved to Feedback

Needs checked and/or tested again on 2.4.5 snapshots

Actions #7

Updated by Jim Pingle almost 5 years ago

  • Status changed from Feedback to Resolved

On 2.4.5, the display shows the large process list and updates as expected.
2.4.5.a.20191217.0637

Actions

Also available in: Atom PDF