Reduce the size of the process name is ps-graph.

This commit is contained in:
Scott Wallace 2016-03-17 20:01:45 +00:00
parent ad024897be
commit 8041a208b5

View file

@ -210,6 +210,7 @@ function ps2gv {
} }
} }
gsub(/^\/.*\//, "", comm) gsub(/^\/.*\//, "", comm)
gsub(/.*\./, "", comm)
colortxt = "" colortxt = ""
if (comm2color[comm] != "") { if (comm2color[comm] != "") {