diff options
Diffstat (limited to 'usr/src/man/man1')
| -rw-r--r-- | usr/src/man/man1/crontab.1 | 27 | ||||
| -rw-r--r-- | usr/src/man/man1/date.1 | 6 | ||||
| -rw-r--r-- | usr/src/man/man1/ld.1 | 2 | ||||
| -rw-r--r-- | usr/src/man/man1/ps.1 | 6 | ||||
| -rw-r--r-- | usr/src/man/man1/sed.1 | 24 | ||||
| -rw-r--r-- | usr/src/man/man1/tail.1 | 27 | ||||
| -rw-r--r-- | usr/src/man/man1/tar.1 | 6 |
7 files changed, 78 insertions, 20 deletions
diff --git a/usr/src/man/man1/crontab.1 b/usr/src/man/man1/crontab.1 index c93255f406..aae9ad44f1 100644 --- a/usr/src/man/man1/crontab.1 +++ b/usr/src/man/man1/crontab.1 @@ -1,6 +1,7 @@ '\" te .\" Copyright 1989 AT&T .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved +.\" Copyright (c) 2011, Joyent, Inc. All Rights Reserved .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text @@ -86,6 +87,15 @@ users' crontabs. .LP If \fBcrontab\fR is invoked with \fIfilename\fR, this overwrites an existing \fBcrontab\fR entry for the user that invokes it. +.sp +.LP +Cron supports a merged crontab with entries coming from either the user's +\fB/var/spool/cron/crontabs\fR file or from the user's +\fB/etc/cron.d/crontabs\fR file. The entries in the user's +\fB/var/spool/cron/crontabs\fR file are meant to be editable whereas those in +\fB/etc/cron.d/crontabs\fR are meant as system-defined entries which are not +intended to be customized by the user. The dual set of crontab entries is only +of interest to system-defined users such as \fBroot\fR. .SS "\fBcrontab\fR Access Control" .sp .LP @@ -343,6 +353,9 @@ file using the \fB-r\fR option. If \fIusername\fR is specified, the specified user's \fBcrontab\fR file is edited, rather than the current user's \fBcrontab\fR file. This can only be done by root or by a user with the \fBsolaris.jobs.admin\fR authorization. +.sp +Only the entries in the user's \fB/var/spool/cron/crontabs\fR file are +editable. .RE .sp @@ -354,6 +367,9 @@ done by root or by a user with the \fBsolaris.jobs.admin\fR authorization. Lists the \fBcrontab\fR file for the invoking user. Only root or a user with the \fBsolaris.jobs.admin\fR authorization can specify a username following the \fB-l\fR option to list the \fBcrontab\fR file of the specified user. +.sp +Entries from both the user's \fB/var/spool/cron/crontabs\fR file and thhe user's +\fB/etc/cron.d/crontabs\fR file will be merged in the output. .RE .sp @@ -583,6 +599,17 @@ list of denied users .sp .ne 2 .na +\fB\fB/etc/cron.d/crontabs\fR\fR +.ad +.RS 28n +.rt +system spool area for \fBcrontab\fR +.RE + +.sp +.ne 2 +.mk +.na \fB\fB/var/cron/log\fR\fR .ad .RS 28n diff --git a/usr/src/man/man1/date.1 b/usr/src/man/man1/date.1 index 08c3b0b878..b996174472 100644 --- a/usr/src/man/man1/date.1 +++ b/usr/src/man/man1/date.1 @@ -155,6 +155,12 @@ Century (a year divided by 100 and truncated to an integer) as a decimal number [00-99]. .RE +In addition, the nonstandard conversion specification \fB%N\fR is also +supported, and is converted to the zero-padded number of nanoseconds since the +last second. Note that the actual resolution of this number is limited to the +resolution of the system's \fBCLOCK_REALTIME\fR clock. See +\fBclock_gettime\fR(3C). + The string is always terminated with a NEWLINE. An argument containing blanks must be quoted; see the EXAMPLES section. .RE diff --git a/usr/src/man/man1/ld.1 b/usr/src/man/man1/ld.1 index 634f16e0d1..be9394d829 100644 --- a/usr/src/man/man1/ld.1 +++ b/usr/src/man/man1/ld.1 @@ -24,7 +24,7 @@ ld \- link-editor for object files [\fB-z\fR combreloc | nocombreloc ] [\fB-z\fR defs | nodefs] [\fB-z\fR direct | nodirect] [\fB-z\fR endfiltee] [\fB-z\fR fatal-warnings | nofatal-warnings ] [\fB-z\fR finiarray=\fIfunction\fR] -[\fB-z\fR globalaudit] [\fB-z\fR groupperm | nogroupperm] +[\fB-z\fR globalaudit] [\fB-z\fR groupperm | nogroupperm] [\fB-z\fR help ] [\fB-z\fR guidance[=\fIid1\fR,\fIid2\fR...] [\fB-z\fR help ] [\fB-z\fR ignore | record] [\fB-z\fR initarray=\fIfunction\fR] [\fB-z\fR initfirst] [\fB-z\fR interpose] [\fB-z\fR lazyload | nolazyload] diff --git a/usr/src/man/man1/ps.1 b/usr/src/man/man1/ps.1 index 8e97b196c2..674e326e29 100644 --- a/usr/src/man/man1/ps.1 +++ b/usr/src/man/man1/ps.1 @@ -37,6 +37,9 @@ displayed is controlled by the options. Some options accept lists as arguments. Items in a list can be either separated by commas or else enclosed in quotes and separated by commas or spaces. Values for \fIproclist\fR and \fIgrplist\fR must be numeric. +.sp +.LP +The \fBps\fR command also accepts BSD-style options. See \fBps\fR(1b). .SH OPTIONS .sp .LP @@ -1295,7 +1298,8 @@ Standard See \fBstandards\fR(5). .sp .LP \fBkill\fR(1), \fBlgrpinfo\fR(1), \fBnice\fR(1), \fBpagesize\fR(1), -\fBpmap\fR(1), \fBpriocntl\fR(1), \fBwho\fR(1), \fBgetty\fR(1M), \fBproc\fR(4), +\fBpmap\fR(1), \fBpriocntl\fR(1), \fBps\fR(1b), \fBwho\fR(1), \fBgetty\fR(1M), +\fBproc\fR(4), \fBttysrch\fR(4), \fBattributes\fR(5), \fBenviron\fR(5), \fBresource_controls\fR(5), \fBstandards\fR(5), \fBzones\fR(5) .SH NOTES diff --git a/usr/src/man/man1/sed.1 b/usr/src/man/man1/sed.1 index ded1c15fa3..9ec2b67dd9 100644 --- a/usr/src/man/man1/sed.1 +++ b/usr/src/man/man1/sed.1 @@ -1,8 +1,6 @@ .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. .\" -.\" Copyright 2011 Nexenta Systems, Inc. All rights reserved. -.\" .\" This code is derived from software contributed to Berkeley by .\" the Institute of Electrical and Electronics Engineers, Inc. .\" @@ -30,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.TH SED 1 "Nov 2, 2011" +.TH SED 1 "May 24, 2009" .SH NAME \fBsed\fP \- stream editor @@ -45,7 +43,8 @@ [\fB\-Ealnr\fP] [\fB\-e\fP \fIcommand\fP] [\fB\-f\fP \fIcommand_file\fP] -[\fB\-I\fP[\fIextension\fP] | \fB\-i\fP[\fIextension\fP]] +[\fB\-I\fP \fIextension\fP] +[\fB\-i\fP \fIextension\fP] [\fIfile ...\fP] .SH DESCRIPTION The @@ -98,11 +97,16 @@ Append the editing commands found in the file to the list of commands. The editing commands should each be listed on a separate line. .TP -\fB\-I\fP[\fIextension\fP] -Edit files in-place, saving backups if \fIextension\fP was specified. -It is not recommended to omit saving backups when in-place editing files, -as you risk corruption or partial content in situations where disk -space is exhausted, etc. +\fB\-I\fP \fIextension\fP +Edit files in-place, saving backups with the specified +\fIextension\fP. +If a zero-length +\fIextension\fP +is given, no backup will be saved. +It is not recommended to give a zero-length +\fIextension\fP +when in-place editing files, as you risk corruption or partial content +in situations where disk space is exhausted, etc. Note that in-place editing with \fB\-I\fP @@ -120,7 +124,7 @@ where using \fB\-i\fP is desired. .TP -\fB\-i\fP[\fIextension\fP] +\fB\-i\fP \fIextension\fP Edit files in-place similarly to \fB\-I\fP, but treat each file independently from other files. diff --git a/usr/src/man/man1/tail.1 b/usr/src/man/man1/tail.1 index aca819269e..b96e6400dd 100644 --- a/usr/src/man/man1/tail.1 +++ b/usr/src/man/man1/tail.1 @@ -23,12 +23,12 @@ tail \- deliver the last part of a file .LP .nf -\fB/usr/bin/tail\fR [\(+- \fInumber\fR [lbcf]] [\fIfile\fR] +\fB/usr/bin/tail\fR [\(+- \fInumber\fR [lbcfF]] [\fIfile\fR] .fi .LP .nf -\fB/usr/bin/tail\fR [\fB-lbcf\fR] [\fIfile\fR] +\fB/usr/bin/tail\fR [\fB-lbcfF\fR] [\fIfile\fR] .fi .LP @@ -92,11 +92,24 @@ Units of bytes. \fB\fB-f\fR \fR .ad .RS 7n -Follow. If the input-file is not a pipe, the program does not terminate after -the line of the input-file has been copied, but enters an endless loop, wherein -it sleeps for a second and then attempts to read and copy further records from -the input-file. Thus it can be used to monitor the growth of a file that is -being written by some other process. +Follow. If the input-file is not a pipe, \fBtail\fR does not terminate after +the last line of the input-file has been copied, but enters an endless loop, +wherein it watches the file for modifications and attempts to read and copy +further records from the input-file. Thus it can be used to monitor the growth +of a file that is being written by some other process. If the watched file is +truncated \fBtail\fR will begin reading records from the start of the file. +.RE + +.sp +.ne 2 +.na +\fB\fB-F\fR \fR +.ad +.RS 7n +Follow named file. Operates as with \fB-f\fR, except that if the file is moved +(e.g. if a watched log file is rotated) \fBtail\fR will close the original file +and begin reading records from the start of the file with the specified name +if and when that file is recreated. .RE .sp diff --git a/usr/src/man/man1/tar.1 b/usr/src/man/man1/tar.1 index fd21f6c53c..0641851b2f 100644 --- a/usr/src/man/man1/tar.1 +++ b/usr/src/man/man1/tar.1 @@ -43,7 +43,7 @@ tar \- create tape archives and add or extract files .LP .nf \fBtar\fR x[BeFhilmnopqTvw@/[0-7]][fk][X...][j|J|z|Z] [\fItarfile\fR] [\fIsize\fR] - [\fIexclude-file\fR]... [\fIfile\fR]... + [\fIexclude-file\fR]... [\(miC \fIdirectory\fR] [\fIfile\fR]... .fi .SH DESCRIPTION @@ -81,6 +81,10 @@ performs the \fBc\fR (create) or \fBr\fR (replace) operation on \fIfile\fR. Use short relative path names for \fIfile\fR. If \fIfile\fR is "\fB\&.\fR", archive all files in \fIdirectory\fR. This operand enables archiving files from multiple directories not related by a close common parent. +.sp +This option may also be passed once to \fBx\fR (extract). In this case the +program will \fBchdir\fR to \fIdirectory\fR after opening the archive, but +before extracting its contents. .RE .sp |
