- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux scripting for system check.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2010 04:17 AM
04-24-2010 04:17 AM
Linux scripting for system check.
Can anyone help me on writting a script to perform regression test for my linux server.
I am new to shell scripting.
please advise .
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2010 08:08 AM
04-24-2010 08:08 AM
Re: Linux scripting for system check.
What, exactly, is "my linux server"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2010 12:18 PM
04-24-2010 12:18 PM
Re: Linux scripting for system check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2010 08:50 PM
04-24-2010 08:50 PM
Re: Linux scripting for system check.
I have a linux server installed with RHEL 5.3.
I would like to have the regression test of cpu activity,memory activity,process activity..kernel logs .hardware logs.. disk space ...swap space...etc....
I mean the machine should check all the above activity and report me if found errors.
Please let me know if you need further info.
Your help will be highly apprecieated.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 04:30 AM
04-25-2010 04:30 AM
Re: Linux scripting for system check.
The term "regression testing" is usually in the context of software or system development, not system health monitoring.
In general, regression testing requires that you define a set of test cases for defined requirements and known already-solved problems. When you make a change to the system (e.g. you find and fix a new problem), you run the regression test suite to make sure you haven't accidentally re-introduced an older problem when fixing the new one, or violated one of the basic requirements.
Then you add a test for the problem you just fixed, so in the future the test suite will alert you if this same problem reappears (e.g. something has caused your fix to become ineffective).
Regression tests are, by their nature, very specific to their subject.
> test of cpu activity,memory activity,process activity..kernel logs .hardware logs.. disk space ...swap space
This sounds like system health monitoring, not regression testing.
There are various system health monitoring solutions available. Some of them are even open source/freeware. Why are you re-inventing the wheel? Have you examined the available solutions and found them somehow inadequate or not applicable? Why?
If you really are thinking about regression testing and not generic health monitoring, please define the unit you're primarily wishing to test: is it some application, the Linux OS kernel, or the system hardware?
Performance regression testing will also require using your own judgement: if the new version runs the test faster but uses more memory and/or disk space to do that, is that an acceptable trade-off or not? How much is too much?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 09:04 PM
04-25-2010 09:04 PM
Re: Linux scripting for system check.
Thank you very much for your reply.
I would like to have a shell script for machine health check monitoring.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 06:24 AM
04-26-2010 06:24 AM
Re: Linux scripting for system check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 08:54 AM
04-26-2010 08:54 AM
Re: Linux scripting for system check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 10:28 AM
04-26-2010 10:28 AM
Re: Linux scripting for system check.
This has been done. A google search of this very site will bring up good examples.
linux system health monitor script site:itrc.hp.com
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com