Project

General

Profile

Actions

Bug #6831

closed

zone_misc kstat has null elements

Added by Robert Mustacchi over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zones
Start date:
2016-03-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The zone_misc kstat has null elements in it. These actually are unused entries in the zone_misc kstat that are never initialized or used. See the following example output:

module: zones                           instance: 1     
name:   ub64                            class:    zone_misc

        avenrun_15min                   0
        avenrun_1min                    0
        avenrun_5min                    0
        boot_time                       1422454718
        crtime                          579698.145678789
        forkfail_cap                    0
        forkfail_misc                   0
        forkfail_nomem                  0
        forkfail_noproc                 0
        init_pid                        103559
        nsec_sys                        4226823993
        nsec_user                       3096676405
        nsec_waitrq                     17828332325
        snaptime                        580730.192245471
        zonename                        ub64

The simplest thing to do here is just remove them since they're unused.

Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from New to Closed

git commit 041a59b7577dfac9692f81b19f46254bbb961244

commit  041a59b7577dfac9692f81b19f46254bbb961244
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2016-04-05T23:09:07.000Z

    6831 zone_misc kstat has null elements
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF