- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unix scripting
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
Discussions
Discussions
Forums
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
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
тАО06-07-2009 06:19 AM
тАО06-07-2009 06:19 AM
unix scripting
it may be the reason below?
1- script does't find the database
2- it find the database
3- it eats the memory
4- cpu utilaization is too much
give me the reason for each.why it is slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 08:17 AM
тАО06-07-2009 08:17 AM
Re: unix scripting
My car is running slow. What do you think
the problem is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 08:24 AM
тАО06-07-2009 08:24 AM
Re: unix scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 08:40 AM
тАО06-07-2009 08:40 AM
Re: unix scripting
Perhaps your script has a problem, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 09:09 AM
тАО06-07-2009 09:09 AM
Re: unix scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2009 11:47 PM
тАО06-07-2009 11:47 PM
Re: unix scripting
if it didn't find the database, modify the scrpit to find the database.
2- it find the database
if it finds the database, then what is that you want to do
3- it eats the memory
How you know it is busy eating
check vmstat
4- cpu utilaization is too much
how you know this
iostat
give me the reason for each.why it is slow
check if yesterday's script finsihed to completion.
check if this script is running multiple instances.
ps -ef |grep your-script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 12:14 AM
тАО06-08-2009 12:14 AM
Re: unix scripting
What kind of script you are using post your script?
>>my script was working yesterday but today it is slow why?
Did you checked how much time it was taken on yesterday and how much time today?
There are plenty of possibility why your script slow today.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 12:25 AM
тАО06-08-2009 12:25 AM
Re: unix scripting
what do YOU think what is the problem?
What have you checked till now?
>script does't find the database
Then I believe the script will not run.
>it find the database
Then all's fine.
>it eats the memory
Have you checked it?
If you search in this forum for 'memory leak' you'll find many hints, one would be to use glance:
https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-15-28^9637_4000_100__
Else for a first trial you can use:
'swapinfo -tam'
'vmstat -n' you can see your system swapping under 'po'.
'ps -el | sort -r -k10 | head -10'
sorts the 10 proceses with the highest 'memory' usage (column 10).
See the man-pages of these commands for the usage.
>cpu utilaization is too much
Have you checked it?
If you search in this forum for 'cpu utilization' you'll find many hints, one would be to use glance, for a first trial you can use 'top'.
See the man-pages of this command for the usage.
HTH (and maybe you can give more details in your next answer)
Volkmar