New answers tagged

2

Terminals are different from other forms of I/O, and a terminal emulator needs to present itself as a terminal. A terminal (including a pseudoterminal) has certain attributes, such as its line length and supported control sequences. Programs can ask for these, for example, in general ls will determine whether its output is going to a terminal, and then ...


0

If the process is stuck in an uninterruptible system call (ps D state, typically an I/O that never completes for some reason) and there is no mechanism in place in the kernel (or more likely in the affected device driver) to detect and fix it, there is nothing you can do outside filing a bug if repeatable and hard rebooting. You might have console shortcuts ...


0

I figured out how to do what I was describing, but it was a bit counter-intuitive, so I'm posting the answer here for people who might hit this page when searching (tl:dr; at bottom). As far as I know, there is no blanket way to just filter out processes with a certain PID from ftrace as easily as it is to tell it to ONLY consider processes with a certain ...



Top 50 recent answers are included