[个人学习小结]soalris 命令连同sa239考点集锦
来源:互联网
作者:west263.com
时间:2008-04-16
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!
lpstat
lpshut
---------------------------------------------------
(34), pinter command;
accept ---- permits print requests to the queued
reject ---- prevents print requests from queued
enable ---- activate the specified printers
disable---- deactivates the specified printers
lpmove ---- moves the print requests
----------------------------------------------------
(35), useing the CDE process manager
/usr/dt/bin/sdtprocess &
-------------------------------------------------------------
(36), prstat command and the option (必考)
-a ---- displays separate reports
-c ---- continuously prints new reports
-n nproc ---- restricts the number of output lines
-p pidlist ---- reports only on processes that have a PID
-s key ---- sort output lines by key in descending
-S key ---- sort output lines bye key in ascending
-t ---- reports total usage summary for ech user
-u euidlist ---- reports only processes that EUID
-U euidlist ---- reports only processes that real UID
----------------------------------------------------------------
(37), kill and pkill command
1 ----- SIGHUP hangup
2 ----- SIGINT interrupt
9 ----- SIGKILL kill
15 ---- SIGTERM terminate
--------------------------------------------------------------
(38),scheduling an Automatic one-time execution
at command
-m ---- sends mail to the user
-r job ---- removes a scheduled at job from the queue
time ---- specifies a time
-l ---- reports all jobs
date ---- specifies an optional date
------------------------------------------------------
(39), at.deny and at.allow file
if at.allow file exists, only the users listed in this at.allow file.
if at.allow file does not exists, all users except for users listed in at.deny;
if neither file exists, only the root can use the at comman;
------------------------------------------------------------------
(40), /var/spool/cron/crontabs
10 3 * * 0 /usr/sbin/log/adm
minute
hour
day
month
day of week
command
cron.allow and cron.deny similar to at.allow and at.deny
-------------------------------------------------------------------
(41), mt command
mt -f tape-device-name command count
mt status ---- displays status information about the tape drive;
mt rewind ---- rewind the tape
mt offline ---- rewinds the tape and ,takes the drive offline
mt fsf count ---- moves the tape forward count records
------------------------------------------------------------------
(42), backing up an Unmounted File systems
ufsdump option argument filesystem_name
0-9 ---- back up level
v ------ verify
S ----- size estimate.
l ---- autoload
o ---- offline
u ---- update
n ---- notify
f device ---- specify.
N ---- incrmental backup
e.g. : ufsdump 0uf /dev/rmt/0 /export/home
-------------------------------------------------------------------
(43), restor a ufs file system
ufsrestore option argument filsystem
t ---- lists the table of contents of the backup media
r ---- restors the entire file system
x file1 file2 ---- restores only the files
i ---- invoke interactive restore
v ---- verbos mode
f device ---- specifies the tape device name
-------------------------------------------------------------
(44),fssnap command
-d ---- delete the snapshot associated with the geiven file system;
if the -o unlink option was used when you built the snapshot,the
backing-store file is deleted together with th snapshot.
-F FSType ---- specifies the file systme type to be used
-i ------ displays the state of the snapshot
-V ------ echoes the complete command line but does note execute
-o ------ enable you to use special_option
-----------------------------------------------------------------
备注:
从做boson来看以上内容是学习中需要掌控的
补充:
第一章的常用目录是必考内容,连同patchadd command error code 也是必考的,38个error code是需要记住的.



