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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-30-2009, 12:21 AM
|
#1
|
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Rep:
|
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?
|
|
|
11-30-2009, 12:32 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
11-30-2009, 09:46 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,671
|
Quote:
Originally Posted by your_shadow03
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.
|
|
|
12-01-2009, 01:12 AM
|
#4
|
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Original Poster
Rep:
|
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.
|
|
|
12-01-2009, 01:49 AM
|
#5
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
You should have it in your mail by now
Kind regards,
Eric
|
|
0 members found this post helpful.
|
12-01-2009, 02:10 AM
|
#6
|
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Original Poster
Rep:
|
Eric,
Thanks a lot. I have got it.
Will try out and add the missing feature too.
Thanks.
|
|
|
12-01-2009, 02:12 AM
|
#7
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
You're welcome.
Kind regards,
Eric
|
|
|
12-04-2009, 05:03 AM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Quote:
Originally Posted by EricTRA
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
|
|
|
12-04-2009, 05:11 AM
|
#9
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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.
|
12-04-2009, 05:12 AM
|
#10
|
Member
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Rep:
|
thanks =)
--
upd: removed my late posting =/
Last edited by Web31337; 12-04-2009 at 05:15 AM.
Reason: don't know how to delete)
|
|
|
12-04-2009, 05:12 AM
|
#11
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by Web31337
++
post them, please!
|
One minute ahead of you
Kind regards,
Eric
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|