sysctl returning XML

Ivan Voras ivoras at freebsd.org
Sat Mar 21 15:16:48 PDT 2009


Cipta H wrote:
> Hello all,
> 
> I'm interested in parsing sysctl output into a program. Now I've heard
> from here a while ago that some sysctl OIDs can return data in XML
> format, but so far I have only found one example, kern.geom.confxml.
> Are there any others that anyone happens to know about, especially in
> networking? Thanks.

No, not in networking. XML is returned mostly in new sysctls (i.e. for
subsystems that are relatively new, recently written). In 8-CURRENT
there's kern.sched.topology_spec .

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090321/08258a2d/signature.pgp


More information about the freebsd-hackers mailing list