Project

General

Profile

Bug #749

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

Added by Alexander Eremin about 8 years ago. Updated about 6 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:

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 cClosed2012-01-25

Actions

History

#1

Updated by Gary Mills over 6 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.

#2

Updated by Albert Lee about 6 years ago

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

Updated by Garrett D'Amore about 6 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;

Also available in: Atom PDF