- Timestamp:
- Dec 2, 2007 12:40:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/main.c
r1303 r1305 307 307 0 = no change; 308 308 1 = idle / max nice; 309 2 = below normal / 309 2 = below normal / nice 10; 310 310 3 = normal / nice 0; 311 311 4 = high / nice -10; 312 4= realtime / nice -19; */312 5 = realtime / nice -19; */ 313 313 int process_priority = 0; 314 314 … … 391 391 N_("\ 392 392 --warn-undefined-variables Warn when an undefined variable is referenced.\n"), 393 #ifdef KMK 394 N_("\ 395 --affinity=mask Sets the CPU affinity on some hosts.\n"), 396 N_("\ 397 --priority=0-5 Sets the process priority / nice level:\n\ 398 0 = no change;\n\ 399 1 = idle / max nice;\n\ 400 2 = below normal / nice 10;\n\ 401 3 = normal / nice 0;\n\ 402 4 = high / nice -10;\n\ 403 5 = realtime / nice -19;\n"), 404 #endif /* KMK */ 405 #ifdef CONFIG_PRETTY_COMMAND_PRINTING 406 N_("\ 407 --pretty-command-printing Makes the command echo easier to read.\n"); 408 #endif 393 409 NULL 394 410 }; … … 430 446 { 'p', flag, &print_data_base_flag, 1, 1, 0, 0, 0, "print-data-base" }, 431 447 #ifdef CONFIG_PRETTY_COMMAND_PRINTING 432 { CHAR_MAX+ 6, flag, (char *) &pretty_command_printing, 1, 1, 1, 0, 0,448 { CHAR_MAX+10, flag, (char *) &pretty_command_printing, 1, 1, 1, 0, 0, 433 449 "pretty-command-printing" }, 434 450 #endif 435 451 #ifdef KMK 436 { CHAR_MAX+ 6, positive_int, (char *) &process_priority, 1, 1, 0,452 { CHAR_MAX+11, positive_int, (char *) &process_priority, 1, 1, 0, 437 453 (char *) &process_priority, (char *) &process_priority, "priority" }, 438 { CHAR_MAX+ 7, positive_int, (char *) &process_affinity, 1, 1, 0,454 { CHAR_MAX+12, positive_int, (char *) &process_affinity, 1, 1, 0, 439 455 (char *) &process_affinity, (char *) &process_affinity, "affinity" }, 440 456 #endif
Note:
See TracChangeset
for help on using the changeset viewer.