I know that you can connect to various background processes to watch their console output, but is there a way to view the output of all processes at once? Likely it would scroll quickly and be hard to read, but is it possible?
|
Well, you can spawn several processes in your shell in the background and then (if they all use their stdout or stderr) you can get lots of information intermingled in the console - and by intermingled I mean it can possibly even mix data from several processes in the middle of a line. What you are probably looking for is logging to a file (system services usually use something in Last but not the least, |
|||
|
|
|
If they all write to a logfile, you can use multitail to tail them all simultaneously. |
|||
|
|
|
All processes? Most background processes actually intentionally close their file descriptors, and there's no easy way to grab them back or force the process to recognize a new one. You can watch all the messages to syslog, as others have said, and a lot of user-spawned processes do actually have their output directed somewhere (at least, if you're running a sane X startup environment), so you can watch a lot of them if you know what files to look at. But for the most part, you can't see the output of ALL non-user processes because they simply don't have anywhere defined to send output. |
|||
|
|
