Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

System statistics gathering

  • 13-02-2015 4:51pm
    #1
    Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭


    I want to gather four stats over time (about 3 months) on 6 low end boxes.

    CPU usage
    RAM usage
    Network bandwidth
    Load

    Now nagios is an option, but to be honest it looks like a pain in the arse to set up for what seems to me should be a simple enough task.

    OS is Debian squeeze.

    Any recommendations?


Comments

  • Moderators, Society & Culture Moderators Posts: 9,735 Mod ✭✭✭✭Manach


    I was reading in Linux Magazine(?) about nmon. It looks interesting as it can capture a fair amount of stats and various addon are available for visualisation of such.


  • Registered Users, Registered Users 2 Posts: 1,193 ✭✭✭liamo


    I think sysstat is what you're looking for.

    Here are the install and setup instructions and a few reporting examples.

    # Install the package
    apt-get install sysstat

    # Enable it
    vi /etc/default/sysstat
    Change ENABLED="false" to "true"

    # If required, edit /etc/cron.d/sysstat to change the data
    # collection frequency from the default of every 10 minutes.

    # (re)start the service
    service sysstat restart

    # Report on the data gathered so far.

    # cpu usage
    sar -p

    # memory use
    sar -r

    # Network (by device)
    sar -n DEV


    There are some good examples here:
    http://www.thegeekstuff.com/2011/03/sar-examples/

    And now that you know what you're looking for, there are loads of other examples of usage available by Googling.

    Hope this helps.

    Liam


    Edit: Just realised that you asked the question a month ago so you have probably implemented a solution already. Even so, sysstat is a good one to remember for next time.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Another vote for munin.


  • Moderators, Music Moderators Posts: 23,361 Mod ✭✭✭✭feylya


    I'm a big fan of sysdig http://www.sysdig.org/

    Dump the data to the local disk, or move them off somewhere occasionally.


Advertisement