2 * Copyright 1998-2004 by Albert Cahalan; all rights reserved.
3 * This file may be used subject to the terms and conditions of the
4 * GNU Library General Public License Version 2, or any later version
5 * at your option, as published by the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU Library General Public License for more details.
13 * The help message must not become longer, because it must fit
14 * on an 80x24 screen _with_ the error message and command prompt.
17 const char *help_message =
18 "********* simple selection ********* ********* selection by list *********\n"
19 "-A all processes -C by command name\n"
20 "-N negate selection -G by real group ID (supports names)\n"
21 "-a all w/ tty except session leaders -U by real user ID (supports names)\n"
22 "-d all except session leaders -g by session OR by effective group name\n"
23 "-e all processes -p by process ID\n"
24 "T all processes on this terminal -s processes in the sessions given\n"
25 "a all w/ tty, including other users -t by tty\n"
26 "g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)\n"
27 "r only running processes U processes for specified users\n"
28 "x processes w/o controlling ttys t by tty\n"
29 "*********** output format ********** *********** long options ***********\n"
30 "-o,o user-defined -f full --Group --User --pid --cols --ppid\n"
31 "-j,j job control s signal --group --user --sid --rows --info\n"
32 "-O,O preloaded -o v virtual memory --cumulative --format --deselect\n"
33 "-l,l long u user-oriented --sort --tty --forest --version\n"
34 "-F extra full X registers --heading --no-heading --context\n"
35 " ********* misc options *********\n"
36 "-V,V show version L list format codes f ASCII art forest\n"
37 "-m,m,-L,-T,H threads S children in sum -y change -l format\n"
38 "-M,Z security data c true command name -c scheduling class\n"
39 "-w,w wide output n numeric WCHAN,UID -H process hierarchy\n"