What configuration should be changed to add support for "nice" command in kernel

Hi,
I have BuildRoot linux (4.14.78), which I build by myself.

As a reference there is Debian binary (5.xx) downloaded from your site.

Just reminder that we have IMX8M Plus SoM on HummingBoard board.

The issue that I have is that looks like “nice” command and nice() function don’t work.

Also when I checking the “top” command, I can’t see the “NI” column, which represents the USER NICE priority scheduling.

If you check debian “top” command (screenshots attached) this column exist.

As far as I know the “NICE” priority should be supported in all kernels 4.xx.

Question:

Do you know what configuration should be changed to add support for “nice” command in kernel

Regards,
Jeffery

Hi Jeffery,

You can add the HTOP command in Buildroot (it’s should support the NI Value)
you can add " BR2_PACKAGE_HTOP=y" in the Buildroot .config file
HTOP output example in Buildroot:
image.png

Best Regards,
Yazan.

1 Like