pstat.c (7e8409a7a97e9064b922827a6197085fc6b839a5) | pstat.c (ae35e8ad884a219fc35479c6b9321c0f3447c3e8) |
---|---|
1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 111 unchanged lines hidden (view full) --- 120 opts++; 121 else 122 opts = argv[0]; 123 if (!strcmp(opts, "swapinfo")) { 124 swapflag = 1; 125 opts = "ghkmM:N:"; 126 usagestr = "swapinfo [-ghkm] [-M core [-N system]]"; 127 } else { | 1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 111 unchanged lines hidden (view full) --- 120 opts++; 121 else 122 opts = argv[0]; 123 if (!strcmp(opts, "swapinfo")) { 124 swapflag = 1; 125 opts = "ghkmM:N:"; 126 usagestr = "swapinfo [-ghkm] [-M core [-N system]]"; 127 } else { |
128 opts = "TM:N:hfknst"; 129 usagestr = "pstat [-Tfhknst] [-M core [-N system]]"; | 128 opts = "TM:N:fghkmnst"; 129 usagestr = "pstat [-Tfghkmnst] [-M core [-N system]]"; |
130 } 131 132 while ((ch = getopt(argc, argv, opts)) != -1) 133 switch (ch) { 134 case 'f': 135 fileflag = 1; 136 break; 137 case 'g': --- 478 unchanged lines hidden --- | 130 } 131 132 while ((ch = getopt(argc, argv, opts)) != -1) 133 switch (ch) { 134 case 'f': 135 fileflag = 1; 136 break; 137 case 'g': --- 478 unchanged lines hidden --- |