bin/101975: [PATCH] Adding percents in
/usr/src/usr.bin/systat/pigs.c
Roberto Lima
roberto at forbrazil.com.br
Sun Aug 13 16:20:15 UTC 2006
>Number: 101975
>Category: bin
>Synopsis: [PATCH] Adding percents in /usr/src/usr.bin/systat/pigs.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 13 16:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Roberto Lima
>Release: FreeBSD 6.1-STABLE
>Organization:
ForBrazil
>Environment:
FreeBSD bsd.forbr.com.br 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jun 27 17:20:15 BRT 2006 root at bsd.forbr.com.br:/usr/src/sys/i386/compile/ForBrazil i386
>Description:
I see that systat -pigs don't shows percents in /0 ... /100, so I make this patch.
>How-To-Repeat:
# systat -pigs
/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100
root idle: cpu0 XXXXXXXXXXXXXXX
>Fix:
--- /usr/src/usr.bin/systat/pigs.c.old Fri Jun 2 10:40:01 2006
+++ /usr/src/usr.bin/systat/pigs.c Sun Aug 13 13:01:26 2006
@@ -236,7 +236,7 @@
wmove(wnd, 0, 0);
wclrtoeol(wnd);
mvwaddstr(wnd, 0, 20,
- "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
+ "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100%");
}
int
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list