I'm just looking at the tutorials for
top command and came to know that the refresh interval can be overridden by hitting lower case
s on the keyboard while the
top command is displaying information.
The default value for refresh interval was
3 seconds. I was able to override the refresh interval to different value.
However, when I quit and come back and try the
top command again, it is refreshing the processes information again for every
3 seconds and not with the interval that I've set earlier.
I was looking for a way to configure this interval permanently. I've looked at some articles where in they mentioned to use the
toprc file in
/etc directory for this configuration.
But it doesn't seem like I have any such file in
/etc or my home directory.
How do I set the refresh interval for