Project

General

Profile

Feature #2034

Rewrite perl kstat in c

Added by David Höppner about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-01-25
Due date:
% Done:

40%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage


Related issues

Is duplicate of illumos gate - Bug #749: "/usr/bin/kstat" should be rewritten in CResolved2011-02-22

Actions

History

#1

Updated by Alexander Eremin about 7 years ago

This is duplicates of #749, anyway - thanks David, going to test it!

#2

Updated by David Höppner about 7 years ago

Alexander Eremin wrote:

This is duplicates of #749, anyway - thanks David, going to test it!

sorry, i did search the tracker, but did not find this ticket...

it needs usr/src/common/list/list.c to compile:
cc kstat.c list.c -lgen -lkstat

some raw stats are still missing. maybe test it in 2-3 days
should be more complete then. i CANT test it myself on sparc.

thanks, for you feedback!

#3

Updated by Igor Pashev about 7 years ago

David Höppner wrote:

it needs usr/src/common/list/list.c to compile:
cc kstat.c list.c -lgen -lkstat

Is libgen really needed? AFAIK basedir() is in libc.

#4

Updated by David Höppner about 7 years ago

it needs usr/src/common/list/list.c to compile:
cc kstat.c list.c -lgen -lkstat

Is libgen really needed? AFAIK basedir() is in libc.

its for shell like pattern matching with gmatch(). btw perl kstat also supports
perl regex's of the form // not sure if i can drop this feature.

#5

Updated by Igor Pashev about 7 years ago

David Höppner wrote:

it needs usr/src/common/list/list.c to compile:
cc kstat.c list.c -lgen -lkstat

Is libgen really needed? AFAIK basedir() is in libc.

its for shell like pattern matching with gmatch(). btw perl kstat also supports
perl regex's of the form // not sure if i can drop this feature.

doesn't fnmatch() do the same (as gmatch)?
I just think libgen is too old for new programs ;-)

#6

Updated by Garrett D'Amore about 6 years ago

  • Status changed from New to Closed

Closing as dup of 749.

Also available in: Atom PDF