I'm trying to run ./a.out, but monitored (using mon) and nice'd to highest priority.
Here are the commands separately:
nice -n -20 /home/pi/a.out //works fine
mon /home/pi/a.out //works fine
mon nice -n -20 /home/pi/a.out //doesn't work!
I get an "unrecognized flag -n" error...
How to do this?
Many thanks in advance,
monconsiders-nas it's own option. I haven't worked with mon, but try putting the command after mon in''– hpn Feb 22 at 10:35nice -n -20 mon /home/pi/a.out. In case it isn’t obvious, this differs in effect from what you are trying in that this command will run themonprogram at high priority (in addition to youra.out), whereas your command runsmonat default priority, while elevatinga.out. – Scott Feb 22 at 22:46