Feature Documentation?

Latest response

Anyone know of any source for exhaustive documentation of the `systool` command. Best I've been able to Google has been blogs that have shown specific use-cases but none that document what all of the valid arguments to the class, module_name or attribute flags are. Any chance we could get RedHat to add a better manpage for the utility (and possibly contribute it back upstream)? Even the sourcecode for the utility's a bit sparse.


Hello Tom,

Most of the information that systool gathers is available by other means and/or directly via the /proc and /sys file systems.

Unfortunately systool depends on libsysfs which is a dead-end and unmaintained for years:


- Do not use libsysfs
  It makes assumptions about sysfs which are not true. Its API does not
  offer any abstraction, it exposes all the kernel driver-core
  implementation details in its own API. Therefore it is not better than
  reading directories and opening the files yourself.
  Also, it is not actively maintained, in the sense of reflecting the
  current kernel development. The goal of providing a stable interface
  to sysfs has failed; it causes more problems than it solves. It
  violates many of the rules in this document.

Last release of sysfsutils was in 2006:

 v. 2.1.0 - August 23, 2006 - Updated Stable Version

Perhaps if you could tell us exactly what sort of data you are looking for we can offer up some alternatives?

What sort of stats did you have in mind?



Our primary use-case is in diagnosing storage-related issues (particulary SAN diagnostics). RedHat (Linux in general, really) lacks a lot of the storage-  related tools that I just came to take for granted in commercial OSes like Solaris, AIX and even IRIX. While Linux has taken great strides in supporting desktop user cases, the enterprise use-cases - particularly dynamic reconfiguration and good diagnostic interfaces has been lacking. Systool was at least relatively useful as a diagnostic tool (without having to resort to writing tools/scripts to read and parse /proc and other kernel structures).