- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Help required in shell script
Operating System - Linux
1753500
Members
3672
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО12-01-2010 03:58 AM
тАО12-01-2010 03:58 AM
Re: Help required in shell script
Hi Jai,
Thanks.
-gt option has served the purpose.
Thanks for your help.
10 more points to you :-)
Thanks.
-gt option has served the purpose.
Thanks for your help.
10 more points to you :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 03:59 AM
тАО12-01-2010 03:59 AM
Re: Help required in shell script
I suggest to try "grep :1522" there. And I never get the point of wc-l if theres already grep -c available
so "count=`netstat -an | grep -c :1522`" is just as good.
I really do not whine about points that are not given to me personally... I just feel that "I have assigned points to 17 of 87 responses" is a tad bit small percentage. Feel free to assign me 0 on those answers here (I'm not sure it's possible..:) I have never asked a question myself), but at least it will improve your stats. It's not just about those 10 point answers. Lousy stats keep good answers away..;)
And it's also quality of the question itself. If people have to ask you for details, that means Q itself is not so good...
And you still did not answer, what is your aim with this? Is it just to keep an eye on amount of connections on port 1522 (no matter of the socket state)? and alert when it's over 900?? Do you prefer opcmsg or opcmon? Such details should be alreay in first post.
so "count=`netstat -an | grep -c :1522`" is just as good.
I really do not whine about points that are not given to me personally... I just feel that "I have assigned points to 17 of 87 responses" is a tad bit small percentage. Feel free to assign me 0 on those answers here (I'm not sure it's possible..:) I have never asked a question myself), but at least it will improve your stats. It's not just about those 10 point answers. Lousy stats keep good answers away..;)
And it's also quality of the question itself. If people have to ask you for details, that means Q itself is not so good...
And you still did not answer, what is your aim with this? Is it just to keep an eye on amount of connections on port 1522 (no matter of the socket state)? and alert when it's over 900?? Do you prefer opcmsg or opcmon? Such details should be alreay in first post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 02:53 AM
тАО12-02-2010 02:53 AM
Re: Help required in shell script
> And it's also quality of the question
> itself. [...]
It's a request for "a shell script on a linux
node", and it's posted in an HP-UX forum, not
a Linux forum.
http://forums.itrc.hp.com/service/forums/familyhome.do?familyId=118
And most of the information supplied relates
to forum points rather than the actual task.
How much "quality of the question" did you
expect?
> Feel free to assign me 0 on those answers
> here (I'm not sure it's possible..:)
Oh, it's possible.
> itself. [...]
It's a request for "a shell script on a linux
node", and it's posted in an HP-UX forum, not
a Linux forum.
http://forums.itrc.hp.com/service/forums/familyhome.do?familyId=118
And most of the information supplied relates
to forum points rather than the actual task.
How much "quality of the question" did you
expect?
> Feel free to assign me 0 on those answers
> here (I'm not sure it's possible..:)
Oh, it's possible.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP