LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2009, 12:21 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Help with writing script for Monitoring system performance?


I am in verse of writign a script which will ssh to remote machine and collect the data like vmstat, top -c , sar, du , df etc.
Anyone who can suggest me some similar scripts?
 
Old 11-30-2009, 12:32 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

That's not to difficult to setup. I wrote a simple menu driven one for my colleague without Linux experience and it works great, he even doesn't have to type in the password. If you want I'll mail it to you.

Kind regards,

Eric
 
Old 11-30-2009, 09:46 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,671

Rep: Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151Reputation: 8151
Quote:
Originally Posted by your_shadow03 View Post
I am in verse of writign a script which will ssh to remote machine and collect the data like vmstat, top -c , sar, du , df etc.
Anyone who can suggest me some similar scripts?
Yes, we have "suggested you" several things in the past, on at least three other threads you've started, with the same question:

http://www.linuxquestions.org/questi...eck-up-772052/
http://www.linuxquestions.org/questi...cation-771392/
http://www.linuxquestions.org/questi...server-769969/

So either you don't want to take the advice people are giving you, or you are wanting someone to write your scripts/programs for you.
 
Old 12-01-2009, 01:12 AM   #4
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Sorry TBOne..
I havent find the good tool till date through those tools..

EricTRa,

It would be great if you mail me those scripts.Please.
Thanks.
 
Old 12-01-2009, 01:49 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

You should have it in your mail by now

Kind regards,

Eric
 
0 members found this post helpful.
Old 12-01-2009, 02:10 AM   #6
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Eric,

Thanks a lot. I have got it.
Will try out and add the missing feature too.

Thanks.
 
Old 12-01-2009, 02:12 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
You're welcome.

Kind regards,

Eric
 
Old 12-04-2009, 05:03 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by EricTRA View Post
Hi,

You should have it in your mail by now

Kind regards,

Eric
Please help the rest of us by posting these scripts, that's the purpose of LQ -- to disseminate knowledge widely.

If you think they are too long or wide, use a pastebin & post the link.

TIA
 
Old 12-04-2009, 05:11 AM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

I'm adding it as an attachment to this post, feel free to use/change/improve as you see fit.

Kind regards,

Eric

Last edited by EricTRA; 01-24-2010 at 05:34 AM.
 
1 members found this post helpful.
Old 12-04-2009, 05:12 AM   #10
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
thanks =)
--
upd: removed my late posting =/

Last edited by Web31337; 12-04-2009 at 05:15 AM. Reason: don't know how to delete)
 
Old 12-04-2009, 05:12 AM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by Web31337 View Post
++
post them, please!
One minute ahead of you

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script for monitoring system performance Poma Linux - Server 9 06-25-2009 06:13 AM
system monitoring script nkd Linux - Software 3 10-30-2008 10:15 AM
Understanding System Performance Monitoring Tools Output SentiBlue Linux - Newbie 3 09-12-2008 04:35 PM
Performance Monitoring Script 3ttt Linux - Newbie 4 05-26-2007 03:15 AM
Monitoring System Performance lapthorn Linux - General 3 04-22-2004 03:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration