Linked by Howard Fosdick on Mon 24th Jun 2013 03:00 UTC
Linux I volunteer as tech support for a small organization. For years we relied on Ubuntu on our desktops, but the users didn't like it when Ubuntu switched to the Unity interface. This article tells about our search for a replacement and why we decided on Xfce running atop Linux Mint.
Thread beginning with comment 565412
To read all comments associated with this story, please click here.
restart isn't needed
by sergio on Mon 24th Jun 2013 04:12 UTC
sergio
Member since:
2005-07-06

for changing swappiness on the fly as root:

echo "20" > /proc/sys/vm/swappiness

Sys.vm kernel variables are totally dynamic.

Reply Score: 8

RE: restart isn't needed
by moondevil on Mon 24th Jun 2013 06:20 in reply to "restart isn't needed"
moondevil Member since:
2005-07-08

As user friendly as it gets.

Reply Parent Score: 2

RE[2]: restart isn't needed
by Laurence on Mon 24th Jun 2013 06:33 in reply to "RE: restart isn't needed"
Laurence Member since:
2007-03-26

As user friendly as it gets.

Of course it's not user friendly, it's a kernel variable! Changing such low level settings shouldn't be user friendly as they're very dangerous if you get them wrong and should only be adjusted by people who know what they're doing (or at the very least, understand the risks of tinkering with them).

Reply Parent Score: 12

RE[2]: restart isn't needed
by UltraZelda64 on Mon 24th Jun 2013 08:12 in reply to "RE: restart isn't needed"
UltraZelda64 Member since:
2006-12-05

You really think the average user should be provided easy access to giving direct commands to the kernel? I think not. Just be thankful it's even there in the first place for advanced who actually know what the hell they're doing. The vast majority of people don't even know what "swappiness" is (and probably never will, let alone ever hear the word).

Reply Parent Score: 5

RE[2]: restart isn't needed
by Bishi on Mon 24th Jun 2013 10:03 in reply to "RE: restart isn't needed"
Bishi Member since:
2009-08-27

It's an admin setting. And it is as admin friendly as it gets, indeed.

Reply Parent Score: 4

RE: restart isn't needed
by phoenix on Mon 24th Jun 2013 18:14 in reply to "restart isn't needed"
phoenix Member since:
2005-07-11

If you are editing /etc/sysctl.conf, then there's no need to reboot or muck around in /proc filesystem. Just run the /etc/init.d/procps script manually, or via "service procps restart".

That reads /etc/sysctl.conf and sets the values listed in there.

You may also want to install the sysfs package. That allows you to use /etc/sysfs.conf to set values under /sys the same way /etc/sysctl.conf lets you set values under /proc. Mainly useful for tweaking the storage stack.

Reply Parent Score: 3