02-07-2011
I hope I'm not the only one that is going to say this but WHAT? Could you give examples of what you are wanting to do? Do you have any code to share that we could help you with? I don't know if it's just me but your request seems convoluted and extremely unclear. Please give examples.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,guys:
recently,i am puzzled by a question .when i create a new file named by /etc/logrotate.d/debug. The cont. is listed as follow:
/var/log/debug {
rotate 3
missingok
notifempty
size=2k
prerotate
/bin/kill -HUP `cat... (0 Replies)
Discussion started by: icehero
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a file A.txt (tab separated) as below:
pavan chennai/tes/bangalore 100
sunil mangalore/abc/mumbai 230
kumar delhi/nba/andhra 310
I want to change only second column as below . Rest of columns as it is ;The ouput file is also tab... (4 Replies)
Discussion started by: kpavan2004
4 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: modcan
5 Replies
4. Ubuntu
Hi, i have a logroate script that works properly when running manually but otherwise it won't work.I put in in /etc/logrotate.d/nginx. I simply cannot understand why it won't run properly when run with a cronjob. It suppose to run hourly and rotate logs if they are > 3mb. What am i missing here ?:... (1 Reply)
Discussion started by: ktm
1 Replies
5. UNIX for Advanced & Expert Users
Hi there,
I want to rotate the logfiles which are located in /var/log/jboss/tomcat*
so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content.
# cat /etc/logrotate.d/tomcat
/var/log/jboss/tomcat_access_log*.log {
daily
nocreate
... (2 Replies)
Discussion started by: skmdu
2 Replies
6. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
7. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
8. Shell Programming and Scripting
We have a configuration file in Unix. In that we have entries like below. if it ends with ":", then it is the end of record. We need to find our if there is any duplicate entries like ABCD irrespective of the case.
ABCD:\
:conn.retry.stwait=00.00.30:\
:sess.pnode.max=255:\
... (9 Replies)
Discussion started by: johnjs
9 Replies
9. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
10. Shell Programming and Scripting
Hi All,
How to search for a string in all the files irrespective of directory.
If I use grep -i 'hello' *.*
It will search for the string hello in the files of current directory.
But I want to check for the string hello in the files of all the directories.
Thanks (4 Replies)
Discussion started by: ROCK_PLSQL
4 Replies
LEARN ABOUT DEBIAN
buildslave
BUILDSLAVE(1) User Commands BUILDSLAVE(1)
NAME
buildslave - a tool for managing buildbot slave instances
SYNOPSIS
buildslave [ global options ] command [ command options ]
buildslave create-slave [ -q|--quiet ] [ -f|--force ] [ -r|--relocatable ] [ -n|--no-logrotate ] [ -k|--keepalive TIME ] [ --usepty {0|1} ]
[ --umask UMASK ] [ -s|--log-size SIZE ] [ -l|--log-count COUNT ] [ --verbose ] PATH MASTER USERNAME PASSWORD
buildslave [ --verbose ] { start|stop|restart } [ PATH ]
buildslave [ --verbose ] { --help|--version }
buildslave command -h|--help
DESCRIPTION
The `buildslave' command-line tool can be used to start or stop a buildslave or create a new buildslave instance.
OPTIONS
Commands
create-slave
Create and populate a directory for a new buildslave
start Start a buildslave
stop Stop a buildslave
restart
Restart a buildslave
Global options
-h|--help
Print the list of available commands and global options. All subsequent commands are ignored.
--version
Print twistd and buildslave version. All subsequent commands are ignored.
--verbose
Verbose output.
create-slave command options
-f|--force
Re-use an existing directory.
-h|--help
Show help for current command and exit. All subsequent commands are ignored.
-k|--keepalive
Send keepalive requests to buildmaster every TIME seconds. Default value is 600 seconds.
-l|--log-count
Limit the number of kept old twisted log files to COUNT. All files are kept by default.
-q|--quiet
Do not emit the commands being run.
-r|--relocatable
Create a relocatable buildbot.tac.
-n|--no-logrotate
Do not permit buildslave rotate logs by itself.
-s|--log-size
Set size at which twisted lof file is rotated to SIZE bytes. Default value is 1000000 bytes.
--umask
Set umask for files created by buildslave. Default value is 077 which means only owner can access the files. See umask(2) for more
details.
--usepty
Set wether child processes should be run in a pty (0 means do not run in a pty). Default value is 0.
PATH Path to buildslave base directory.
MASTER Set the host and port of buildbot master to attach to in form HOST:PORT. This should be provided by buildmaster administrator.
USERNAME
Buildslave name to connect with. This should be provided by buildmaster administrator.
PASSWORD
Buildslave password to connect with. This should be provided by buildmaster administrator.
SEE ALSO
buildbot(1), umask(2),
The complete documentation is available in texinfo format. To use it, run info buildbot.
Buildbot August 2010 BUILDSLAVE(1)