Results 1 to 2 of 2
Thread: noob linux questions / log files
-
12-31-2006, 06:36 PM #1Web Hosting Master
- Join Date
- Oct 2002
- Location
- Virginia
- Posts
- 788
noob linux questions / log files
I know where my apache error/domlogs are ...
1) how do I determine the size of the logs
2) how do I view them
example, how do i determine the zie of /apache/logs/error_log
example how do i view the log at /domlogs/domainnamehere
thanks▒UrlRedo.com - short URL service
-
12-31-2006, 06:53 PM #2Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
You can determine the size with the command du
for example
du -sch /apache/logs/error_log will give you the size of the error log file.
You can view them using a editor like vi or pico or even cat.David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android