 |
 |
 |
 |
| Fedora Focus Come in and have a general chat about Fedora and things relating to Fedora. |

16th May 2012, 04:04 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
Does Fedora need a Task Manager?
I haven't used MS Windows and years, but as I recall, the Task Manger program that was used to combat system freezes and hangs was sorely needed and worked pretty well. Having experienced various levels of feezes on 3 systems (each with different hardware) using FC 16-64 XFCE spin, I'm beginning to wish that Fedora had a Task Manager too.
I don't know how the Task Manager program works, but I suspect it must be extremely inefficient for a OS to run such a monitoring program. It could be argued that one can use ctrl-alt-F2 and the console in Fedora to do everything the Task Manager program does. However, I'd like to hear the details of that argument! I've tried to diagnose problems from the console using top, ps -ef, looking at log files. I didn't find those methods effective. On earlier Fedoras under Gnome, the desktop sometimes popped up a window about a program "not responding". It would be interesting to know how this diagnosis is was reached. What tool can I use to monitor the "response" of a process?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

16th May 2012, 04:32 PM
|
 |
Banned (for/from) behaving just like everybody else!
|
|
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307

|
|
|
Re: Does Fedora need a Task Manager?
The "not responding" may be a GTK feature not specific to GNOME. Programs under XFCE may trigger it as well. I'm not sure about the details.
For me the command-line tools work effectively enough. In addition you get all the bells and whistles typical of Unix-like system admin tools. When the system is under high load the CLI tools are likely to be superior to GUI tools as they require less memory, not just for themselves but also the whole graphical environment.
If the system hangs because a few processes are hogging the CPU, isn't it easy to spot the culprits and kill them using top?
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.
|

16th May 2012, 05:56 PM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309

|
|
|
Re: Does Fedora need a Task Manager?
In Gnome 3/Gnome Shell (F16):
Select - System Monitor (See attached illustration)
Select - Processes tab (See second attached illustration)
If a process has gone zombie, it will say as much in the status column of the list.
From the command line: (If you happen to have a terminal open.)
Code:
[dan@****** Desktop]$ su -
Password: (input root password here)
[root@****** ~]# gnome-system-monitor
That will give you a listing of all running tasks. (As opposed to just those available to the user account.) Then you can right-click any process in the list (Use discretion here. Other things may, and probably will, get broken.) and either stop it or kill it via the pop-up menu.
|

16th May 2012, 06:50 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,689

|
|
|
Re: Does Fedora need a Task Manager?
Quote:
Originally Posted by tashirosgt
I'm beginning to wish that Fedora had a Task Manager too.
|
As Dan mentioned, the GNOME equivalent is called System Monitor. The other major desktop environments almost certainly have equivalent programs, and top is the closest all-in-one interactive terminal equivalent.
If you go to System Settings->Keyboard->Shortcuts->Custom, you can add a short-cut to start gnome-system-monitor when Ctrl+Esc is pressed (for example).
There is also xkill, which lets you click on a non-responsive window to force the parent process to terminate. You could set up a keyboard short-cut the same way, or install the "Force Quit" shell extension, which I think adds a launcher for xkill to the top-bar: https://extensions.gnome.org/extension/102/force-quit/.
Quote:
|
I don't know how the Task Manager program works, but I suspect it must be extremely inefficient for a OS to run such a monitoring program.
|
In Linux, most of the work is monitoring, processing, and presenting the files under /proc/.
Quote:
|
On earlier Fedoras under Gnome, the desktop sometimes popped up a window about a program "not responding". It would be interesting to know how this diagnosis is was reached. What tool can I use to monitor the "response" of a process?
|
That's a window-manager trick. As I understand it, the window manager (GNOME Shell/Mutter these days, Metacity or Compiz in GNOME 2) sends periodic "ping" messages to a window and checks if the window responds. It it stops responding within a certain time-out, or ignores a close-button click without responding, it is deemed unresponsive. Some window managers grey the window to indicate this, and/or pop up a message window if the user clicked close, offering to force the quit (similar to xkill).
|

16th May 2012, 07:43 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
Re: Does Fedora need a Task Manager?
I'll try gnome-system-monitor if it will run in the XFCE desktop.
In response to whether I should find "top" useful, I have never found it useful in diagnosing freezes and hangs. I don't recall any problem on my systems that was caused by one process hogging the cpu - at least top never showed one process behaving that way. Like aleph, I prefer command line tools since the graphical desktop may be the thing that is frozen.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

16th May 2012, 08:27 PM
|
|
Registered User
|
|
Join Date: Apr 2010
Location: Earth
Posts: 857

|
|
|
Re: Does Fedora need a Task Manager?
the default task manager in the xfce desktop is xfce4-taskmanger. It is more leightweight than gnome-system-monitor and has less features. I use gnome 3 usually, but as taskmanger I prefer xfce4-taskmanager instead of gnome-system-monitor.
|

16th May 2012, 09:28 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,613

|
|
|
Re: Does Fedora need a Task Manager?
Bah, I use my own "Task Manager" that I wrote myself in Tcl/Tk (only 95 lines of code):
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
|

16th May 2012, 10:33 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,689

|
|
|
Re: Does Fedora need a Task Manager?
Quote:
Originally Posted by RupertPupkin
Bah, I use my own "Task Manager" that I wrote myself in Tcl/Tk (only 95 lines of code):
|
Bah. Real men use psDooM.
|

17th May 2012, 05:45 AM
|
 |
Banned (for/from) behaving just like everybody else!
|
|
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307

|
|
|
Re: Does Fedora need a Task Manager?
Real men just drink another glass and killall -u [his own login].
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.
|

17th May 2012, 12:39 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600

|
|
|
Re: Does Fedora need a Task Manager?
There is also: sudo pkill APPNAME, wich works quite smooth
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

17th May 2012, 01:03 PM
|
 |
Registered "Cashew" User
|
|
Join Date: May 2010
Location: Adelaide, Australia
Age: 18
Posts: 613

|
|
|
Re: Does Fedora need a Task Manager?
I use KSysGuard, the KDE task manager, which has plenty of features. It can give you detailed memoey information about each process which I like quite a lot. I don't know what package it is in since I don't use Fedora anymore but a simple yum provides */ksysguard should tell you.
__________________
Running Mageia Cauldron (KDE 4.10) on an ASUS K55V (Core i5, 16GB RAM, 750GB HDD, Nvidia 610M)
|

17th May 2012, 02:18 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298

|
|
|
Re: Does Fedora need a Task Manager?
Quote:
Originally Posted by tashirosgt
I don't know how the Task Manager program works, but I suspect it must be extremely inefficient for a OS to run such a monitoring program.
|
It shouldn't be. The tool is just pulling & displaying info from the kernel and that info is kept by the anyway.
Quote:
Originally Posted by tashirosgt
I'll try gnome-system-monitor if it will run in the XFCE desktop.
|
It does, but there is an xfce tool called 'xfce4-taskmanager' and an lxde tool called 'lxtask'. These ar both roughly equivalent to the gnome tool.
Quote:
|
In response to whether I should find "top" useful, I have never found it useful in diagnosing freezes and hangs. I don't recall any problem on my systems that was caused by one process hogging the cpu - at least top never showed one process behaving that way. Like aleph, I prefer command line tools since the graphical desktop may be the thing that is frozen.
|
You can use top to sort by other parameters then CPU%. You could select process owned by your userid, and then reverse sort of process status. Find zombies that way. Still that is awkward. "htop" is a lot better.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
|

17th May 2012, 04:28 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,689

|
|
|
Re: Does Fedora need a Task Manager?
(Just thought I should point out that "zombie" has a specific meaning in process lists, and doesn't mean that the process has crashed or hung, and no process manager can kill a zombie anyway. A zombie is just a PID (using no other resources) that exited and hasn't had its exit status collected by its parent process yet. If the parent doesn't collect the exit status, that can indicate a bug in the parent, but init should adopt and reap the zombie process when it is orphaned by the parent exiting.)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 02:45 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|