Deleted Added
full compact
top.c (146342) top.c (157842)
1char *copyright =
2 "Copyright (c) 1984 through 1996, William LeFebvre";
3
4/*
5 * Top users/processes display for Unix
6 * Version 3
7 *
8 * This program may be freely redistributed,
9 * but this entire comment MUST remain intact.
10 *
11 * Copyright (c) 1984, 1989, William LeFebvre, Rice University
12 * Copyright (c) 1989 - 1994, William LeFebvre, Northwestern University
13 * Copyright (c) 1994, 1995, William LeFebvre, Argonne National Laboratory
14 * Copyright (c) 1996, William LeFebvre, Group sys Consulting
15 *
1char *copyright =
2 "Copyright (c) 1984 through 1996, William LeFebvre";
3
4/*
5 * Top users/processes display for Unix
6 * Version 3
7 *
8 * This program may be freely redistributed,
9 * but this entire comment MUST remain intact.
10 *
11 * Copyright (c) 1984, 1989, William LeFebvre, Rice University
12 * Copyright (c) 1989 - 1994, William LeFebvre, Northwestern University
13 * Copyright (c) 1994, 1995, William LeFebvre, Argonne National Laboratory
14 * Copyright (c) 1996, William LeFebvre, Group sys Consulting
15 *
16 * $FreeBSD: head/contrib/top/top.c 146342 2005-05-18 13:30:08Z keramida $
16 * $FreeBSD: head/contrib/top/top.c 157842 2006-04-18 15:26:58Z ru $
17 */
18
19/*
20 * See the file "Changes" for information on version-to-version changes.
21 */
22
23/*
24 * This file contains "main" and other high-level routines.

--- 365 unchanged lines hidden (view full) ---

390 ps.wcpu = !ps.wcpu;
391 break;
392
393 case 'H':
394 ps.thread = !ps.thread;
395 break;
396
397 default:
17 */
18
19/*
20 * See the file "Changes" for information on version-to-version changes.
21 */
22
23/*
24 * This file contains "main" and other high-level routines.

--- 365 unchanged lines hidden (view full) ---

390 ps.wcpu = !ps.wcpu;
391 break;
392
393 case 'H':
394 ps.thread = !ps.thread;
395 break;
396
397 default:
398 fprintf(stderr, "\
399Top version %s\n\
400Usage: %s [-CHISbinqut] [-d x] [-s x] [-o field] [-U username] [number]\n",
398 fprintf(stderr,
399"Top version %s\n"
400"Usage: %s [-bHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time]\n"
401" [-U username] [number]\n",
401 version_string(), myname);
402 exit(1);
403 }
404 }
405
406 /* get count of top processes to display (if any) */
407 if (optind < ac)
408 {

--- 721 unchanged lines hidden ---
402 version_string(), myname);
403 exit(1);
404 }
405 }
406
407 /* get count of top processes to display (if any) */
408 if (optind < ac)
409 {

--- 721 unchanged lines hidden ---