- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: var cleanup hp ux 11.23 itanium
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
тАО11-13-2009 04:58 AM
тАО11-13-2009 04:58 AM
Re: var cleanup hp ux 11.23 itanium
just returns a number ??
# du -sk | sort -rn | head -20
2678160 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 05:02 AM
тАО11-13-2009 05:02 AM
Re: var cleanup hp ux 11.23 itanium
> The command du -sk | sort -rn | head -20
just returns a number ??
Drop the 's' which summarizes and use:
# du -k /var|sort -krn|head -20
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 05:27 AM
тАО11-13-2009 05:27 AM
Re: var cleanup hp ux 11.23 itanium
Some Pionts to clean up /var Space├в ┬ж
1. Release space from /var:
- remove core dump:
# find /var -name core -exec rm {} \;
2. cleanup old patches
cleanup -c 2
3. The following file in /var/stm/logs/os (Keep latest.)
memlog
logN.taw.cur
ccbootlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 05:56 AM
тАО11-13-2009 05:56 AM
Re: var cleanup hp ux 11.23 itanium
du -xk /var | sort -rn | head -20
(s is just too close to the x key)
Just to explain the use of du and not find for large files: Until you examine every directory in /var, looking for large files will miss a directory with thousands of small files. The du command summarizes directories. Once you find an unusually large directory, look inside to find the contents. You can sort the contents by size:
cd /var/someLargeDirectory
ll | sort -rnk5 | head -20
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 03:06 PM
тАО11-13-2009 03:06 PM
Re: var cleanup hp ux 11.23 itanium
I might also throw out that often the mass of the QPK bundle can be an issue. If you already have that on media then preload it into your depot and then use:
# swa get -t /depotHere -x allow_existing_depot=true
While I am a big fan of the QPK bundle you could also use just the SEC, PW, and CRIT analyzers.
- « Previous
-
- 1
- 2
- Next »