Section: WIN SYSTEM (1W)
Return to Main Contents
wdiskts, wdisktsd - Write of win format data with "written time" in disk file
Wdiskts writes win format data with "written time" written in the shared memory segment of a key
in a directory
of disk as a win format file. Since it reads from the shared memory in memory for each 1 second, it is necessary that the size of shared memory of read side is one that does not allow overwrite for 1 second.
When value in minute is changed, it immediately writes in disk, and it aligns packets in order of time during write. In wdiskts, files are put together in files having a name of 'YYMMDDhh.mm' format for each 1 minute. System time is used as a file name. Therefore, when the system time jumps for 1 minute or more, file names may be discontinuous or written file may be overwritten.
The maximum number of files to be saved. Files of which latest number of files is
are always saved, and files older than those are deleted.
is not specified, or when '0' is specified, files are not automatically deleted.
Wdisktsd is initiated in daemon mode.
When a log file name
is specified, operation log is set here, and when not specified, log information is sent to the standard output (however, it is sent to syslogd(8) when operation is made in the daemon mode).
Log file is opened/closed in each write.
When wdiskts is initiated without argument, brief usage is displayed.
FORMAT ON SHARED MEMORY
Refer to recvt(1W).
does not support format written by option.
Wdiskts creates the following text file in an output directory
and shows operation status depending on each content.
|BUSY||File name currently being written|
|COUNT||The current number of files |
|LATEST||The latest files of which write is completed|
|MAX||The number of files to be saved|
|OLDEST The oldest file name|
When MAX is rewritten in operation of wdiskts, then "the number of files to be saved" changes to a new value.
- FORMAT ON SHARED MEMORY
- SEE ALSO
This document was created by
using the manual pages.
Time: 00:22:59 GMT, September 20, 2017