Feature #2034
closedRewrite perl kstat in c
40%
Related issues
Updated by Alexander Eremin over 11 years ago
This is duplicates of #749, anyway - thanks David, going to test it!
Updated by David Höppner over 11 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!
Updated by Igor Pashev over 11 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.
Updated by David Höppner over 11 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.
Updated by Igor Pashev over 11 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 ;-)
Updated by Garrett D'Amore over 10 years ago
- Status changed from New to Closed
Closing as dup of 749.