- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing raw logfiles
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
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
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-08-2003 04:58 AM
08-08-2003 04:58 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:01 AM
08-08-2003 05:01 AM
Re: Removing raw logfiles
Changing the size to '0' might be better/safer.
echo >
Maybe they can be removed, but this is safer IMHO.
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:09 AM
08-08-2003 05:09 AM
Re: Removing raw logfiles
You should NOT remove /var/stm/logs/os/logx.raw.cur, as well as memlog and ccbootlog
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:27 AM
08-08-2003 05:27 AM
Re: Removing raw logfiles
- first do a fuser on the current log file(s)
- if its hot (meaning hooked by a process), do not just delete the file(s), instead copy it to a temp location. Then to trim the current file do a cp /dev/null verbiglog.log.
Do not ever remove an active log file (sp. those very large ones). Zero/trim them down using the /dev/null technique.. On Solaris and Linux, sometimes the Filesystem would not free up space after deleting an active large file...
probably same with HPUX...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:27 AM
08-08-2003 05:27 AM
Re: Removing raw logfiles
Is /var getting full ??
check with the command cleanup if you can remove superseeded patches.
# cleanup -c 2 -p (preserve)
# cleanup -c 2
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:28 AM
08-08-2003 05:28 AM
Re: Removing raw logfiles
Check this:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe3720ea029a2d711abdc0090277a778c,00.html
Regards,
Zigor