LoveUnix » AIX -IBM UNIX » 请教 alog阐述的含义。小弟英文比较菜,希望前辈给解释一下。
让LU留住您的每

一天 让LU博客留住您的每一天
2008-6-30 16:25 ghost_vale
请教 alog阐述的含义。小弟英文比较菜,希望前辈给解释一下。

-f LogFile Specifies the name of a log file. If the specified LogFile does not exist, one is created. If the alog command is unable to write to LogFile, it writes to /dev/null.
-L Lists the log types currently defined in the alog configuration
database. If you use the -L flag with the -t LogType flag, the attributes for a specified LogType are listed.
-o Lists the contents of LogFile; writes the contents of LogFile to standard output in sequential order.
-q Copies standard input to LogFile, but does not write to standard output.

-t LogType Identifies a log defined in the alog configuration database. The alogcommand gets the log's file name and size from the alog
configuration database.

2008-6-30 16:32 老农
那也说一下你哪里不明白啊

2008-6-30 16:40 ghost_vale
我在使用alog -f /var/adm/clavan.log是就没有反应了,请问是真么回事呢?

2008-6-30 16:41 ghost_vale
To list the contents of a log file, use the command:
alog -f LogFile [ -o ]
请问这里的 LogFile是指日志文件的具体位置还是应该写其他的什么呢?

2008-6-30 16:48 老农
alog -of /var/adm/clavan
不带O的话是写log

2008-6-30 16:55 tyrone.dev
[url]http://www.kuqin.com/aixcmds/aixcmds1/alog.htm[/url]

2008-6-30 17:58 giant#kenh
lz 好好学英语,嘿嘿:lol :lol

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.