chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
136 stars 63 forks source link

shrink the name of process #186

Closed YangKeao closed 2 years ago

YangKeao commented 2 years ago

The chaosd compared the specified process name with comm. However, the comm is limited to 16 length. If you have a process with longer name (e.g. "telegram-desktop"), it will be cutted into "telegram-deskto", which is unexpected by the users.

We could cut the process name arguments for the users, and compare the cutted argument with comm. However, it may cause unexpected affect (killing process with other name).