How to Change I/O Scheduler in Linux

I/O Scheduler in Linux

I/O Scheduler in Linux is a process of accessing the block I/O from storage volumes. I/O scheduling is sometimes called disk scheduling.

There are following I/O Scheduler present on Linux:

  1. noop – is often the best choice for memory-backed block devices
  2. cfq – A fairness-oriented scheduler. It tries to maintain system-wide fairness of I/O bandwidth.
  3. Deadline – A latency-oriented I/O scheduler. Each I/O request has got a deadline assigned.
  4. Anticipatory – conceptually similar to deadline, but with more heuristics to improve performance.

read more

how to change the linux login banner

How to change the ssh banner for the linux system.

Adding customized  Linux login banner on the Linux system adds protection on the legal front & also it acts as the warning information to the user. This banner is shown to the user before the user logged into the system/OS. Since by default system does not show any kind of messages to user we need to change this as per the legal policy of the organization.

So here the way we can change it.

1. Add the following line of directive in the file sshd config file “/etc/sshd/sshd_config”

banner /etc/issue.net

The above line defines the customized pre-login banner file “/etc/issue.net”.

2. Now the next step is create the customized banner in the “/etc/issue.net” file as per your organization policy. As an example I have taken below one:

[[email protected] etc]# cat /etc/issue.net ################################################################ # # # Hello , This is UXtechno's Property.

read more