main.c (67642) | main.c (72091) |
---|---|
1/* 2 * Copyright (c) 1994 Christopher G. Demetriou 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31#ifndef lint 32static const char copyright[] = 33"@(#) Copyright (c) 1994 Christopher G. Demetriou\n\ 34 All rights reserved.\n"; 35#endif 36 37#ifndef lint 38static const char rcsid[] = | 1/* 2 * Copyright (c) 1994 Christopher G. Demetriou 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31#ifndef lint 32static const char copyright[] = 33"@(#) Copyright (c) 1994 Christopher G. Demetriou\n\ 34 All rights reserved.\n"; 35#endif 36 37#ifndef lint 38static const char rcsid[] = |
39 "$FreeBSD: head/usr.sbin/sa/main.c 67642 2000-10-26 17:35:46Z gallatin $"; | 39 "$FreeBSD: head/usr.sbin/sa/main.c 72091 2001-02-06 11:21:58Z asmodai $"; |
40#endif /* not lint */ 41 42/* 43 * sa: system accounting 44 */ 45 46#include <sys/types.h> 47#include <sys/acct.h> --- 81 unchanged lines hidden (view full) --- 129 sa_cmp = cmp_avgcpumem; 130 break; 131 case 'K': 132 /* print and sort by cpu-storage integral */ 133 sa_cmp = cmp_cpumem; 134 Kflag = 1; 135 break; 136 case 'l': | 40#endif /* not lint */ 41 42/* 43 * sa: system accounting 44 */ 45 46#include <sys/types.h> 47#include <sys/acct.h> --- 81 unchanged lines hidden (view full) --- 129 sa_cmp = cmp_avgcpumem; 130 break; 131 case 'K': 132 /* print and sort by cpu-storage integral */ 133 sa_cmp = cmp_cpumem; 134 Kflag = 1; 135 break; 136 case 'l': |
137 /* seperate system and user time */ | 137 /* separate system and user time */ |
138 lflag = 1; 139 break; 140 case 'm': 141 /* print procs and time per-user */ 142 mflag = 1; 143 break; 144 case 'n': 145 /* sort by number of calls */ --- 408 unchanged lines hidden --- | 138 lflag = 1; 139 break; 140 case 'm': 141 /* print procs and time per-user */ 142 mflag = 1; 143 break; 144 case 'n': 145 /* sort by number of calls */ --- 408 unchanged lines hidden --- |