- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Easy points for all...
Operating System - HP-UX
1753797
Members
8740
Online
108805
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
тАО10-10-2001 02:51 AM
тАО10-10-2001 02:51 AM
Re: Easy points for all...
Hi,
One point to remember. When you ask find to process a lot of files, the "xargs" method is a lot more efficient, because it will collect the filenames as multiple arguments within one command (or as many as will fit per line). "-exec" will spawn one process per file.
Rgds, Robin.
One point to remember. When you ask find to process a lot of files, the "xargs" method is a lot more efficient, because it will collect the filenames as multiple arguments within one command (or as many as will fit per line). "-exec" will spawn one process per file.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2001 05:37 AM
тАО10-10-2001 05:37 AM
Re: Easy points for all...
Before you go looking for large files, you should always start by looking for big directories. Big directories are more important since they may not contain big files but instead, contain hundreds or thousands of smaller files and they may need to be purged. Use this:
du -kx . | sort -rn > /tmp/du.root
Now the largest directories will be at the top. Note that the root filesystem must have only 3 big directories: /sbin /etc /dev. Any other big directory is in the wrong place and must be moved. And /dev should be less than 100, typically less than 50. If it is very large, there is a mistake, usually a misspelled device file such as /dev/rmt/om rather than 0m.
Now / may be your root's $HOME directory in which case, root's home may contain a lot of unnecessary files. To make things easier to identify and to remove the possibility of a mistake using rm, move root's $HOME to another directory, perhaps /root.
Bill Hassell, sysadmin
du -kx . | sort -rn > /tmp/du.root
Now the largest directories will be at the top. Note that the root filesystem must have only 3 big directories: /sbin /etc /dev. Any other big directory is in the wrong place and must be moved. And /dev should be less than 100, typically less than 50. If it is very large, there is a mistake, usually a misspelled device file such as /dev/rmt/om rather than 0m.
Now / may be your root's $HOME directory in which case, root's home may contain a lot of unnecessary files. To make things easier to identify and to remove the possibility of a mistake using rm, move root's $HOME to another directory, perhaps /root.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 07:21 PM
тАО10-15-2001 07:21 PM
Re: Easy points for all...
To Paula
Excuse me for small points - your message was useful and late answer - my internet traffic has been low. :(
How I can "to compensate" it?
Oleg
Excuse me for small points - your message was useful and late answer - my internet traffic has been low. :(
How I can "to compensate" it?
Oleg
- « 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