Guest User

Untitled

a guest
Jan 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. ubuntu@ip-10-12-251-11:~$ sudo ionice -c3 -p $(pidof opennms)
  2. ionice: option requires an argument -- 'p'
  3.  
  4. ionice - sets or gets process io scheduling class and priority.
  5.  
  6. Usage:
  7. ionice [OPTION] -p PID [PID...]
  8. ionice [OPTION] COMMAND
  9.  
  10. Options:
  11. -c, --class <class> scheduling class name or number
  12. 0: none, 1: realtime, 2: best-effort, 3: idle
  13. -n, --classdata <num> scheduling class data
  14. 0-7 for realtime and best-effort classes
  15. -p, --pid=PID view or modify already running process
  16. -t, --ignore ignore failures
  17. -V, --version output version information and exit
  18. -h, --help display this help and exit
  19.  
  20. sudo rrenice 19 opennms
  21.  
  22. sudo renice -n 19 -p $(pidof opennms)
  23.  
  24. ionice -c3 -p $(pidof opennms)
Add Comment
Please, Sign In to add comment