Reduce the size of the process name is ps-graph.
This commit is contained in:
parent
ad024897be
commit
8041a208b5
|
@ -210,6 +210,7 @@ function ps2gv {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gsub(/^\/.*\//, "", comm)
|
gsub(/^\/.*\//, "", comm)
|
||||||
|
gsub(/.*\./, "", comm)
|
||||||
|
|
||||||
colortxt = ""
|
colortxt = ""
|
||||||
if (comm2color[comm] != "") {
|
if (comm2color[comm] != "") {
|
||||||
|
|
Loading…
Reference in a new issue