Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1189

afm-util killall instance(s) by name

XMLWordPrintable

      As an application developer, it costs a lot of time to

      1. check rid with afm-util ps
      2. kill the process with afm-util kill rid

      So I would like afm-util to allow kill running instance(s) by id. e.g.

      $ afm-util killall mediaplayer@0.1
      $ afm-util pkill mediaplayer@0.1

      Then, we can make the workflow much easier with e.g. a script like below

      app_name=$1
      app_version=$2
      
      afm-util killall $app_name@$app_version
      afm-util rm $app_name@$app_version
      afm-util add $app_name-$app_version.wgt
      afm-util run $app_name@$app_version

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            tasuku Tasuku Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: