HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- space deletion
Operating System - HP-UX
1834670
Members
1911
Online
110069
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
01-23-2002 11:08 AM
01-23-2002 11:08 AM
space deletion
i wanna thank the guys for helping me i solve have of it i tried to umount to day to try it i couldnt because propebly something was writing to it so i tried fuser no result so i started killing prosses and try finaly it i was able to umount the directory and mount it again it work i got the space back so is there any other automatic way for doing that whe i remove the 7 giga directory to automaticly remove the size also
good
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 11:15 AM
01-23-2002 11:15 AM
Re: space deletion
The best thing to do is to do an 'fuser -u' on the file, see what processes have the file open and kill them. Do that BEFORE you remove the file.
YOu can't just remove a file it automatically kill all processes associated with that file. Unix don't work that way.
YOu can't just remove a file it automatically kill all processes associated with that file. Unix don't work that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 11:45 AM
01-23-2002 11:45 AM
Re: space deletion
Rudy,
May I suggest that you get a copy of "lsof" from:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
You can use it like this, when you wnat to know who is using a mount point:
lsof /tmp
which on my system (as an example) shows this:
# /usr/local/bin/lsof /tmp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
snmpdm 1042 root 2w REG 64,0xa 0 9 /tmp (/dev/vg00/lvol10)
snmpdm 1042 root 4u unix 64,0xa 0t0 10 /tmp/.AgentSockets/A (0x43388280)
hp_unixag 1054 root 1r DIR 64,0xa 3072 2 /tmp
hp_unixag 1054 root 2r DIR 64,0xa 3072 2 /tmp
mib2agt 1063 root 1r DIR 64,0xa 3072 2 /tmp
mib2agt 1063 root 2r DIR 64,0xa 3072 2 /tmp
trapdesta 1072 root 1r DIR 64,0xa 3072 2 /tmp
trapdesta 1072 root 2r DIR 64,0xa 3072 2 /tmp
#
It's a lot better than fuser!
And another way to thank people, is make sure you assign points to those that have helped you :-))
live free or die
harry
May I suggest that you get a copy of "lsof" from:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
You can use it like this, when you wnat to know who is using a mount point:
lsof /tmp
which on my system (as an example) shows this:
# /usr/local/bin/lsof /tmp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
snmpdm 1042 root 2w REG 64,0xa 0 9 /tmp (/dev/vg00/lvol10)
snmpdm 1042 root 4u unix 64,0xa 0t0 10 /tmp/.AgentSockets/A (0x43388280)
hp_unixag 1054 root 1r DIR 64,0xa 3072 2 /tmp
hp_unixag 1054 root 2r DIR 64,0xa 3072 2 /tmp
mib2agt 1063 root 1r DIR 64,0xa 3072 2 /tmp
mib2agt 1063 root 2r DIR 64,0xa 3072 2 /tmp
trapdesta 1072 root 1r DIR 64,0xa 3072 2 /tmp
trapdesta 1072 root 2r DIR 64,0xa 3072 2 /tmp
#
It's a lot better than fuser!
And another way to thank people, is make sure you assign points to those that have helped you :-))
live free or die
harry
Live Free or Die
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP