[dtrace-discuss] printa, IP addresses, and columnar output?
Dan McDonald
danmcd at sun.com
Tue Dec 4 16:10:05 PST 2007
On Tue, Dec 04, 2007 at 03:46:50PM -0800, Dan Price wrote:
<SNIP!>
> Unfortunately, there is no sprintf, I presume because printf processing happens
> up in userland. So I was wondering if there's a best practice here, or some
> other obvious way to cope with this problem?
Pity most of the format characters are taken. A format character for %A4 for
IPv4 or %A6 for IPv6 would work very well here. ('A' would obviously need to
be replaced.)
Dan
More information about the dtrace-discuss
mailing list