04-05-2002
This would primarily be a Linux system.
Although I have some other Unix flavors that I would be looking at like, Solaris, HP-UX, & AIX.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I find out what type of processor, and speed, along with memory info such as RAM and storage. Also how do I scrollup on the shell? (2 Replies)
Discussion started by: AllyJones
2 Replies
2. Shell Programming and Scripting
hi
I am new to this forum. hope to get help from u all.
how can i write these by using shell programming?
1. The name of the machine and the date/time at which the report was produced.
2. Licensing information such as the operating system revision level and license restrictions in terms of... (1 Reply)
Discussion started by: nokia1100
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome!
... (1 Reply)
Discussion started by: feliks0
1 Replies
4. UNIX for Beginners Questions & Answers
There must be thousands of one-off solutions scattered around this forum. GNU Date is so handy because it's general but if they're asking they probably don't have it. We have some nice scripts but they tend to need dates formatted in a very particular way.
This is a rough approximation which... (18 Replies)
Discussion started by: Corona688
18 Replies
5. UNIX for Beginners Questions & Answers
I've been kicking this around for a while now, I might as well post it here.
v0.0.9, now properly supporting self-closing tags.
v0.0.8, an important quoting fix and a minor change which should handle special <? <!-- etc. tags without seizing up as often. Otherwise the code hasn't changed much.... (6 Replies)
Discussion started by: Corona688
6 Replies
LEARN ABOUT NETBSD
sysmon_taskq
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