I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible?
Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Hello
I want to limit the size of a directory;
so a user cant copy more staff inside it then 5 Giga for example..
eg. /nfs/temp/jhon size can not increase more that 5Gb
I havnt found anything on the net. Is there a way to do it? (2 Replies)
Hi
i configured log rotate for a specific file.
/var/log/sauer
i configured create a file in logrotate.d
# cat /etc/logrotate.d/sauer
#this is a logrotate configuration file for msu_ng logs
/var/log/sauer {
rotate 5
size=1M
daily
compress
... (5 Replies)
Hi All,
I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell.
My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
I came across and unexpected behavior with redirections in tcsh. I know, csh is not best for redirections, but I'd like to understand what is happening here.
I have following script (called out_to_streams.csh):
#!/bin/tcsh -f
echo Redirected to STDOUT > /dev/stdout
echo Redirected to... (2 Replies)
Discussion started by: marcink
2 Replies
LEARN ABOUT DEBIAN
strip_stx
strip_stx(1) General Commands Manual strip_stx(1)NAME
strip_stx - a simple literate programming tool
SYNOPSIS
strip_stx [ -c commentchars ] [ -B open close ] [ file file ... ]
DESCRIPTION
strip_stx takes all structured text (Stx) markup away from the listed files, leaving only text in preformatted blocks. If no files are
listed, standard input is read instead. The result is written to standard output.
This is intended as a simple literate programming tool: programmers may write their programs as documents, processing them with stx2any for
documentation and publication but with strip_stx for compilation / running the code.
More information about Stx is on the manpage of stx2any.
OPTIONS -c commentchars
comment out the non-code portions (text outside preformatted blocks) with the given commentchars at the beginning of every line.
If this option (or the next one) is not given, non-code portions are simply deleted.
-B open close
surround the non-code portions with (comment-)opening and closing markers open and close respectively. This option can be used
together with the -c option.
--version, -V
Just show version information and exit.
--help, -?
Just show a short help message and exit.
EXAMPLES
strip_stx parse.py.stx > parse.py
Strip documentation away from the source file parse.py.stx, supposedly only leaving python code there.
strip_stx -B '/*' ' */' -c ' * ' my.c.stx > my.c
Make a literate C code document into proper C source file, leaving the documentation in neatly-formatted comments.
strip_stx -B 'cat < < EOT' 'EOT' embshell.stx > embshell.sh
Turn the document embshell.stx into an "embedded shell" script, where all non-program portions are printed to the standard output when exe-
cution reaches them. This is akin to PHP or eperl; but strip_stx is not really meant for this. There are other options for making embed-
ded scripts, such as defining your own markup for the code portions or handling the program logic with m4 within stx2any.
SEE ALSO
stx2any (1)
AUTHOR
This page is written by Panu A. Kalliokoski.
Panu A. Kalliokoskistrip_stx(1)