HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- checking file in transmission
Operating System - HP-UX
1836442
Members
3618
Online
110100
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
05-05-2004 10:50 AM
05-05-2004 10:50 AM
checking file in transmission
Hi,
I need a script where I want to find whether a file is being in transmission or not. Can sombody throw some light?
Thanks.
Dude.
I need a script where I want to find whether a file is being in transmission or not. Can sombody throw some light?
Thanks.
Dude.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 10:57 AM
05-05-2004 10:57 AM
Re: checking file in transmission
If you want to check whether or not a file is in use you can user fuser or lsof. fuser is part of HP-UX while lsof must downloaded from one of the porting centers ( http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/ ).
# fuser -u filename
While give the userid and process name that has a file open. If the file is still being transmitted then it will be open. 'man fuser' for more details.
# fuser -u filename
While give the userid and process name that has a file open. If the file is still being transmitted then it will be open. 'man fuser' for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 02:55 PM
05-05-2004 02:55 PM
Re: checking file in transmission
Dude
How is the file being xfered? Wouldn't it be just as easy to enable logging with the app that's xfering the file? If it's being done with scp or sftp, there is a logging patch you add to the openssh build. It works pretty good. If you need to see if a process has a file open, try lsof.
Hope this helps,
-denver
How is the file being xfered? Wouldn't it be just as easy to enable logging with the app that's xfering the file? If it's being done with scp or sftp, there is a logging patch you add to the openssh build. It works pretty good. If you need to see if a process has a file open, try lsof.
Hope this helps,
-denver
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