---------- Post updated at 05:00 AM ---------- Previous update was at 04:58 AM ----------
You can differentiate the user logged in/logged out using the > or < from the diff command output. I am not sure if there is a utility already exists for this.
Dear Network Masters,
I want to know who brought up the concept of Email Alerts Feature.
are their any RFC's on Email Alerts????
Please let me know.
Thanks in Adv,
meti (1 Reply)
I want to be able to use an account on a solaris 10 server, eg root@myhost
to act as a relay to forward mail to my domain account me@mycompany.com
The reason for this is to configure root@myhost as a mail relay on Brocade SAN switches - so that when a port goes bad i get an email alert.... (0 Replies)
Hi Guys,
I hope this is an easy question: I need some kind of script or an idea how I can convince syslog to send an email to root or someone else once cpu usage exceeds 95% or the memory consumption (maybe via AVM value times 4k) exceeds 85% of my real memory on any of my 700 lpars. We're... (4 Replies)
hi
I am running so scripts that clean up empty folders on our servers once a week.
I run from a cron. But what i would like to do is add a email notfication so i can be notified that it completed.
The script is
#Clean Empty Folders on Studio Share
perl... (1 Reply)
Hi,
I have written below disk space monitoring script to monitor disk space every minute. I have scheduled this script through cron. But now my problem is this script alerts the users continuously until the space is freed up. These emails are filling up the inbox exponentially until the space... (3 Replies)
Hi
I'm new to this forum and I was hoping you can help me with this strange activity.
I have a Sol10 sun4u sparc SunFireV250 machine. Currently running ALOM 1.6.8 firmware.
The following error was experienced on this machine:
"Input power unavailable for PSU @ PS0"
Reading the documention... (0 Replies)
Hi,
We have a requirement to do passwordless entry from one user to a different user on the same AIX server using ssh keys.
Can some one help me with this?
Thanks in advance,
Panditt (3 Replies)
Hi,
I want to suppress ssh login logs of a particular user to get logged in /var/adm/syslog/syslog.log
As am using a user to monitor a server over ssh in 5 miute interval..and that creating un-necessary logs in my syslog.log file .. Please help me if there any way I can suppress this logs only... (6 Replies)
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Hello,
I am trying to write a shell script, which will send email alerts to Admin/users when users password is going to expire in 15 days.
Can you please help me with the script.
thank you. (3 Replies)
Discussion started by: Kumar7997
3 Replies
LEARN ABOUT OPENDARWIN
cachefslog
cachefslog(1M) System Administration Commands cachefslog(1M)NAME
cachefslog - Cache File System logging
SYNOPSIS
cachefslog [-f logfile | -h] cachefs_mount_point
DESCRIPTION
The cachefslog command displays where CacheFS statistics are being logged. Optionally, it sets where CacheFS statistics are being logged,
or it halts logging for a cache specified by cachefs_mount_point. The cachefs_mount_point argument is a mount point of a cache file system.
All file systems cached under the same cache as cachefs_mount_point will be logged.
OPTIONS
The following options are supported. You must be super-user to use the -f and -h options.
-f logfile Specify the log file to be used.
-h Halt logging.
OPERANDS
cachefs_mount_point A mount point of a cache file system.
USAGE
See largefile(5) for the description of the behavior of cachefslog when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
EXAMPLES
Example 1: Checking the Logging of a directory.
The example below checks if the directory /home/sam is being logged:
example% cachefslog /home/sam
not logged: /home/sam
Example 2: Changing the logfile.
The example below changes the logfile of /home/sam to /var/tmp/samlog:
example# cachefslog -f /var/tmp/samlog /home/sam
/var/tmp/samlog: /home/sam
Example 3: Verifying the change of a logfile.
The example below verifies the change of the previous example:
example% cachefslog /home/sam
/var/tmp/samlog: /home/sam
Example 4: Halting the logging of a directory.
The example below halts logging for the /home/sam directory:
example# cachefslog -h /home/sam
not logged: /home/sam
EXIT STATUS
The following exit values are returned:
0 success
non-zero an error has occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO cachefsstat(1M), cachefswssize(1M), cfsadmin(1M), attributes(5), largefile(5)DIAGNOSTICS
Invalid path It is illegal to specify a path within a cache file system.
SunOS 5.10 7 Feb 1997 cachefslog(1M)