Serving the Quantitative Finance Community

 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

tools to monitor linux performance/load remotely

July 7th, 2008, 3:50 pm

Sometimes I rent servers from other people, so obviously I have to telnet in with putty. Suppose I want a log something like the Performance tab in the Windows Task Manager. I want to see processor load, peak processor and memory usage, that kind of thing. And it would be nice to have network load/usage in kpbs in the same log or chart so as to be time-synchronized for comparison purposes.How would you get what I want?
Antonin Scalia Library http://antoninscalia.com
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

tools to monitor linux performance/load remotely

July 7th, 2008, 3:53 pm

Assume this setup:Red Hat Enterprise Linux 5 - 64 bit DELL PowerEdge 2950 MKIIISingle Socket Quad Core Intel Xeon L5335 2.0GHz
Antonin Scalia Library http://antoninscalia.com
 
User avatar
marpa
Posts: 0
Joined: August 24th, 2005, 6:39 am
Location: Warsaw, PL

tools to monitor linux performance/load remotely

July 7th, 2008, 4:26 pm

Start with top.M.
 
User avatar
dirtydroog
Posts: 0
Joined: July 12th, 2007, 6:32 pm

tools to monitor linux performance/load remotely

July 7th, 2008, 4:27 pm

do you have root access?
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

tools to monitor linux performance/load remotely

July 7th, 2008, 4:40 pm

QuoteOriginally posted by: marpaStart with top.Cool. But while I read more about it - like how to increase the refresh frequency - can you tell me if it shows network load?QuoteOriginally posted by: dirtydroogdo you have root access?Of course.
Antonin Scalia Library http://antoninscalia.com
 
User avatar
blade
Posts: 0
Joined: June 18th, 2002, 3:28 pm

tools to monitor linux performance/load remotely

July 7th, 2008, 5:04 pm

Been a while since I did anything linux related but from memory I remember that the command netstat used to show active connections over the network and using netstat -an would increase the info, but don't remember if it showed anything like packets per second. I think I used to use tracert or ping to see how long it takes to go to a website over the web.
 
User avatar
street
Posts: 0
Joined: March 27th, 2008, 1:51 am

tools to monitor linux performance/load remotely

July 7th, 2008, 6:17 pm

telnet? What the hell is telnet?If you want a log or chart, does that mean you want a GUI. If so you are going to need X and so forth and in that case there are any number of tools that show things like that.Other wise you should look at 'top' followed by vmstat and netstatI guess for extra points you could write a little 5-6 line code jammer using gnuplot to get exactly what you want. But again that requires windows.http://www.redhat.com/docs/manuals/ente ... lspec.html
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

tools to monitor linux performance/load remotely

July 7th, 2008, 7:14 pm

QuoteOriginally posted by: streetIf you want a log or chart, does that mean you want a GUI. If so you are going to need X and so forth and in that case there are any number of tools that show things like that.I can't get a terminal, just an SSH terminal or something. Though I don't know, maybe there is something like VNC.QuoteOriginally posted by: streetI guess for extra points you could write a little 5-6 line code jammer using gnuplot to get exactly what you want. But again that requires windows.If I could download an image, or a time series that would be fine. Maybe I can use mpstat and sadc.QuoteOriginally posted by: streetWhat the hell is telnet?I was kind of wondering what the hell is Red Hat Enterprise Linux?
Antonin Scalia Library http://antoninscalia.com
 
User avatar
Cuchulainn
Posts: 22926
Joined: July 16th, 2004, 7:38 am

tools to monitor linux performance/load remotely

July 7th, 2008, 7:31 pm

QuoteOriginally posted by: streettelnet? What the hell is telnet?This was the way old-timers did it before Teletubbies came along. RFC 15 The PDP-10 TELNET subsystem - - switches to full duplex, character-by-character transmission, since this is required by 940's. Characters typed by the user are underlined. Full duplex operation is allowed for by the PDP-10, though not used by most DEC subsystems.
Last edited by Cuchulainn on July 6th, 2008, 10:00 pm, edited 1 time in total.
 
User avatar
street
Posts: 0
Joined: March 27th, 2008, 1:51 am

tools to monitor linux performance/load remotely

July 7th, 2008, 7:44 pm

Yeah, I know telnet. It was of course a joke, as I was not aware people were telnetting into machines still. could also try ssh farmer@farmers_badass_server "netstat - an| grep tcp" > output.txtOr use the followingtop sarmpstat iostatIf your local machine is a nix you might be able to see if KTOP or one of the gui performance monitors can poll a .txt for its data, that way you can have a nice gui.I would try it here, but people don't like me touching things because some guy on the internet needed help.
 
User avatar
Cuchulainn
Posts: 22926
Joined: July 16th, 2004, 7:38 am

tools to monitor linux performance/load remotely

July 7th, 2008, 7:46 pm

QuoteYeah, I know telnet. It was of course a joke, as I was not aware people were telnetting into machines still. More humour like this is good. Have you seen what goes on on Off?
Last edited by Cuchulainn on July 6th, 2008, 10:00 pm, edited 1 time in total.
 
User avatar
street
Posts: 0
Joined: March 27th, 2008, 1:51 am

tools to monitor linux performance/load remotely

July 7th, 2008, 9:20 pm

I don't know that your sentence is supposed to mean, sorry Cuch.
 
User avatar
2fingers
Posts: 3
Joined: October 3rd, 2007, 10:43 pm

tools to monitor linux performance/load remotely

July 7th, 2008, 11:54 pm

mrtg http://oss.oetiker.ch/mrtg/ is one, it's not just for networks, u can set it to monitor cpu load..etc or even anything on the network with snmpi'm sure there're better ones now, search for it in sourceforge
 
User avatar
nulix
Posts: 0
Joined: October 15th, 2007, 6:49 pm

tools to monitor linux performance/load remotely

July 8th, 2008, 8:51 pm

Ganglia if you want to be able to scale itI'm sure you can google it yourselves
 
User avatar
asthomas
Posts: 0
Joined: June 9th, 2005, 1:54 pm

tools to monitor linux performance/load remotely

July 9th, 2008, 12:00 pm

You could use Cascade DataHub running in Linux (click here), use a shell script or Perl script running in a timed loop to read data from /proc and populate whatever data you want into Cascade DataHub. Connect using an SSH tunnel securely from anywhere on the Internet using Cascade DataHub running in Windows. From there, drag and drop into Excel and you have real-time monitoring in Excel. (For the pedantic, not real-time in the sense of deterministic, but real-time in the sense that you have continuously changing data at your Linux script polling rate with latency equal to network propagation delay).
Last edited by asthomas on July 8th, 2008, 10:00 pm, edited 1 time in total.