more info
This commit is contained in:
parent
339c4b1640
commit
9a8c76df14
|
@ -15,9 +15,9 @@ int main(int argc, char **argv) {
|
||||||
if (strncmp(kp->ks_name, "kstat_", 6) == 0) {
|
if (strncmp(kp->ks_name, "kstat_", 6) == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fprintf(stdout, "%-5s %s\n",
|
fprintf(stdout, "%-5s %s.%s[%d]\n",
|
||||||
kstat_type_names[kp->ks_type],
|
kstat_type_names[kp->ks_type],
|
||||||
kp->ks_name);
|
kp->ks_module, kp->ks_name, kp->ks_instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
kstat_close(kc);
|
kstat_close(kc);
|
||||||
|
|
Loading…
Reference in New Issue