HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- in /var filesystem needs to have space
Operating System - HP-UX
1834635
Members
3487
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
Go to solution
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
03-11-2005 07:12 AM
03-11-2005 07:12 AM
Hi ,
I need to have space in /var filesystem for patch activity. I found the following big files.
root@server22 [/var/stm/logs/sys]
# ls -l
total 577036
-rw-r--r-- 1 root sys 294958605 Feb 26 04:01 activity_log
-rw-rw-rw- 1 root root 20854275 Mar 11 04:52 inet.log
-r--r--r-- 1 root root 20190966 Mar 11 14:59 mail.log
---------------------------------------
Can I nullify or move this files. I am much worried about the first one.
Please suggest,
Thanks,
Veri.
I need to have space in /var filesystem for patch activity. I found the following big files.
root@server22 [/var/stm/logs/sys]
# ls -l
total 577036
-rw-r--r-- 1 root sys 294958605 Feb 26 04:01 activity_log
-rw-rw-rw- 1 root root 20854275 Mar 11 04:52 inet.log
-r--r--r-- 1 root root 20190966 Mar 11 14:59 mail.log
---------------------------------------
Can I nullify or move this files. I am much worried about the first one.
Please suggest,
Thanks,
Veri.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 07:31 AM
03-11-2005 07:31 AM
Re: in /var filesystem needs to have space
If you are not having trouble with mail or need to keep records of who sent what when, then by all means cat /dev/null > mail.log
The activity.log and inet.log files, I do not have so I cannot comment.
Do this command;
cd /var
du . -ka | sort -nr | more
This will provide you with a sorted listed of the biggest files within the /var directory and down.
The activity.log and inet.log files, I do not have so I cannot comment.
Do this command;
cd /var
du . -ka | sort -nr | more
This will provide you with a sorted listed of the biggest files within the /var directory and down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 07:47 AM
03-11-2005 07:47 AM
Solution
Hi Veri,
The /var/stm/logs/sys/activity_log is a log from stm.
# xstm
File --> Administration --> STM Shutdown
as soon as stm has been shutdown you can mv the log file.
# mv activity_log activity_log.old
start stm again
# xstm
File --> Administration --> STM Startup
A new log file will be created, now you remove the old one.
Hope this helps,
Robert-Jan
The /var/stm/logs/sys/activity_log is a log from stm.
# xstm
File --> Administration --> STM Shutdown
as soon as stm has been shutdown you can mv the log file.
# mv activity_log activity_log.old
start stm again
# xstm
File --> Administration --> STM Startup
A new log file will be created, now you remove the old one.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 08:35 AM
03-11-2005 08:35 AM
Re: in /var filesystem needs to have space
Thanks Robert for such a good answer.
Now I can do that.
Have a good day,
Thank you,
Veri.
Now I can do that.
Have a good day,
Thank you,
Veri.
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