[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.24 and 1.25

version 1.24, 2007/02/09 20:57:15 version 1.25, 2007/02/09 21:15:18
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"
             "h | ?    - help; show this text\n"              "h | ?        - help; show this text\n"
             "^L       - redraw screen\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(
                     "+        - reset any g, p, or u filters\n"                      "+            - reset any g, p, or u filters\n"
                     "C        - toggle the display of command line arguments\n"                      "C            - toggle the display of command line arguments\n"
                     "d n      - show number `n' displays\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 string - filter on command name (g+ selects all commands)\n"                      "g string     - filter on command name (g+ selects all commands)\n"
                     "I | i    - toggle the display of idle processes\n"                      "I | i        - toggle the display of idle processes\n"
                     "k        - send a signal to a list of processes\n"                      "k [-sig] pid - send signal `-sig' to process `pid'\n"
                     "n|# n    - show number `n' processes\n"                      "n|# n        - show number `n' processes\n"
                     "o field  - specify sort order (size, res, cpu, time, pri)\n"                      "o field      - specify sort order (size, res, cpu, time, pri)\n"
                     "p pid    - display process by pid (p+ selects all processes)\n"                      "p pid        - display process by `pid' (p+ selects all processes)\n"
                     "r n pid  - renice process `pid' to nice value `n'\n"                      "r n pid      - renice process `pid' to nice value `n'\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"                      "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 user   - display processes for `user' (u+ selects all users)\n"                      "u user       - display processes for `user' (u+ selects all users)\n"
                     "\n");                      "\n");
         }          }
 }  }

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