Files
awoooi/scripts/reboot-recovery/post-start-smoke-process-classifier.awk

22 lines
376 B
Awk

BEGIN {
IGNORECASE = 1
}
NR == 1 {
next
}
{
comm = $7
if (comm ~ /^(git|gitea|grep|awk|bash|sh)$/) {
next
}
if (comm ~ /^(chrome|chromium|chromium-browser)$/) {
print
next
}
if ($0 ~ /(stockplatform.*smoke|review-bulk|product-ux|(^|[[:space:]])playwright([[:space:]]|$)|npx[[:space:]].*playwright|node[[:space:]].*playwright)/) {
print
}
}