Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, I have a SSH access to some linux servers, is it possible that I can get some graphical report for system utilization (CPU, memory and disk space) for ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    4

    Display graphs for system resource utilization

    Hi all,

    I have a SSH access to some linux servers, is it possible that I can get some graphical report for system utilization (CPU, memory and disk space) for a given time range.

    I dont have any graphical access to the system.

    Currently I am fetching the records using "sar -r" command , pasting them in a excel sheet to generate the reports.

    Please suggest of there is any easier alternative in linux shell

    PrashantC

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Usually a monitoring system based on RRD is used for this.
    Munin - Trac is quite simple
    Nagios - The Industry Standard in IT Infrastructure Monitoring well known and supported
    I use green : Xymon - Status @ Thu Feb 03 14:20:36 2011

    There are dozens more.

    However, the display is usually done via a website.
    Can you maybe run an apache on a monitoring host?

    If there is no connection but ssh, then you could run apache on localhost and tunnel via ssh from your client to that monitoring machine.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    4
    Thanks for a quick reply


    If there is no connection but ssh, then you could run apache on localhost and tunnel via ssh from your client to that machine.


    could you please elaborate more on this.. .or a link may help me

    Is it anyway possible on getting reports on ssh ?

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    ok, the general workflow is more or less the same for these tools.

    You have a monitoring host.
    And you have multiple clients.

    - On the monitoring host, there is a daemon that triggers "probes" on the clients.
    - These probes are scripts, that output values like load, memory usage, disk space, raid health, etc for each client.
    - the monitoring hosts collects these values and stores them in RRDs. (RoundRobinDatabase)
    - then there is some sort of webinterface to create pretty graphs on the basis of these RRDs

    Look at the examples:
    Munin :: ping.uio.no :: rossum.ping.uio.no

    For the tunneling:
    Something like this might work (from the top of my head)
    ssh -L8080:localhost:80 <monitoringhost>

    And then connect your browser to localhost:8080

    But this would be a rather strange setup.
    It is better to run the webserver on the monitoring host and of course guard it via https/password
    Last edited by Irithori; 02-03-2011 at 03:30 PM.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...