DragonFly kernel List (threaded) for 2009-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: ps -o comm
:(Note that after I did this I looked at FreeBSD ps and see they just use
:its ucomm() with "COMMAND" header for "comm", but that is not right as
:that isn't argv[0], I think.)
:
:How can I get just argv[0] from kvm to improve following patch?
You should be able to figure this out from the kvm_getargv() code.
It isn't the first string that the ps code loads into ki->ki_args ?
-Matt
- References:
- ps -o comm
- From: "Jeremy C. Reed" <reed@reedmedia.net>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]