01-16-2014
Please define sysmon with more detail. Are you referring to the open source sysmon package.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am wanting to enable logging of all ftp sessions on my Solaris 8 host. I want to at least log all ftp logins and if possible any commands that the user executes.
I have tried various settings in syslog.conf then rereading syslogd but logging still does not happen.
I have... (1 Reply)
Discussion started by: blp001
1 Replies
2. OS X (Apple)
Dear all,
I am an inexperienced man with Macitosh and green in Apple OS X . I had tried very hard to use Unix, in fact the Terminal, with its Email function.
I read some books and came to know that it has Mail, mailx or mail functions that we can use for simple mail. I have try every... (3 Replies)
Discussion started by: Larry LAM
3 Replies
3. UNIX Desktop Questions & Answers
I'm a beginner in Unix. Please explain in short, how to send and receive mail in unix. The mail is already configured in the OS.
Tell me the steps to send/receive mail in the command prompt.
The platform is AIX 5.1.
Thanks
Karthik (1 Reply)
Discussion started by: fermisoft
1 Replies
4. UNIX for Dummies Questions & Answers
Hello
I have a SunBlade 1000 workstation and I cannot login via CDE. All I get is a console login prompt. I then have to login via root and I just get the command line interface.
I have being doing some research on the UNIX forum and the problem may lie with the content in etc/hosts file.... (7 Replies)
Discussion started by: tjwops
7 Replies
5. Shell Programming and Scripting
I have over 10m documents that I want to search through against a list of know keywords, however the documents were produced using a technique that isn't perfect in how the data was presented.
Is there a fuzzy keyword search available in Linux or can anyone think of a way of doing it that isn't... (5 Replies)
Discussion started by: Bashingaway
5 Replies
6. Shell Programming and Scripting
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)
Discussion started by: svajhala
3 Replies
7. AIX
Hi all,
I'm trying to set up a chroot sftp using OpenSSH.
But I'm still having problems.
I'm using AIX 5.3
My system and OpenSSH version as follows
host1:/>oslevel
5.3.0.0
host1:/>oslevel -r
5300-10
host1:/>ssh -V
OpenSSH_5.0p1, OpenSSL 0.9.8h 28 May 2008
host1:/>lslpp -l | grep open... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies
8. Shell Programming and Scripting
Hello All,
I was wondering how I can assign a here document facility to a variable. I have tried the following:
menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)
...but when I echo the $menu variable, the multiline list comes out in a single line such as:
Option1 Option2 Option3... (14 Replies)
Discussion started by: techieg
14 Replies
9. AIX
Hello AIXians :)
I want to complete this task using a script.
The task is:
We have a file called (alerts.log), this file is receiving all new alerts from ORACLE application all the day, I want to send email to a specific mail address when this file receives all alerts that starts with... (5 Replies)
Discussion started by: Mohannad
5 Replies
10. UNIX for Dummies Questions & Answers
Good Day
Kindly assist:
I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script.
Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies
LEARN ABOUT NETBSD
sysmon_task_queue_preinit
SYSMON_TASKQ(9) BSD Kernel Developer's Manual SYSMON_TASKQ(9)
NAME
sysmon_taskq -- general purpose system monitoring task queue
SYNOPSIS
#include <dev/sysmon/sysmon_taskq.h>
void
sysmon_task_queue_preinit(void);
void
sysmon_task_queue_init(void);
void
sysmon_task_queue_fini(void);
int
sysmon_task_queue_sched(u_int pri, void (*func)(void *), void *arg);
DESCRIPTION
The machine-independent sysmon_taskq provides a simple general purpose task queue. It can be used to run callbacks that require thread con-
text, but do not warrant the use of a more fine-grained solution.
Although the intended usage is related to the context of system monitoring and power management, also other comparable functions are suitable
for sysmon_taskq.
FUNCTIONS
The necessary internal data structures are initialized during system startup by sysmon_task_queue_preinit(). Before actual usage, a machine-
dependent procedure should finish the initialization by calling sysmon_task_queue_init(). This will create a kernel thread that can be later
halted by sysmon_task_queue_fini(). All scheduled tasks are executed before the queue is halted.
The sysmon_task_queue_sched() enqueues func to be executed at the priority pri. If pri is 0, the scheduled function will be placed as the
last element in the queue. The single argument passed to func is specified by arg.
RETURN VALUES
Upon successful completion, sysmon_task_queue_sched() returns 0. Otherwise, the following error values are returned:
[EINVAL] An invalid parameter was specified.
[ENOMEM] There was not enough memory.
SEE ALSO
queue(3), kthread(9), workqueue(9)
AUTHORS
Jason R. Thorpe <thorpej@NetBSD.org>
BSD
January 24, 2010 BSD