Menu

#2377 Updates to sfcb-ps test script

Test
pending
sfcb (1090)
5
2012-03-06
2012-03-06
Dave Heller
No

Some upgrades to "sfcb-ps", the shell script to identify sfcb processes for debugging. The prior version relied on the lsof command and some ps command options which are not present in all embedded environments. The dependencies are removed when the script is run with new '-useproc' option, which tells the script to get the data from /proc filesystem instead. The need for -useproc mode is autodetected so in most cases explicit use of -useproc option is not required.

Also added is better detection of CMPI provider processes which may previously have been identified as Unknown. If the process holds a shared library with a name like *Provider.so, the script will now identify the process by its library name.

Discussion

  • Dave Heller

    Dave Heller - 2012-03-06

    Updates to sfcb-ps script (git patch)

     
  • Dave Heller

    Dave Heller - 2012-03-06

    Pushed to git.

     
  • Dave Heller

    Dave Heller - 2012-03-06
    • status: open --> pending
     

Log in to post a comment.