08-10-2012
I posted in another thread about this, but no harm mentioning here.
Rootsh on sourceforge will sort you out.
Logs everything to syslog (NB if you choose to log output as well as input and someone cats [or similar] a massive file, the output logs to syslog which can be significant overhead)
10 More Discussions You Might Find Interesting
1. AIX
I need to install AIX 5.3 on an RS/6000 Server. When i boot from an AIX 5.3 CD i get an option to upgrade to 5.3 from 5.2(existing OS). Is there a way by which i can force AIX to perform a new install with creating new partitions.
I am looking for the analogue of 'Format' command in AIX that... (2 Replies)
Discussion started by: bestoption
2 Replies
2. UNIX for Dummies Questions & Answers
I am executing a find command in my script i.e
find $2 -type f -name '*.gif' -mtime +$1 -exec rm {} \;
how do i check that this command is executed properly.. i would lke t trap the errror and display my error message
kinly help.. this is an urgent issue. (1 Reply)
Discussion started by: vijay.amirthraj
1 Replies
3. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
4. AIX
Hello everybody,
plz tell me the command for chaging the date paramater in IBM AIX.. (3 Replies)
Discussion started by: oracle_rajesh_k
3 Replies
5. UNIX for Dummies Questions & Answers
Anyone of you , Could you pls give me the command on
HP Tru64 and IBM -AIX for below ?
1) How to find number of CPU & Number of core
2) Free RAM
3) How to get previously executed commands from history
4) Which process consumes more cpu resource? ( Similar to TOP in Linux/Solaris) (1 Reply)
Discussion started by: johnveslin
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
7. AIX
Hi,
I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware?
Thanks & Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
8. Shell Programming and Scripting
Hi,
I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment.
Can you please help me out by give the script.
Thanks in advance... (7 Replies)
Discussion started by: victory
7 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I like to output every command executed in the script to a file.
I have tried set -x which does the same.
But it is not giving the logs of the child script which is being called from my script.
Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
Please help me with the below question.
SunOS 5.10
Shell: -bash
I am trying to find the original user who executed a command on my development server.
In my dev server users login using their personal id and sudo to a common id using 'sudo -u commonid -i'. Once logged in as... (6 Replies)
Discussion started by: sam99
6 Replies
LEARN ABOUT REDHAT
initlog
initlog(8) System Manager's Manual initlog(8)
NAME
initlog - log messages and events to the system logger
SYNOPSIS
initlog [-cefnpqrs] [--cmd=ARG] [--event=ARG] [--facility=ARG] [--name=ARG] [--priority=ARG] [--run=ARG] [--string=ARG]
DESCRIPTION
initlog logs messages and events to the system logger. It is mainly designed for use in init scripts. initlog reads a configuration file
/etc/initlog.conf by default, to determine its settings. Any line preceded with a # is a comment, and the following configuration direc-
tives are recognized:
facility <logging facility>
Sets the default logging facility
priority <logging priority>
Sets the default logging priority
ignore <regexp>
Messages that match the regular expression will not be logged.
initlog behavior can also be configured by command-line options.
OPTIONS
-c, --cmd=[program]
Execute the specified program, logging anything output to stdout or stderr.
-e, --event=[number]
Logs that the specified event happened. Used in conjuction with --name. Currently specified events are:
1 the action completed successfully
2 the action failed
3 the action was cancelled at user request
4 the action failed due to the failure of a dependent action
-f, --facility=[facility]
Log at the specified syslog facility. The default is daemon (see syslog(3)).
-n, --name=[string]
Log the event under the specified string, such as "inetd".
-p, --priority=[priority]
Log at the specified syslog priority. The default is notice (see syslog(3)).
-q Do not print the program's output, unless it exits with a non-zero exit code.
-r, --run=[program]
Execute the specified program, with an open file descriptor so that the program can pass back commands to initlog.
-s, --string=[string]
Log the specified string to the logger.
--conf=[file]
Specifies an alternate configuration file.
FILES
/etc/initlog.conf
SEE ALSO
syslog(3), logger(1)
Sun Jan 24 1999 initlog(8)