From: "Albert D. Cahalan" <acahalan@cs.uml.edu>
To: kpierre@fit.edu (Kervin Pierre)
Cc: linux-kernel@vger.kernel.org
Subject: Re: RFC: /xproc -> /proc files in xml grammer?
Date: Wed, 3 Jan 2001 19:25:42 -0500 (EST) [thread overview]
Message-ID: <200101040025.f040Pg8412936@saturn.cs.uml.edu> (raw)
In-Reply-To: <3A53B08D.F10B96FB@fit.edu> from "Kervin Pierre" at Jan 03, 2001 06:06:53 PM
> Would XML be considered human readable enough for /proc files? If not,
> how about a /xproc filesystem ( maybe as a kernel build option ), same
> as /proc but uses an xml grammer for reporting.
> I can see tons of uses for this, no more 'fuzzy' parsing for gui
> configuration tools, resource monitors, etc.
No.
No XML. No colons. No newlines. No embedded whitespace.
No quoting. No field names. No other screwing around.
Option 1 looks like this: 42 8842 0 4234 898 33 221 2512
Option 2 is a raw array of 64-bit binary data
Anything else, and somebody like you will be tempted to muck with it.
We've seen spelling changes and column alignment break things. We've
seen parsers break on /proc/cpuinfo because someone decided whitespace
and extra columns might be nice. XML wouldn't be immune to the recent
"features" vs. "flags" problem, but the two options above are.
Now, what is your problem? Grab libgtop (GPL) or libproc (LGPL) and
be happy. All of "ps" is in fact under the LGPL, so you can grab
anything else you might need. (LGPL: not just for libraries anymore)
You get libproc and ps here: http://www.cs.uml.edu/~acahalan/procps/
(maybe wait a week or two before you grab that -- new one coming)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-04 0:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-03 23:06 Kervin Pierre
2001-01-03 23:38 ` J . A . Magallon
2001-01-04 0:25 ` Albert D. Cahalan [this message]
2001-01-04 1:06 ` OT " elijah wright
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200101040025.f040Pg8412936@saturn.cs.uml.edu \
--to=acahalan@cs.uml.edu \
--cc=kpierre@fit.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®