afm-util killall instance(s) by name

Description

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

Environment

None

Activity

Show:

Walt Miner 
July 2, 2018 at 12:02 AM

Close for FF RC1

Walt Miner 
March 26, 2018 at 3:39 PM

Which fix in gerrit?

jose bollo 
March 22, 2018 at 1:38 PM

merged in master

jose bollo 
January 23, 2018 at 4:25 PM

I integrated the change in the sources.

Will land soon in the distro.

Tasuku Suzuki 
December 14, 2017 at 8:10 AM

I 100% agree with you.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Priority

Created December 14, 2017 at 2:46 AM
Updated July 2, 2018 at 12:02 AM
Resolved March 22, 2018 at 1:38 PM

Flag notifications