Re: Problem with chrt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 26, 2010 at 12:33 PM, JD <jd1008@xxxxxxxxx> wrote:
>  I am trying to run a command in realtime mode just to see
> if it behaves any different as far as timings are concerned.
>
> Man page says:
>
> chrt - manipulate real-time attributes of a process
>
> chrt [options] prio command [arg]...
> chrt [options] -p [prio] pid
>
> So, I tried the first example instance above:
>
> $ sudo chrt 0 ./freq -s120 -u0 -r
> chrt: failed to set pid 0's policy: Invalid argument
>
> Soo I tried:
>
> $ sudo chrt ./freq -s120 -u0 -r # i.e. no value for priority
> chrt: failed to set pid 0's policy: Invalid argument

You probably have to enclose "./freq..." in single or double quotes.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux