Tag Info

Hot answers tagged


You are looking for the pstree command. pstree by itself will list all the processes in a tree form (like lsblk does). You can use the -p flag to get the PIDs listed as well, and the -s to show parent process as well: $ pstree -p 602 udisksd(602)-+-{cleanup}(607) |-{gdbus}(605) |-{gmain}(603) `-{probing-thread}(606)


Another option is, to use System Monitor (comes pre-installed). In SM Menubar mark "Dependencies" option, under "View", to have a visual feedback, showing parent and children process(es) like show in the screenshot below. I prefer the CL (Command Line) myself and suggest, that those who use Linux, in this case Ubuntu on a daily basis, wisely invest their ...


If you just want to see the immediate children of a process whose PID is 123 you can use the ps command's --ppid option: ps --ppid 123 You can combine that with the pidof command to get the children of a process by name i.e. given a process called foo ps --ppid $(pidof foo)


Generally ps command does it. If you type man ps, you will get the manual for this command, and there you can check which flag you will need. For example, ps -e will list all running processes in the system. Another command is top which will show an active view of all running process.


The following script lists all processes, and splits them in applications and other processes. As definition for an application, I practice that the process is initiated from a .desktop file (since practically all applications are represented by a .desktop file), and that the .desktop file appears in Dash (the .desktop file has no line: NoDisplay=true). ...


I'm not an expert, but reading the above answers it seemed to me that there is probably a more direct way to do this via the proc filesystem, e.g. for programmatic use in a script rather than human-readable display. And indeed there is: for a process with ID code $mypid, its child processes are listed in /proc/$mypid/task/$mypid/children e.g. $ cat ...


I understand your question as willing to make an already running process Zombie. As per the definition of Zombie process, it is not an easy task to make a already running process a Zombie. A Zombie process is a process which is terminated but its parent things that it is yet running so its PID is yet present in the processes list, but actually the child ...


The problem may be with the recent version hostapd package that installs with ap-hotspot. First uninstall ap-hotspot. Download old hostapd package(bug free) you can get it from wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb To install hostpad.deb you can use gdebi package manager or simply sudo dpkg -i ...


Neither: Since Linux 2.6.23 Con Kolivas's work, most significantly his implementation of "fair scheduling" named "Rotating Staircase Deadline", inspired Ingo Molnár to develop the Completely Fair Scheduler as a replacement for the earlier O(1) scheduler, crediting Kolivas in his announcement. The Completely Fair Scheduler (CFS) uses a ...


There are nicer ways for sure; a simple approach however would be starting your application from terminal. There you see the output even after it has crashed.


No. The nearest thing you can do is use Alt + SysRQ + K which should kill all processes in current VT (in this case it should mean firefox, all graphical programs you were running, your WM and X itself). Then you should be able to switch to another console (using Ctrl + Alt + F[1-6] and run another instance of X from there (I don't use Ubuntu, but I'd bet ...

Only top voted, non community-wiki answers of a minimum length are eligible