Results 1 to 5 of 5
Well the title is sort of true. I am looking to free up spme space, so I've been hunting down file that are present and can be remove or parred ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-02-2012 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 141
confusion on creation of a file
Well the title is sort of true. I am looking to free up spme space, so I've been hunting down file that are present and can be remove or parred down.
A few days ago I found a DB2 log ~1.3 mb. I then talked to the db2 guy about it, but my curiosity got the best of me and when I looked closer i found the file is being create daily. The owner is root, so I do a crontab -l to see the process creating it and there is not process that runs near the creation time of the file!
Here are the file attrs:
-rw-r--r-- 1 root root 138796484 2012-03-02 06:51 dklog.log
What am I missing? If it we a db2 process wouldnt it be owned by db2?
thanks
mace
- 03-02-2012 #2
No, there is a process that is running as root that is creating this file. It might not be a cron job that is starting it.
- 03-02-2012 #3Linux Newbie
- Join Date
- Jun 2006
- Posts
- 141
Ok so a ps will show waht the current processes are , how or can i find what created it?
thx
mace
- 03-02-2012 #4
Try htop or
Code:pgrep -u root or ps -faux | grep root
- 03-02-2012 #5Linux Newbie
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 100
It seems to belong to db2.
eClient Customization, Part 8: eClient troubleshooting and debugging


Reply With Quote

