- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find and Itanium Servers
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
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
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-29-2004 12:15 AM
тАО04-29-2004 12:15 AM
find and Itanium Servers
I have a problem with our itanium servers
(rx2640) and the find command.
The find command uses too much memory. And sometimes the server seens to be halted.
Thank you
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:20 AM
тАО04-29-2004 12:20 AM
Re: find and Itanium Servers
Are there errors being logged to syslog?
This could be indicative of a very large filesystem, filesystem corruption or possibly a bad disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:20 AM
тАО04-29-2004 12:20 AM
Re: find and Itanium Servers
I don't know as this is particular to itanium. The find command is notorious for being resource intensive: consuming cpu cycles, disk bandwidth and memory. In a performance tuning class years ago, one of our exercises involved bringing a box to its knees by running multiple find commands.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:23 AM
тАО04-29-2004 12:23 AM
Re: find and Itanium Servers
If you use the -exec option change it for xargs :
find . -exec grep -il pattern {} \;
find . | xargs -i grep -il pattern {}
Only one instance of grep will be created on not one for every item find will bring.
Cheers
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:26 AM
тАО04-29-2004 12:26 AM
Re: find and Itanium Servers
I agree with Pete and a common suggestion for a CPU friendly way of looking for files named "*log*" is something like:
cd /somedir ; ls -R | grep -e ":" -e "log"
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:30 AM
тАО04-29-2004 12:30 AM
Re: find and Itanium Servers
I just double-checked the ls alternative: it seems to consume even more CPU ....
that was a bad tip...
Regards
Bernhard