Sponsored Content
Operating Systems Linux Gentoo Location log after process crontab Post 302079925 by srilinux on Thursday 13th of July 2006 11:00:56 PM
Old 07-14-2006
Location log after process crontab

Hi... I want to know directori location and file name (log) after
crontab has been running.. (linux disto gentoo and sun solaris)

Because for long time maybe contain this log file becomes large.

Thanks for your help.


regards,
srilinux
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

crontab location

Hi all, my problen is I designed a crontab with specific parameters & was running till yesterday. Suddenly it stoped working, I have a confusion that what should be the crontab file location in our file directory...or it doesn't matter that where ever this file is stored. What should I do now? ... (3 Replies)
Discussion started by: Vips
3 Replies

2. Shell Programming and Scripting

kill a process initiated by crontab

Hi, I scheduled one script through crontab command and seems like it is hanging. I come to know this through the command 'ps -ef' whcih is showing me the program running, but no chances of it to take more than 2hrs to comlpete. I want to kill that process. I tried to kill it using the... (6 Replies)
Discussion started by: DILEEP410
6 Replies

3. UNIX for Dummies Questions & Answers

crontab or looping script to Kill process from user

I am looking for a way to kill 2 processes from a user through some kind of script. Using an oracle script, I get two process ids that need to be killed. SQL> select ssn.process as client_process_id, pcs.spid as oracle_process_id, ssn.sid, ssn.serial# 2 from v$session ssn inner join... (5 Replies)
Discussion started by: Meert
5 Replies

4. UNIX for Advanced & Expert Users

Location of log file

This below one find the table name in the log.I want location of log file.Please any help > find / -type f -name "*.log" -exec grep -i 'sct' {} 2>/dev/null \; . . importing table "sct" . . exporting table sct . . importing table "sct" . . exporting table sct ... (1 Reply)
Discussion started by: mohan705
1 Replies

5. AIX

Location of smit.log

What is the location of smit.log (3 Replies)
Discussion started by: AIXlearner
3 Replies

6. Shell Programming and Scripting

find pid of process run in specific location

Hello, I have a process a.out that runs from /a and /b How can I get the pid of the one running from /a ps -C /a/a.out does not work Thanks! (4 Replies)
Discussion started by: JCR
4 Replies

7. AIX

Log Location

Hi, I would like to find out where the system will display the server was shutdown due to power fluctuation. I have check the command errpt and alog -o -t boot |more but not getting the requred information. alog -o -t boot command is not showing the time Time: 9 LEDS: 0x538 invoking... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

9. UNIX for Dummies Questions & Answers

Kill Duplicated Process by shell in crontab

Hi! I need your help, please. I'm in AIX node and sometimes listener process from an oracle instance gets duplicated, i mean that it get spawned a second listener process. As we can't apply changes to the databases on this months, i want to build a shell that can identify the second... (6 Replies)
Discussion started by: Pactows
6 Replies

10. Solaris

sysout from crontab process /usr/lib/sa/sa1

Hi I've found this crontab entry to run sa1 on sunOs box but I don't know where the result of this command is being stored. Is there a standard location for this? I assume the command is supposed to be storing the details somewhere.. Thanks (2 Replies)
Discussion started by: Grueben
2 Replies
TAILF(1)							   User Commands							  TAILF(1)

NAME
tailf - follow the growth of a log file SYNOPSIS
tailf [OPTION] file DESCRIPTION
tailf will print out the last 10 lines of a file and then wait for the file to grow. It is similar to tail -f but does not access the file when it is not growing. This has the side effect of not updating the access time for the file, so a filesystem flush does not occur peri- odically when no log activity is happening. tailf is extremely useful for monitoring log files on a laptop when logging is infrequent and the user desires that the hard disk spin down to conserve battery life. Mandatory arguments to long options are mandatory for short options too. -n, --lines=N, -N output the last N lines, instead of the last 10. -V, --version Output version information and exit. -h, --help Display help and exit. AUTHOR
This program was originally written by Rik Faith (faith@acm.org) and may be freely distributed under the terms of the X11/MIT License. There is ABSOLUTELY NO WARRANTY for this program. The latest inotify based implementation was written by Karel Zak (kzak@redhat.com). SEE ALSO
tail(1), less(1) AVAILABILITY
The tailf command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux February 2003 TAILF(1)
All times are GMT -4. The time now is 01:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy