projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bell 32V development
[unix-history]
/
usr
/
src
/
cmd
/
sa.c
diff --git
a/usr/src/cmd/sa.c
b/usr/src/cmd/sa.c
index
a24e40c
..
e1f2c97
100644
(file)
--- a/
usr/src/cmd/sa.c
+++ b/
usr/src/cmd/sa.c
@@
-206,7
+206,7
@@
char **argv;
if (tab[i].name[0]) {
ft = tab[i].count;
column(ft, tab[i].realt, tab[i].cput, tab[i].syst);
if (tab[i].name[0]) {
ft = tab[i].count;
column(ft, tab[i].realt, tab[i].cput, tab[i].syst);
- printf(" %.1
0
s\n", tab[i].name);
+ printf(" %.1
4
s\n", tab[i].name);
}
}
}
}
@@
-308,7
+308,7
@@
char *f;
}
x = expand(fbuf.ac_utime) + expand(fbuf.ac_stime);
if (uflg) {
}
x = expand(fbuf.ac_utime) + expand(fbuf.ac_stime);
if (uflg) {
- printf("%3d%6.1f %.1
0
s\n", fbuf.ac_uid&0377, x/60.0,
+ printf("%3d%6.1f %.1
4
s\n", fbuf.ac_uid&0377, x/60.0,
fbuf.ac_comm);
continue;
}
fbuf.ac_comm);
continue;
}
@@
-457,7
+457,7
@@
strip()
j = enter("**junk**");
for (i = 0; i<size; i++) {
if (tab[i].name[0] && tab[i].count<=thres) {
j = enter("**junk**");
for (i = 0; i<size; i++) {
if (tab[i].name[0] && tab[i].count<=thres) {
- printf("%.1
0
s--", tab[i].name);
+ printf("%.1
4
s--", tab[i].name);
if ((c=getchar())=='y') {
tab[i].name[0] = '\0';
tab[j].count += tab[i].count;
if ((c=getchar())=='y') {
tab[i].name[0] = '\0';
tab[j].count += tab[i].count;