[BACK]Return to commands.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/commands.c between version 1.23 and 1.24

version 1.23, 2007/02/06 06:53:13 version 1.24, 2007/02/09 20:57:15
Line 70 
Line 70 
         printf("Top version %s, %s\n", version_string(), copyright);          printf("Top version %s, %s\n", version_string(), copyright);
         puts("These single-character commands are available:\n"          puts("These single-character commands are available:\n"
             "\n"              "\n"
             "^L      - redraw screen\n"              "h | ?    - help; show this text\n"
             "h or ?  - help; show this text\n"              "^L       - redraw screen\n"
             "q       - quit");              "q        - quit");
   
         /* not all commands are available with overstrike terminals */          /* not all commands are available with overstrike terminals */
         if (overstrike) {          if (overstrike) {
Line 81 
Line 81 
                     "sophisticated enough to handle those commands gracefully.\n");                      "sophisticated enough to handle those commands gracefully.\n");
         } else {          } else {
                 puts(                  puts(
                     "+       - remove process filter(s)\n"                      "+        - reset any g, p, or u filters\n"
                     "C       - toggle the display of the command line arguments\n"                      "C        - toggle the display of command line arguments\n"
                     "d       - change number of displays to show\n"                      "d n      - show number `n' displays\n"
                     "e       - list errors generated by last \"kill\" or \"renice\" command\n"                      "e        - list errors generated by last \"kill\" or \"renice\" command\n"
                     "g       - filter on command name (+ selects all commands)\n"                      "g string - filter on command name (g+ selects all commands)\n"
                     "i or I  - toggle the displaying of idle processes\n"                      "I | i    - toggle the display of idle processes\n"
                     "k       - kill processes; send a signal to a list of processes\n"                      "k        - send a signal to a list of processes\n"
                     "n or #  - change number of processes to display\n"                      "n|# n    - show number `n' processes\n"
                     "o       - specify sort order (size, res, cpu, time, pri)\n"                      "o field  - specify sort order (size, res, cpu, time, pri)\n"
                     "p       - display one process (+ selects all processes)\n"                      "p pid    - display process by pid (p+ selects all processes)\n"
                     "r       - renice a process\n"                      "r n pid  - renice process `pid' to nice value `n'\n"
                     "s       - change number of seconds to delay between updates\n"                      "S        - toggle the display of system processes\n"
                     "S       - toggle the display of system processes\n"                      "s n      - change delay between displays to `n' seconds\n"
                     "T       - toggle the display of threads\n"                      "T        - toggle the display of threads\n"
                     "u       - display processes for only one user (+ selects all users)\n"                      "u user   - display processes for `user' (u+ selects all users)\n"
                     "\n");                      "\n");
         }          }
 }  }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24