Sponsored Content
Full Discussion: Interview question
Top Forums UNIX for Dummies Questions & Answers Interview question Post 302702689 by ramky79 on Tuesday 18th of September 2012 05:07:23 PM
Old 09-18-2012
Interview question

A process(apache/webservice) is continually writing a log(it is a single log, there are no several logs with different file names) onto a unix system.
the file system is filling up. How do you handle the situation.
Is there a way to handle this situation without killing the parent process.( killing the process is not an option)
and what is the best way to split the continually written log.
 

8 More Discussions You Might Find Interesting

1. Solaris

Interview Questions

hi everybody, my name is samir, i m from delhi,india. i m a student in solaris. just few days ago i had completed my course. can anybody tell me the possible interview questions in solaris. (1 Reply)
Discussion started by: samir_sinu
1 Replies

2. Shell Programming and Scripting

Shell script interview question...help required urgent!!!

hi i have cancelled my previous post (2 Replies)
Discussion started by: choco4202002
2 Replies

3. Programming

Interview question ...pls help!!

You have a compiled C binary which you can execute and run, but you suspect it may be hanging. You do not have the source. What can you do to gather information and/or clues about what the program is doing? Any help will be really appreciated!! (1 Reply)
Discussion started by: choco4202002
1 Replies

4. UNIX for Dummies Questions & Answers

Interview question....help

what distros have you selected in the past, for which applications, and why did you choose them? Would you make the same choices again, knowing what you know now? Any help will be really appreciated!! (2 Replies)
Discussion started by: choco4202002
2 Replies

5. Solaris

Interview questions

Hi guys, Interview Questions:- 1) There are 2 ways to create a slice in Solaris 1) we can create using format command but there say other than format 1more within sec. we can create a slice. 2) ? 2) How to create a temperory SWAP Space 3) How to check the Devices from the... (2 Replies)
Discussion started by: kurva
2 Replies

6. UNIX for Dummies Questions & Answers

UNIX/Linux interview question

Hi, I went for an interview this morning. The questions I was asked.... 1. On Redhat, you have downloaded a program called XYZ. You did all kinds update to this program. Now you are ready to move this to production. How would you do it? He already said he doesn't want to use "tar &... (2 Replies)
Discussion started by: samnyc
2 Replies

7. UNIX for Dummies Questions & Answers

Suggestions for the interview

Hi guys, i'm undergoing a traning in solaris administration and i request if any one have an idea on the interview questions on solaris. thank you. (3 Replies)
Discussion started by: 038karthik
3 Replies

8. Red Hat

Linux administrator interview question

pls any one tell all the interview question about linux administrator for L1 and L2... (3 Replies)
Discussion started by: deepansekaran
3 Replies
LOGGER(1)						      General Commands Manual							 LOGGER(1)

NAME
logger - make entries in the system log SYNOPSIS
logger [ -t tag ] [ -p pri ] [ -i ] [ -f file ] [ message ... ] ARGUMENTS
-t tag Mark every line in the log with the specified tag. -p pri Enter the message with the specified priority. The priority may be specified numerically or as a ``facility.level'' pair. For example, ``-p local3.info'' logs the message(s) as informational level in the local3 facility. The default is ``user.notice.'' -i Log the process id of the logger process with each line. -f file Log the specified file. message The message to log; if not specified, the -f file or standard input is logged. DESCRIPTION
Logger provides a program interface to the syslog(3) system log module. A message can be given on the command line, which is logged immediately, or a file is read and each line is logged. EXAMPLES
logger System rebooted logger -p local0.notice -t HOSTIDM -f /dev/idmc SEE ALSO
syslog(3), syslogd(8) 4.3 Berkeley Distribution September 17, 1985 LOGGER(1)
All times are GMT -4. The time now is 02:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy