App to show and monitor load

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

App to show and monitor load

Postby jonathankonrad » Sun Oct 02, 2011 8:24 pm

Is there an app to show or monitor the load on my server? I'm starting to load this up with a lot of background stuff, like a minecraft server, squid proxy server, DNLA server, Amahitunes, etc. Any thoughts to watch this box?

Jon

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: App to show and monitor load

Postby bigfoot65 » Mon Oct 03, 2011 4:45 am

There are a few you can try. phpSysInfo and Linfo should do it.

http://www.amahi.org/apps/phpsysinfo

http://www.amahi.org/apps/linfo
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

Re: App to show and monitor load

Postby jonathankonrad » Wed Oct 05, 2011 7:07 pm

Those apps a great to have, but not the type I'm looking for. I purchased the VNC solution (for some reason I could not get my own install to work ) and just used the system monitor included with Fedora. Now I'm wondering if the monitor works, or if I have set something incorrectly on my server. The two cores show 100% use all the time.

Any thoughts on how to check if this monitor is correct, and if it is, any thoughts on what would be eating up the CPU cycles?

At the time of the shot, no file transfers where occurring, now streaming of media, and no greyhole activity (I waited till that was all finished). The only thing that should have been working was DNS as my family was online at the time.

http://dl.dropbox.com/u/1471889/photos/IMG_1353.PNG

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: App to show and monitor load

Postby radioz » Wed Oct 05, 2011 7:13 pm

Open up a terminal on your hda and type: top
That should show what process(es) are using the cpu.

A better tool is htop. It is a small terminal application like top that uses color and is a little easier to use (and it has more features).
Install it with:
yum install htop

then type: htop

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

Re: App to show and monitor load

Postby jonathankonrad » Wed Oct 05, 2011 8:30 pm

Awesome. So now I would like to know what "/usr/libexec/pk-command-not-found lsb_release" is. See the attached screen shot.

Thanks again for this great tool.

http://dl.dropbox.com/u/1471889/photos/hda-cpu-use.png

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: App to show and monitor load

Postby radioz » Wed Oct 05, 2011 10:17 pm

Wow, that is interesting. I did a little Googling and found this thread: http://forums.fedoraforum.org/showthread.php?t=239865

It turns out to be a harmless 'feature' that try's to find a new package to intstall when you type a command it doesn't recognize!

You should be able to kill all of those processes by opening a terminal and typing:

sudo killall pk-command-not-found

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

Re: App to show and monitor load

Postby jonathankonrad » Thu Oct 06, 2011 6:16 pm

The kill worked. Do you think I should go as far as this guy did in that forum reference;

"Simple solution: rpm -e PackageKit-command-not-found and then log out and in (so bash forgets it too). Things start behaving themselves then, letting me make mistakes, and not trying to be too helpful."


Or should I just manually monitor and kill as needed? Any easy way to have the server email or notify me if it's at max for a certain period of time?

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: App to show and monitor load

Postby radioz » Thu Oct 06, 2011 10:42 pm

I'm not sure.

Do you recall what you did that might have triggered those processes?

I thought the problem was caused when you type a command in the terminal but the software package for it is not installed. The pk-command-not-found is supposed to ask you if you want it installed. It sounded like a bug.

I couldn't reproduce it on my system, so I don't know where those processes came from.

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

Re: App to show and monitor load

Postby jonathankonrad » Thu Oct 06, 2011 10:49 pm

I'm not at all sure what I typed to create this error. I guess I'll wait and see on un-installing then. I tried to mistype a command on purpose and this time the pk-command-not-found kicked back right away and said it could not find anything in the time specified.

My server is much snappier now, I'll be sure to keep an eye on htop every now and then in the future. Thanks.

jonathankonrad
Posts: 136
Joined: Sat Jul 25, 2009 1:42 pm

Re: App to show and monitor load

Postby jonathankonrad » Sat Oct 15, 2011 2:21 pm

In case anyone is reading this and has a similar problem, I now need to run htop every couple of days and kill the "/usr/libexec/pk-command-not-found lsb_release" processes that build up there and take over my HDA (usually four of them with 25% CPU each).

If I cannot find was is causing it I will try the removal mentioned in the fedora forum. Frustrating that my HDA grinds to a halt on this.

Who is online

Users browsing this forum: No registered users and 8 guests