Project

General

Profile

Actions

Bug #749

closed

"/usr/bin/kstat" should be rewritten in C

Added by Alexander Eremin over 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2011-02-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

"/usr/bin/kstat" should be rewritten in C to remove perl dependency.


Related issues

Has duplicate illumos gate - Feature #2034: Rewrite perl kstat in cClosedDavid Höppner2012-01-25

Actions
Actions #1

Updated by Gary Mills over 10 years ago

  • Status changed from New to Feedback
  • Difficulty set to Medium
  • Tags set to needs-triage

My first attempt to compile David Höppner's kstat on a SPARC system had this result:

In file included from kstat.c:62:
kstat.h:41:26: vm/hat_sfmmu.h: No such file or directory
kstat.h:42:26: sys/simmstat.h: No such file or directory
kstat.h:43:25: sys/sysctrl.h: No such file or directory
kstat.h:44:21: sys/fhc.h: No such file or directory

The missing header files are present under usr/src/uts but are not available to the compiler. I don't know why that is.

Actions #2

Updated by Albert Lee over 10 years ago

  • Subject changed from "/usr/bin/kstat" should be rewritten in C to "/usr/bin/kstat" should be rewritten in C
Actions #3

Updated by Garrett D'Amore over 10 years ago

  • Category set to cmd - userland programs
  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

commit 66448911ac89c254e89afc52e114402115a497e3
Author: David Höppner <>
Date: Wed Jan 9 12:18:53 2013 +0000

749 "/usr/bin/kstat" should be rewritten in C
Reviewed by: Garrett D'Amore &lt;&gt;
Reviewed by: Brendan Gregg &lt;&gt;
Approved by: Garrett D'Amore &lt;&gt;
Actions

Also available in: Atom PDF