XJ notice that the /var/.dm/messages file has become very large. Typically, this is managed by a
crontab entry. Which entry should be in the root’s crontab file?
A.
10 3 * * * /usr/adm/messages
B.
10 3 * * * /usr/sbin/logadm
C.
10 3 * * * /usr/sbin/syslogrotate
D.
10 3 * * * /usi/sbin/logrotate
E.
10 3 * * * /usr/sbin/messages
Explanation:
This example shows how to display the default root crontab file.
$ suPassword:
# crontab -l
#ident “@(#)root 1.19 98/07/06 SMI” /* SVr4.0 1.1.3.1 */
#
# The root crontab should be used to perform accounting data collection.
#
#
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
#10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___
Reference: Oracle Solaris Administration: Common Tasks, Displaying crontab Files
B
B
B