Community Forums
Results 1 to 2 of 2

Thread: Feature request: lmstat -json|-csv|-xml

  1. #1
    Join Date
    Aug 2014

    Feature request: lmstat -json|-csv|-xml

    You’ve got attributes that you keep track of (username, checkout time, feature name, version, host, etc..). By default, if you invoked say “lmstat –a –csv” it would simply output all attributes with a header describing the attribute names:

    rlmstat –a –csv
    username, checkout time, feature name, version, host, etc
    dmagill, 00:00:01, super_feature, 2017.12, client1, etc
    mattc, 15:04:05, super_feature1, 2013.1, client2, etc

    JSON and XML are self-documenting. I would imagine if you actually polled people they would prefer JSON because it is more compact, but I definitely think a CSV output would be appealing to many.

    It would also be nice to either be able to enumerate only the fields you want via command line or provide an input file that lists the fields you want.

    The main goal of this output is to provide a format-invariant, easily machine parsable version of usage which could feed some form of database or analytic engine.

  2. #2
    Join Date
    Mar 2018

    me, too!

    Yes, "lmstat --csv" would really be appreciated. Or --json/--xml.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts