Lippman 发表于 2008-01-15 18:05

Solaris Developer Quiz December 13, 2006

What command allows you to add entries to the syslog from the command line ?

a) swapadd
b) isainfo -b
c) logger
d) prctl

The correct answer is c.

The 'logger' command provides a method for adding one-line entries to the system log file from the command line. One or more message arguments can be given on the command line, in which case each is logged immediately.

'swapadd' adds swap space to a running system.

'isainfo -b' shows you if the system has been booted in 34 or 64 bit mode.

'prctl' allows you to examine and modify the resource controls associated with an active process, task of project on the system.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_465035.html
页: [1]
查看完整版本: Solaris Developer Quiz December 13, 2006