- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dtcnmp.log cleardown
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
08-27-2002 07:09 AM
08-27-2002 07:09 AM
dtcnmp.log cleardown
Could anyone please tell me know how to cleardown /var/opt/dtcmgr/log/dtcnmp.log on a server running HPUX11. If i cat /dev/null to the file, "df -k " reports the space available but if i then ls -al i still see the file size as first reported.
Thanks in advance for any help.
Regards
Shaun.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 07:11 AM
08-27-2002 07:11 AM
Re: dtcnmp.log cleardown
Apparently the log is still open to some process. A reboot will fix.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 07:15 AM
08-27-2002 07:15 AM
Re: dtcnmp.log cleardown
Shaun,
Can you post this output????
df -k /var/opt/dtcmgr/log
ls -l /var/opt/dtcmgr/log/dtcnmp.log
cat /dev/null > /var/opt/dtcmgr/log/dtcnmp.log
df -k /var/opt/dtcmgr/log
ls -l /var/opt/dtcmgr/log/dtcnmp.log
ls -l /dev/null
bdf df -k /var/opt/dtcmgr/log
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 07:28 AM
08-27-2002 07:28 AM
Re: dtcnmp.log cleardown
.
pwd
/var/opt/dtcmgr/log
# df -k /var/opt/dtcmgr/log
/var (/dev/vg00/lvol8 ) : 493737 total allocated Kb
278141 free allocated Kb
215596 used allocated Kb
43 % allocation used
# ls -al dtcnmp.log
-rw-r--r-- 1 root sys 240921353 Aug 27 16:23 dtcnmp.log
# cat /dev/null > dtcnmp.log
# df -k /var/opt/dtcmgr/log
/var (/dev/vg00/lvol8 ) : 493737 total allocated Kb
278189 free allocated Kb
215548 used allocated Kb
43 % allocation used
# ls -l dtcnmp.log
-rw-r--r-- 1 root sys 240930405 Aug 27 16:24 dtcnmp.log
# ls -l /dev/null
crw-rw-rw- 1 bin bin 3 0x000002 Aug 27 16:22 /dev/null
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 07:25 AM
08-28-2002 07:25 AM
Re: dtcnmp.log cleardown
The easiest way to clear the file down is to run "/sbin/init.d/dtcmgr stop"
to stop the dtc daemons, remove the file, and restart the daemons using
"/sbin/init.d/dtcmgr stop". Since the dtc daemons are only used by DTC
management functions and DTC downloads, they should not affect running
users, however no DTC will be managed or be anle to download while the
daemons are not running
Kind regards
Shaun :)