sqm-scripts icon indicating copy to clipboard operation
sqm-scripts copied to clipboard

document describing SCRIPTs

Open taggart opened this issue 5 years ago • 1 comments

Because of the /usr/lib/sqm/*.help files, good descriptions for each SCRIPT already exist. Maybe a small script could compile a markdown (and/or manpage) document from the existing help files (and then would automatically update if they changed). Something like:

for name in `ls /usr/lib/sqm/*.qos.help|sort`
do
  basename -s .qos.help $name
  echo ---------------
  fold -s $name
  echo
done

taggart avatar Jan 31 '20 08:01 taggart

Oh and with a introduction explaining things and common variables, etc

taggart avatar Jan 31 '20 09:01 taggart