X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=i_s%2Fpl_by_user.go;fp=i_s%2Fpl_by_user.go;h=009841706db73acc344bca58b5f1ebc27f86b7a9;hb=82e5c373c3518ddee57284572ea52e75a69dbffa;hp=78ddc2a778af77ded9ed811e13ff2cbf049f06cb;hpb=19895ca8d31deea9680395e11e889d4b32a58bd4;p=pstop.git diff --git a/i_s/pl_by_user.go b/i_s/pl_by_user.go index 78ddc2a..0098417 100644 --- a/i_s/pl_by_user.go +++ b/i_s/pl_by_user.go @@ -38,13 +38,13 @@ type pl_by_user_row struct { type pl_by_user_rows []pl_by_user_row /* -username |Run Time %age|Sleep |Conn Actv|Hosts DBs|Sel Ins Upd Del Oth| -xxxxxxxxxxxxxx|hh:mm:ss 100.0%|hh:mm:ss|9999 9999|9999 999|999 999 999 999 999| +username |Run Time %age|Sleeping %|Conn Actv|Hosts DBs|Sel Ins Upd Del Oth| +xxxxxxxxxxxxxx|hh:mm:ss 100.0%|hh:mm:ss 100.0%|9999 9999|9999 999|999 999 999 999 999| */ func (r *pl_by_user_row) headings() string { - return fmt.Sprintf("%-14s|%8s %6s|%8s %6s|%4s %4s|%5s %3s|%3s %3s %3s %3s %3s|", - "User", "Run Time", "%", "Sleep", "%", "Conn", "Actv", "Hosts", "DBs", "Sel", "Ins", "Upd", "Del", "Oth") + return fmt.Sprintf("%-14s|%-8s %6s|%-8s %6s|%4s %4s|%5s %3s|%3s %3s %3s %3s %3s|", + "User", "Run Time", "%", "Sleeping", "%", "Conn", "Actv", "Hosts", "DBs", "Sel", "Ins", "Upd", "Del", "Oth") } // generate a printable result