Sponsored Content
Operating Systems Linux Red Hat Want to Monitor the Pidgin Logs Post 302760727 by Adhi on Thursday 24th of January 2013 01:33:00 PM
Old 01-24-2013
Want to Monitor the Pidgin Logs

Hi Team,
Am the Root user I want to monitor the user's chat actions. So How do I check the Remote system users Pidgin Chat logs history. And where the logs will be stored exactly?? Give me a solution!!
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

2. Shell Programming and Scripting

monitor new logs

I would like to monitor logfile for specific keyword and send email once detected. I'm trying out the code here, the script is scheduled to run every minute. Everytime it runs, the same log will be detected and send email. Anyway it can be improved to detect only new logs? tail -f /logfile |... (2 Replies)
Discussion started by: gklntn
2 Replies

3. UNIX for Dummies Questions & Answers

Software to monitor the logs dynamically

Hi Folks, I have to monitor the logs for exceptions and the logs will be dynamic and will keep updating now one way is to use the command on putty that is tail -f but could you please advise any software in which I can dynamically monitor the logs and if an exception come it highlights thos... (4 Replies)
Discussion started by: tuntun27272727
4 Replies

4. Shell Programming and Scripting

Monitor logs for exception and if exception come then sent an email

Hi Folks, please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies

5. Shell Programming and Scripting

[Help] Script to monitor logs

Hello friends, as they are? First of all sorry for my poor English. I tell them what is my problem. I have the following script, which is basically what makes error search for a pattern within a folder containing logs. The script works fine, the problem is that whenever I find a pattern of new... (2 Replies)
Discussion started by: romanrsr
2 Replies

6. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies

7. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
SD_LOGIN_MONITOR_NEW(3) 				       sd_login_monitor_new					   SD_LOGIN_MONITOR_NEW(3)

NAME
sd_login_monitor_new, sd_login_monitor_unref, sd_login_monitor_flush, sd_login_monitor_get_fd - Monitor login sessions, seats and users SYNOPSIS
#include <systemd/sd-login.h> int sd_login_monitor_new(const char* category, sd_login_monitor** ret); sd_login_monitor* sd_login_monitor_unref(sd_login_monitor* m); int sd_login_monitor_flush(sd_login_monitor* m); int sd_login_monitor_get_fd(sd_login_monitor* m); DESCRIPTION
sd_login_monitor_new() may be used to monitor login session, users and seats. Via a monitor object a file descriptor can be integrated into an application defined event loop which is woken up each time a user logs in, logs out or a seat is added or removed, or a session, user, or seat changes state otherwise. The first parameter takes a string which can be either seat (to get only notifications about seats being added, removed or changed), session (to get only notifications about sessions being created or removed or changed) or uid (to get only notifications when a user changes state in respect to logins). If notifications shall be generated in all these conditions, NULL may be passed. Note that in future additional categories may be defined. The second parameter returns a monitor object and needs to be freed with the sd_login_monitor_unref() call after use. sd_login_monitor_unref() may be used to destroy a monitor object. Note that this will invalidate any file descriptor returned by sd_login_monitor_get_fd(). sd_login_monitor_flush() may be used to reset the wakeup state of the monitor object. Whenever an event causes the monitor to wake up the event loop via the file descriptor this function needs to be called to reset the wake-up state. If this call is not invoked the file descriptor will immediately wake up the event loop again. sd_login_monitor_get_fd() may be used to retrieve the file descriptor of the monitor object that may be integrated in an application defined event loop, based around poll(2) or a similar interface. The application should include the returned file descriptor as wake up source for POLLIN events. Whenever a wake-up is triggered the file descriptor needs to be reset via sd_login_monitor_flush(). An application needs to reread the login state with a function like sd_get_seats(3) or similar to determine what changed. RETURN VALUE
On success sd_login_monitor_new() and sd_login_monitor_flush() return 0 or a positive integer. On success sd_login_monitor_get_fd() returns a Unix file descriptor. On failure, these calls return a negative errno-style error code. sd_login_monitor_unref() always returns NULL. NOTES
The sd_login_monitor_new(), sd_login_monitor_unref(), sd_login_monitor_flush() and sd_login_monitor_get_fd() interfaces are available as shared library, which can be compiled and linked to with the libsystemd-login pkg-config(1) file. SEE ALSO
systemd(1), sd-login(7), sd_get_seats(3) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer systemd 10/07/2013 SD_LOGIN_MONITOR_NEW(3)
All times are GMT -4. The time now is 08:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy