- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr is 100% full in HP-UX server. Which file ...
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
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
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
01-14-2014 11:31 PM - last edited on 01-15-2014 06:42 PM by Lisa198503
01-14-2014 11:31 PM - last edited on 01-15-2014 06:42 PM by Lisa198503
/usr is 100 % full in hp-ux server .which file can be deleted?
/usr is 100 % full in hp-ux server .which file can be deleted?
P.S. This thread has been moved from Your Questions Regarding Business Support Forums (Legacy BSC forum) to HP-UX > sysadmin. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2014 01:04 PM
01-15-2014 01:04 PM
Re: /usr is 100% full in HP-UX server. Which file can be deleted?
Is this a separate filesystem and how large is it?
Did it become full recently? Did you install software recently?
Can you find any large directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 06:52 AM
01-16-2014 06:52 AM
Re: /usr is 100 % full in hp-ux server .which file can be deleted?
Run the below command to find the 10 largest files under /usr
# find /usr -type f -xdev -print | xargs -e ll | sort -rn -k5 | head -n 10
If you have free PV's available in vg00, then you can extend the /usr lvol to get space.
Pradeep
I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 08:04 AM - edited 01-17-2014 02:09 PM
01-16-2014 08:04 AM - edited 01-17-2014 02:09 PM
Re: /usr is 100% full in HP-UX server. Which file can be deleted?
You can speed up that find by using -exec ... +:
# find /usr -type f -xdev -exec ll -d {} + | sort -rn -k5 | head -n 10
- Tags:
- find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2014 01:06 PM
01-17-2014 01:06 PM
Re: /usr is 100 % full in hp-ux server .which file can be deleted?
In case it's a bunch of small files in a directory:
$ nice find /usr -type d -exec du -sk {} \; | sort -nr | more
and see if anything odd stands out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2014 07:57 PM
01-20-2014 07:57 PM
Re: /usr is 100 % full in hp-ux server .which file can be deleted?
cd to /var
run: du -skx * | sort -n
this should give you an idea of whats taking up the most space