procps/ps/help.c

52 lines
2.3 KiB
C
Raw Normal View History

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