Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sysfs]

The tag has no usage guidance.

1
vote
0answers
265 views

how do I make “/sys/kernel/mm/transparent_hugepage/defrag” never status to close the THP warning

reboot the linux (ubuntu 16.04 redis 4.011) /var/log/redis.log shows # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage ...
0
votes
1answer
111 views

16.04 How do I stop Mongo 3.x.x and 4.x.x from complaining about WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'?

A default installation of MongoDB on Ubuntu 18.04 gives the following warning about transparent hugepage defrag. How to deal with it?
0
votes
0answers
31 views

ipmitool, sysfs and libsensors dependencies

I can see fans speeds in the ipmtool sdr output, but I don't see them in the /sys hierarchy (may be, I didn't look carefully enough). But - I can find everything the libsensors library shows me in the ...
0
votes
2answers
382 views

How to delete debug files in /sys/kernel/debug?

sudo find / -size +5G -ls listed debug files with more than 8GB size at /sys/kernel/debug/dri/n/amdgpu_vram (n is the number of GPUs) These might be useless debug files. Cannot delete them (error "...
3
votes
2answers
12k views

No `rc.local` in 16.10, so how can I add a command to set brightness on boot?

I previously solved the problem by adding a command: echo X > /sys/class/backlight/intel_backlight/brightness to /etc/rc.local on Ubuntu 14.04 . But there is no /etc/rc.local on Ubuntu 16.10 . ...
2
votes
1answer
4k views

Ubuntu 16.04 Complicated Interface Names [duplicate]

I'm trying to figure out how to restore the simple interface names in Ubuntu 16.04. I.e. enp3s0 renamed to eth0. I have tried to modify the GRUB configuration. I have tried editing /etc/udev/rules.d/...
2
votes
2answers
7k views

'cat': can't open file: Permission denied

I am trying to copy the whole / directory to some other location. When doing cp recursively, it fails on some files like:- / # ls -lrt /sys/module/nf_conntrack_ipv4/uevent --w------- 1 root ...
10
votes
1answer
16k views

What's the “/sys” directory for?

A while ago I noticed this directory that I had not ever seen before, /sys. I researched a bit and read that "modern Linux systems" often have this directory, and that it manages devices. I thought ...
44
votes
7answers
64k views

How do I modify “/sys/kernel/mm/transparent_hugepage/enabled”

I use mongodb 3.0 and I find a warning: MongoDB shell version: 3.0.0 connecting to: test Server has startup warnings: 2015-03-13T16:28:29.405+0800 I CONTROL [initandlisten] 2015-03-13T16:28:29.406+...